Image to Base64 Converter — Encode & Decode Data URIs

Convert any image to a Base64-encoded data URI string, or paste a Base64 string to decode it back into a viewable image. Handy for embedding images directly into HTML, CSS, or JSON.

Supports all common image formats. Copy the result to your clipboard or save the decoded image. No server involved — conversion happens entirely in your browser.

Frequently Asked Questions

Why would I convert an image to Base64?

To embed images directly in HTML, CSS, or JSON without hosting a separate file. Useful for small icons and email templates.

Can I convert Base64 back to an image?

Yes. Paste a Base64 data URI and download it as a regular image file.

Should I use this for large images?

No. Base64 increases size by ~33%. It's best for small images under 10 KB. For larger files, host them normally.