Base64 to Image

Paste a Base64 string or a full data URI. The picture appears below with its format, file size and dimensions, ready to download.

Questions people ask

How do I convert Base64 to an image?

Paste the Base64 string, with or without the data:image/…;base64, prefix. The tool decodes it, detects the format from the file’s first bytes, shows a preview and lets you download the file.

Which image formats are supported?

PNG, JPEG, GIF, WebP, BMP, ICO, AVIF and SVG are detected automatically from their file signatures. Anything your browser can display will preview.

Why does it say the data is not an image?

Either the Base64 is truncated (common when copying from logs), or it encodes something else such as a PDF or text. Check that the string was copied completely — its length should usually be a multiple of 4.

Related tools