JSON Converters Code Gen Formatters All tools Browse all tools built byAbhay Darji

Base64 to Image Converter

Decode a Base64 string into a viewable image and build a data URI, entirely in your browser.

100% client side No upload No size limit Works offline
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

Base64
iVBORw0KGgoAAAANSUhEUg…
Data URI
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

Tools that pair well with this