About the Base64 to File Converter
Not all Base64 is text or an image. API responses embed PDFs, attachments arrive as Base64, and config files store small binaries this way. This tool decodes the string to raw bytes and hands you a file to download. When the input is a data URI, the MIME type in the prefix sets a sensible file extension automatically; otherwise the file is saved with the name you provide.
Because the bytes are never interpreted as text, any file type works: PDF, zip, mp3, mp4, fonts, executables. The decode runs in your browser, so a document containing private content is not sent anywhere. The status shows the decoded size so you can confirm it matches what you expected.
For images specifically, Base64 to Image previews the result; for text, Base64 Decode shows it inline.
How to use
- Paste the Base64 or data URI.
- Set a file name if there is no data URI prefix.
- Click Download to save the decoded file.
Common questions
- How is the file type decided?
- From the MIME type in a data URI prefix. Without one, the file uses the name you set and a generic extension.
- Can it decode a Base64 PDF?
- Yes. Paste a data:application/pdf;base64,... string and download the .pdf.
- Is there a size limit?
- Browser memory is the limit; files up to tens of megabytes decode fine.