Image to Base64
Convert an image to a Base64 data URI for HTML and CSS, or decode Base64 back to an image.
Private by design: your files are processed inside your browser and are never uploaded to our server.
About Image to Base64
Turn small images into Base64 data URIs to embed in HTML, CSS or email templates, or decode Base64 back into an image file.
How to use Image to Base64
- Step 1Select your file(s) or drag and drop them into the box.
- Step 2Choose the Image to Base64 settings you want.
- Step 3Click the button and download your result.
Questions & answers
When should I use Base64 images?
For tiny icons and email templates. Large images are better as normal files because Base64 is about 33% bigger.
Is Image to Base64 free?
Yes. Every tool on this site is free to use, with no signup, no watermark and no daily limit.
Are my files uploaded to a server?
No. Your files are processed inside your own browser on your device. They are never uploaded, so nobody else can see them.
Is there a file size limit?
There is no fixed limit. Because processing happens on your device, very large files depend on your phone or computer memory. Most files up to a few hundred MB work fine.
Does it work on mobile?
Yes. It works in Chrome, Safari, Edge and Firefox on Android, iPhone, Windows and Mac.