Base64 to Image

Turn a Base64 string back into an image, with preview and download. Processed locally — nothing is uploaded.

Not decoded yet.

How it works

Paste a full Data URL (data:image/png;base64,...) or plain Base64 — both work; without a format it's treated as PNG. After decoding you'll see the image type, size, and dimensions; click "Download image" to save it locally.

FAQ

What should I do if decoding fails?
First check the string is complete: Base64 only contains letters, digits, +, / and a trailing =. It can't contain spaces or line breaks in the middle, and when copying from code, don't miss the beginning or end.

Does it work without the data: prefix?
Yes — it's treated as PNG by default. If the original image was a JPG, the download will be named as a PNG, but the data is still the original image; just rename the extension.

Is the image uploaded?
No. Decoding happens locally in your browser; your content never leaves your device.

Related tools

Image to Base64 · Base64 Encoder & Decoder · Image Format Converter