Data and JSON tools Free · No sign-up · No upload

Base64 Decode

Paste Base64 and get readable text, or a downloadable file if the data is an image, PDF or other binary. Standard and URL-safe forms both work. Nothing is uploaded.

  • Use it as often as you like
  • Private by design
  • Text or binary output
  • URL-safe accepted
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: Text
How was Base64 decode text?
How it works

Base64 decode text in three steps

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

  1. STEP 01

    Paste your Base64

    Include any line breaks or a data: prefix. They are handled.

  2. STEP 02

    Decode

    If the bytes are valid UTF-8 text, you get text. Otherwise you get a file.

  3. STEP 03

    Copy or download

    Binary results are named by the type detected, such as .png or .pdf.

What you get

What Base64 decode text does, and what it doesn't

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

What you get

  • Forgiving inputStandard and URL-safe alphabets, with or without = padding, with line breaks or spaces, and even with a data:...;base64, prefix.
  • Text when it is textUTF-8 text is shown directly, with accents and emoji intact.
  • Files when it is notPNG, JPG, GIF, WebP, PDF, ZIP and GZ are recognized from their first bytes. Anything else downloads as .bin.
  • Exact error positionAn invalid character is named with its position in the text.
  • Size infoThe note shows the number of bytes decoded.

Good to know

  • Not encryptionDecoding only reverses the encoding. Encrypted data stays unreadable.
  • Binary is not shown as textBinary content downloads as a file. For pictures, Base64 to Image shows a preview.
  • Cut-off inputTruncated Base64 may fail with a length error. Check you copied it all.
Private by design

Your data 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 decode text

Read an encoded config value

Decode secrets or settings stored as Base64 in a manifest.

Inspect a token part

Decode a piece of a JWT by hand, or use the JWT decoder.

Open an email attachment body

Recover a file from a pasted Base64 block.

Recover an inline image

Turn a data URL back into a file.

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

Why decoding sometimes gives odd text

Base64 only says how bytes were written, not what those bytes mean. If they were text, the encoding of that text matters. This tool reads UTF-8, which is what most systems use today. If the bytes are not valid UTF-8, the result is offered as a file instead of garbled text.

Padding at the end is optional here, so text that lost its = signs on the way still decodes.

Troubleshooting: Base64 decode text

If the result looks wrong:

  • Check for a missing character at the end. The length must be possible for Base64.
  • Remove anything that is not part of the data, like a surrounding quote or label.
  • If it decodes to more Base64, run it again.
  • If it is a file, open the download with the right program.
  • To encode again, use Base64 encode.

Decoding files and images

If the Base64 stands for an image or a document, the result downloads with a matching extension. A data URL pasted in full is understood. For an image you want to see, the Base64 to Image tool shows a preview. Text that decodes to more Base64 or to JSON can be passed straight to the next tool.

FAQ

Questions, answered

How do I decode Base64?

Paste it and read the text, or download the file if it is binary.

Is the encoded text I paste uploaded?

No. It is decoded by script inside your browser tab. Nothing is sent or stored.

Does it accept URL-safe Base64?

Yes. - and _ are treated like + and /.

Why did I get a file instead of text?

The decoded bytes are not valid UTF-8 text, so they are offered as a download, such as an image or PDF.

Does the = padding matter?

No. It may be present or missing.

Does it work on iPhone and Android?

Yes, in current mobile browsers, and downloaded files go to your usual downloads location.