Base64 to Image

Convert Base64 strings back to images

Average rating 5.0 out of 5, number of ratings: 1

Share this tool

Report a problem

Describe the problem without including private input or files.

How useful was this tool?

How useful was this tool?

Base64 string

Try these examples

File information

Size
0 B
MIME type
—
Format
—
Dimensions
—
Supported formats
  • Data URI format: data:image/png;base64,iVBORw0KGgo…
  • Raw and URL-safe Base64: detects PNG, JPG, GIF, WebP, BMP, ICO, AVIF and SVG bytes
  • Data URI MIME types are retained; visual preview depends on browser support
  • Downloads preserve the original decoded image bytes without recompression

Image preview

Enter a valid Base64 string to see the image preview.

0 characters

Enter a valid Base64 string to see the image preview.

About Base64 to Image Decoder

Our free Base64 to image decoder converts Base64-encoded strings back into viewable, downloadable image files. Paste a data URI copied from an HTML document, a Base64 string from an API response, or an image field exported from a database, and the tool renders the image and reports its format details.

Base64 encoding represents binary data (like images) as ASCII text using a set of 64 characters. This encoding is commonly used to embed images directly in HTML, CSS, JSON responses, and email messages. Our decoder reverses this process, taking the Base64 text and reconstructing the original image for preview and download.

The tool supports both full data URI format (data:image/png;base64,...) and raw Base64 strings without headers. It automatically detects the image format from the MIME type, displays file information including estimated size, and lets you download the decoded image in its original format -- all without uploading any data to a server.