Image to Base64
ConvertConvert an image to a Base64 data URI for inline use in CSS, HTML, or JSON — and decode Base64 back into a downloadable image. Runs locally.
Runs entirely in your browser — nothing is uploaded
Frequently asked questions
What is a Base64 data URI used for?+
It lets you embed an image directly in HTML, CSS, or JSON without a separate file request — handy for small icons, email templates, and inline SVGs.
Can I decode Base64 back to an image?+
Yes. Switch to the Base64 → Image tab, paste a data URI, preview it, and download the decoded file.
Should I Base64-encode large images?+
Generally no — Base64 adds about 33% to the size and isn't cached separately. It's best for small, frequently-used graphics.