CloudAlls Tools
Encoders & Decoders tool

Base64 Image Converter

Image to Base64 data URI, and Base64 back to an image.

✦ Browser-first
Drop an image here or click to choosePNG, JPEG, GIF, WebP, SVG or ICO. Nothing is uploaded.
Why it is useful

About this tool

Drop an image to get a Base64 data URI ready for HTML or CSS, or paste a Base64 string to preview and download the image.

Quick guide

How to use the Base64 Image Converter

  1. Drop in an image to get a Base64 data URI, or paste Base64 to preview it.
  2. Copy the data URI or CSS snippet.
  3. Download the decoded image if needed.

Common uses

  • Inlining small icons in CSS
  • Email templates
  • Debugging embedded images
FAQ

Base64 Image Converter questions

Should I inline large images?

No. Base64 adds about a third to the size and prevents caching, so keep it for small assets.

Which formats work?

PNG, JPEG, GIF, WebP and SVG.

Is my image uploaded?

No, conversion happens in your browser.