Decode Base64 Back to a File
To decode Base64, add a text file containing the Base64 or data URI text and click Base64 Decode. Spaces and line breaks are ignored, URL-safe text and missing padding are accepted, and the file type of the result is detected from its content. Decoding runs in your browser, so nothing is uploaded.
Standard, URL-safe and data URI text, with the file type detected
Choose Files
or drop documents directly into this area
Quick facts
- Formats
- Text (TXT) → Original file; several results come as one ZIP
- Where it runs
- In your browser, on your own device. Files are not uploaded.
- Size limit
- 300 MB per run on a computer, 80 MB on a phone or tablet
- Files per run
- Up to 50
- Last updated
How to use Base64 Decode
Choose a text file that contains Base64 or data URI text.
No settings are needed.
Click Base64 Decode.
Download the decoded file with its detected type.
Features & Privacy
Fast & High Quality
Private: Files Never Leave Your Device
Batch Processing
Frequently Asked Questions
Standard Base64, URL-safe Base64 with - and _, text without = padding, and data: URIs. Spaces, tabs, line breaks, surrounding quotes and a byte order mark are ignored.
The decoded bytes are checked for known file signatures, so a PNG, PDF, ZIP or Word file gets the right extension even if the text gave no hint.
You get a clear message with the position of an invalid character, padding in the wrong place or a truncated length, so you can correct the text and try again.
A plain text file (.txt or .b64.txt) that contains only the Base64 or data URI text. Binary files are rejected, because they cannot be Base64 text.
The tool removes the .b64.txt ending, so photo.jpg.b64.txt becomes photo.jpg again. Otherwise the name gets the detected extension, or .bin when the type is unknown.
No. Decoding runs in your browser on your own device, so the data never leaves it. Files up to about 300 MB work on a computer and 80 MB on a phone.
Related Tools
Continue your workflow with these related tools: