Back to catalog

Base64 to image

Rebuild an image from Base64 or a Data URL. A valid Base64 string does not always represent an image.

ActiveImageFree
Loading tool...

About this tool

Base64 to image rebuilds a downloadable file from plain Base64 or a Data URL with an image MIME type.

How to use

  1. Paste plain Base64 or a Data URL.
  2. If you paste plain Base64, choose the expected type: PNG, JPG or WebP.
  3. Set the output name.
  4. Rebuild the image and download it if the preview is valid.

Use cases

  • Recover an image from a Data URL.
  • Validate Base64 payloads during development.
  • Turn Base64 text into a downloadable file.

Limits

  • A valid Base64 string may not represent a previewable image.
  • Data URLs must use image/png, image/jpeg or image/webp.
  • It does not repair damaged content or change the actual image.

Privacy

Processing happens in your browser — we don't upload your files.

Common errors

  • Invalid or incomplete Base64.
  • Invalid Data URL or unsupported MIME type.
  • Valid Base64 that does not match the selected image type.

Technical notes

  • Decodes with atob and creates a local Blob.
  • If the text is a Data URL, the detected MIME is used.
  • If the text is plain Base64, the user-selected MIME is used.

Related tools

Technical details
ID
base64-to-image
Slug
/en/tools/base64-to-image
Backend
Not required
AI
Not required
API
Planned