Base64 to Image
1.
Paste a Base64 data URL or raw Base64 string into the Input panel
2.
The image preview appears automatically - the image type is detected from the data
3.
Preview the image, then click Download to save it
▸
Previewing images embedded in API responses or database fields
▸
Recovering an image from a Base64 string in your code
▸
Verifying that an image was encoded correctly
What image formats are supported?
Any image format that browsers support natively - PNG, JPEG, WebP, GIF, SVG, and BMP - can be decoded and previewed. The tool auto-detects all of these from raw Base64 strings.
Do I need the "data:image/..." prefix?
The tool accepts both full data URLs (with the prefix) and raw Base64 strings without it. It will auto-detect and handle both.
Is my data sent to a server?
Decoding happens entirely in your browser - the Base64 string is set directly as an image src and never transmitted to any server.
How do I get the original file size?
Base64 strings are approximately 33% larger than the original binary. The actual decoded image will be smaller than the Base64 string length suggests.
Can I download the decoded image?
Once the image is previewed, use the Download button to save it to your device.