Image to Base64 Converter Online
Convert images to Base64 strings or data URIs for embedding in HTML, CSS or JSON — and decode Base64 back to images. Runs fully offline in your browser.
Your files never leave your device
Frequently asked questions
What is a data URI?
A data URI embeds the whole file as text: data:image/png;base64,.... You can paste it directly into an <img> tag or CSS background.
Why is Base64 bigger than the original file?
Base64 encodes 3 bytes into 4 characters, so the output is about 33% larger. Use it only for small images.
Can I convert Base64 back to an image?
Yes — paste the Base64 string into the decode tab and download the restored file.