Fully SupportedDeveloper & Design

Base64 to Image

Upload a `.txt` containing a Base64 string or `data:image/...` URI and recover the original image file.

Your files are processed locally in your browser. We do not upload your files to our servers.

Drop TXT file here

Processed locally in your browser • Max 20 MB per file • Single file mode

How to Use Base64 to Image

  1. 1Upload a .txt file containing a Base64 string or Data URI.
  2. 2Click Decode.
  3. 3Preview and download the image.

Supported Formats & How It Works

Supported Input Formats

TXT

Supported Output Formats

PNGJPGWebP

Technical Architecture

Strips optional data:image/*;base64, prefix, decodes bytes with atob(), and detects MIME signature.

Frequently Asked Questions

What if the Base64 has no data:image prefix?

Magic-byte inspection automatically detects PNG, JPG, WebP, or GIF.

Related Images & File Tools