Image to Base64

Encode an image file as a Base64 data URL for CSS or HTML embeds.


Image file

Suggested Tools


About


Image to Base64 reads the file locally and outputs a data: URI you can paste into code.

Upload an image, run, and copy the Base64 string — useful for small icons and demos.

Please enable JavaScript.