Base64 to Image
Decode a Base64 string or data URL back into a downloadable image.
About Base64 to Image
Base64 image data turns up in API responses, database columns and email source. Reading it as text tells you nothing; you need to see the picture.
Paste the string and this tool decodes it, previews the result, reports the real dimensions and file size, and gives you a download with the correct extension.
Frequently asked questions
Do I need the data URL prefix?
No. Paste the raw Base64 and the tool detects the image type from the first bytes, or paste a full data URL and it will use the declared type.
Why does nothing render?
Usually the string is truncated or contains stray whitespace or quotes from the surrounding code. The tool strips whitespace automatically but cannot recover missing data.
Which formats can it detect?
PNG, JPEG, GIF, WebP, BMP and SVG are recognised from their signatures.