Image to Base64 Converter

Paste or upload an image to encode it as Base64, or decode Base64 into a downloadable image locally in your browser.

No account required. See the guide below for processing details and limitations.

Loading…

How to use

  1. Paste an image from the clipboard, drop a file or choose an image.
  2. Select raw Base64 or Data URL and copy the result.
  3. For the reverse conversion, switch to Base64 to Image, paste the string, decode and download.

Example

Convert a PNG screenshot to a data:image/png;base64,... URL for use in HTML or an API payload.

Method, privacy & limitations

PNG, JPEG, WebP, GIF and BMP up to 10 MiB. Conversion preserves original bytes. SVG is not supported. All processing is local; Base64 is not encryption.

Frequently asked questions

Are images uploaded to a server?

No. All conversions happen in your browser.

What is the difference between raw Base64 and a Data URL?

A Data URL includes a MIME-type prefix; raw Base64 contains only the encoded bytes.

Does Base64 reduce image quality?

No. Base64 preserves the original bytes but increases data size by about 33%.

Related tools for your next task