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
- Runs on your device. Files are never uploaded.
- Free and unlimited. No sign-up, no watermark.
Base64 decode text in three steps
No account, no email, no waiting for an upload.
- STEP 01
Paste your Base64
Include any line breaks or a data: prefix. They are handled.
- STEP 02
Decode
If the bytes are valid UTF-8 text, you get text. Otherwise you get a file.
- STEP 03
Copy or download
Binary results are named by the type detected, such as .png or .pdf.
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.
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 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
The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.
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.
Mediaextractr vs typical upload tools
| MediaextractrPrivate | Typical upload tools | |
|---|---|---|
| Your file is uploaded | Never | Yes |
| Sign-up needed | No | Often, after a few files |
| Daily file limit | None | Often 1–2 free files |
| Watermark | Never | Sometimes |
| Wait for upload & download | No | Yes |
| Speed on very large files | Depends on your device | Depends 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.
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.