Base64 to Image Converter
Decode a Base64 string into a viewable image and build a data URI, entirely in your browser.
Input
Output
Ready
Drop a file to load it
About this tool
Paste Base64 data and see the image it represents. The format is detected from the file signature, so you do not need to know whether it is a PNG, JPEG, GIF, WebP or SVG.
When you would use it
- Checking what an embedded data URI actually contains
- Recovering an image from a JSON payload
- Building a data URI to inline in CSS or HTML
Worked example
iVBORw0KGgoAAAANSUhEUg…
data:image/png;base64,iVBORw0KGgoAAAANSUhEUg… Detected: PNG · 1.2 KB
Things worth knowing
- The format is detected from the leading bytes rather than trusting a declared MIME type.
- Decoding happens locally — the image is never uploaded, which matters if it contains anything sensitive.
- Data URIs suit small images. Beyond a few kilobytes a normal file request usually performs better.
Questions
Frequently asked
Is my image uploaded?
No. Decoding happens entirely in your browser and the image never leaves your device.
Which formats are recognised?
PNG, JPEG, GIF, WebP, BMP, SVG and PDF, detected from the file signature.
Related