Image tools Free · No sign-up · No upload

Convert Base64 to Image

Paste a Base64 string or data URL and get the picture back as a file. It works fully in your browser, so your text is never sent anywhere.

  • Free, no daily limits
  • Text never uploaded
  • Type detected for you
  • No sign-up
Base64 text
  • Runs on your device. Files are never uploaded.
  • Free and unlimited. No sign-up, no watermark.
Private: processed in your browserNo upload waitIN: Base64 → OUT: Image
How was Base64 to image?
How it works

Base64 to image in three steps

No account, no email, no waiting for an upload.

  1. STEP 01

    Paste your Base64

    Paste the text or a full data:image URL into the box, or add a .txt file that holds it.

  2. STEP 02

    Run the decoder

    The tool finds the Base64 data, decodes it and checks what kind of picture it is.

  3. STEP 03

    Download the image

    Save the picture with the right file extension.

What you get

What Base64 to image does, and what it doesn't

We'd rather tell you up front than surprise you after the download.

What you get

  • Accepts data URLs and plain Base64Paste either one. It can even pull a data URL out of HTML or CSS.
  • Detects the real typeThe file type comes from the decoded bytes, so the extension is right even if the text claimed otherwise.
  • Handles line breaksWhitespace and line breaks in the text are ignored.
  • URL-safe Base64 tooThe variant with dashes and underscores also decodes.
  • Clear errorsIf the text is cut off or invalid, you see what went wrong.

Good to know

  • Pictures onlyIf the text decodes to something that is not a recognised image, you will see a message. For other Base64 text, use Base64 decode text.
  • Complete text requiredIf part of the string is missing, decoding fails. Copy the full value again.
  • Not Base64-encoded data URLsA data URL written as plain text, such as inline SVG, is not decoded here.
  • Large stringsVery long text can be slow to paste on a phone. Add it as a text file instead.
Private by design

Your photos never leave your device

The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.

Typical online tool upload

Your device→Their server→Your device

Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.

Mediaextractr no upload

Your device does all the work

The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.

Made for real work

When people use Base64 to image

Debug an API response

Turn an image field in JSON back into a viewable file.

Save an inline image

Extract a data URL from a web page or stylesheet.

Recover an email image

Pull out an image embedded in HTML email source.

Check your own encoding

Confirm that a string really is the picture you expected.

Compare

Mediaextractr vs typical upload tools

MediaextractrPrivateTypical upload tools
Your file is uploadedNeverYes
Sign-up neededNoOften, after a few files
Daily file limitNoneOften 1–2 free files
WatermarkNeverSometimes
Wait for upload & downloadNoYes
Speed on very large filesDepends on your deviceDepends on their servers

What you can paste

Both forms work. A full data URL looks like data:image/png;base64, followed by a long run of characters. Bare Base64 is only that long run.

If the string sits inside HTML or CSS, you can paste the whole line and the tool will find the data URL in it.

Troubleshooting

If decoding fails, check these:

  • Make sure you copied the entire string, with no cut-off at the end.
  • Remove extra words, quotes or code around it if it still fails.
  • Check that it is an image. Documents and other files encoded in Base64 will not be accepted.

Going the other way

To encode a picture instead, use Image to Base64. If you need to convert the recovered picture afterward, try Image converter.

FAQ

Questions, answered

How do I convert Base64 to an image?

Paste the Base64 or data URL, run the tool and download the picture.

Do I need the data:image prefix?

No. Both a full data URL and bare Base64 work.

Is my Base64 sent to a server?

No. Decoding happens in your browser.

Which image types are supported?

JPG, PNG, WebP, GIF, SVG, AVIF, BMP, ICO, TIFF and HEIC are recognised.

Why does it say the text is incomplete?

The string was probably cut off. Copy the entire value again.

Does it work on phone and desktop?

Yes, in any modern browser.