Base64 to Image Converter
About
Base64 image strings pour out of APIs, CSS files, emails and canvas.toDataURL() calls; this page turns them back into pictures. It accepts a bare Base64 payload or a full data URI, detects the real format from the magic bytes (PNG's 89 50 4E 47, JPEG's FF D8, GIF's GIF8, WebP's RIFF/WEBP) rather than trusting whatever the prefix claims, renders the image, and enables a download with the detected type. If the bytes decode but do not render, they were never an image — Base64 of text decodes "successfully" to text bytes, and the status line tells you so instead of showing a broken-image icon.
Frequently Asked Questions
Do I need the data:image/... prefix?
No — bare Base64 works; the type is detected from the bytes themselves.
Why does my SVG not render?
SVG is XML text, not binary image bytes; a Base64-of-SVG decodes to markup. Decode it with the Base64 to Text decoder and save as .svg.