Skip to content
Jellykit

Base64 to File

Paste Base64 or a data URI and download it as a real file. The type is detected from the bytes (PNG, PDF, ZIP...) and images preview instantly. No upload.

Runs in your browser. Nothing is uploaded.

About Base64 to File

Base64 to File decodes Base64 text back into the original bytes and lets you download them as a file. It accepts raw Base64 with or without line breaks, the URL-safe alphabet, and full data URIs such as data:image/png;base64,...

The file type is worked out from the decoded bytes, so the suggested name gets the right extension even when the Base64 came without one. Images are previewed and text formats are shown, so you can check the result before saving.

It is the quickest way to recover an attachment from an API response, an email source or a JSON field while debugging.

How to use Base64 to File

  1. Open the tool above and add your file or text.
  2. Adjust the options to suit.
  3. Download or copy the result. Nothing is uploaded at any point.

Frequently asked questions

Why do I get an invalid Base64 error?

The text contains characters outside the Base64 alphabet, or part of it was cut off. Make sure you copied the whole string, and remove any surrounding quotes.

Do I need to remove the data: prefix?

No. Data URIs are recognised and their MIME type is used for the download.

Is Base64 to File free and private?

Yes. Base64 to File is completely free, with no sign-up and no watermark. Your files are processed inside your browser and never uploaded to a server, so they stay on your device.

See all files tools →