"The customizable the QR Codes & shortlinks are ideal for creating professional, branded links, Highly recommend!"
Dennis, Xtremeict
No credit card required
To include an image in a text document (HTML, CSS, JSON, XML), convert it to Base64 online. Use the resulting Base64 string as data URI, img src, CSS background-url, and more. This prevents binary characters from damaging the document's syntax. The encoder supports images up to 50 MB. For reverse conversion, check Base64 to Image.
If you do not know what output format you need, check the following examples to see how will look the result of the same Base64-encoded image formatted in each of the available formats (as an example image I use a one-pixel red dot GIF file):
Plain text: |
|
Data URI: |
|
CSS Background Image: |
|
HTML Favicon: |
|
HTML Hyperlink: |
|
HTML Image: |
|
HTML Iframe: |
|
JavaScript Image: |
|
JavaScript Popup: |
|
JSON: |
|
XML: |
|
Dive into a treasure trove of insights and inspiration through our latest blog posts, designed to keep you informed, engaged, and up-to-date.
Unlock powerful link management features and streamline your workflow