Skip to content

Base64 to Image Converter

Shows the image inside a Base64 string or data URL, checks its real format and size, and saves it as a file.

Your data stays on this device

This tool runs entirely inside your web browser. Your data is processed on your own device and is never sent to our servers. How this works

Image

The image appears here when you paste its Base64.

Base64 to Image Converter is a free viewer that decodes a Base64 string or data URL and shows the picture inside it. It identifies the real format (PNG, JPG, GIF, WebP, AVIF, SVG, BMP or ICO), shows the dimensions and file size, and lets you download the image or save it as PNG or JPG. Decoding happens in your browser.

How to convert Base64 to an image

  1. Paste the Base64 into the box. It can be the bare code, a data:image/…;base64, URL, or a whole HTML tag, CSS rule or JSON value.
  2. The image appears on the right with its format, size and dimensions.
  3. Click Download to save it, or convert it to PNG or JPG.

Recognise an image from the first characters

Common reasons an image won’t show

Debugging APIs and emails

APIs often return images, signatures and thumbnails as Base64 fields, and HTML emails embed logos as data URLs. Paste the value here to see what it contains, without saving it to a file first. To go the other way, useImage to Base64. To view the rest of a JSON response, use theJSON Formatter.

Frequently asked questions

What can I paste?

Plain Base64 (such as iVBORw0KGgo…), a full data URL, or a whole <img> tag, CSS url() or JSON value containing one. The image data is found automatically, and spaces and line breaks are ignored.

How do I know which format the image is?

The tool reads the first bytes of the data, which identify the format, rather than trusting the data URL. PNG base64 usually starts with iVBOR, JPG with /9j/, GIF with R0lG and WebP with UklG.

Why does it say the image is damaged?

The Base64 is valid but the image inside is incomplete, usually because only part of a long string was copied. Copy the whole value and try again.

Is the image sent anywhere?

No. It is decoded and shown by your browser, and never leaves your device.

Last updated

Missing a feature, or need a tool we don’t have? Suggest it.