Image to Base64 Data URL
Encode an image as a data URL for embedding or save the encoded text locally.
Result preview
Choose a file to begin.
How to use
Choose an image up to 2 MB.
Inspect its generated data URL.
Copy the URL or save it as a text file.
FAQ
How do I use this tool?
Choose an image up to 2 MB. Inspect its generated data URL. Copy the URL or save it as a text file.
Is the source image recompressed?
No. The original file bytes are Base64-encoded for this tool. The MIME type is included in the data URL.
Does Base64 reduce file size?
No. Base64 usually adds about one third to the byte count before any transport compression. Large images are often better kept as separate files.
Are my inputs uploaded?
Tool inputs are processed in your browser. Advertising makes separate requests as described in the privacy policy.