Developers · free tool

Image to Base64 and back

Convert image to Base64 or back.

🖼
Runs in your browser⌑ Your data stays on your device

About this tool

Choose an image to get a data URL (Base64), or paste Base64 to view the image. All local.

When to use it

  • Embed images in CSS/HTML.
  • Debug data URLs.
  • Copy/paste.
Example

PNG → data:image/png;base64,...

How to use

  1. Choose an image or paste Base64.
  2. Click "Convert".
  3. Copy the result.
Max size?

10 MB.

Is file uploaded?

No, processing is local.

Supports data URL?

Yes.

Size increase?

About 33%.

Supports SVG?

Yes as text.