Image to Base64
Encode any image into a Base64 data URI for embedding in HTML, CSS or JSON. Includes raw Base64 output, ready to copy or download as a text file.
FAQ
What is a Base64 data URI?
It's a text representation of a file that can be embedded directly in HTML or CSS, e.g. <img src="data:image/png;base64,...">, removing the need for a separate image request.
What's the maximum image size?
Base64 inflates data by ~33%, so images up to a few hundred KB encode comfortably in any browser.
Is my image uploaded anywhere?
No — encoding happens entirely in your browser.