Skip to content
ToolSuite

Base64 to File

Decode Base64 or a data URI back into a downloadable file, with the type detected.

Processed in your browser

Fill in the form and press “Decode” to see the result here.

How to use it

  1. 1Select your file, or drag and drop it onto the upload area.
  2. 2Adjust the options if you need something other than the defaults.
  3. 3Press the button. Everything happens on your device.
  4. 4Download the result.

About the Base64 to File

The decoded bytes are inspected for a known file signature, so the download gets the right extension and content type even when the Base64 carried no data URI header.

A hex preview of the first bytes is shown, which is usually enough to confirm the decode produced what you expected before saving it.

Questions people ask

Is your file uploaded to a server?

No. This tool runs entirely in your browser using standard web APIs, so your file never leaves your device. You can confirm it by opening your browser's network panel while the tool runs, or by disconnecting from the internet after the page has loaded.

Is it free, and do I need an account?

Yes, it is free, and there is no account, no sign-up and no watermark on the result. The project is funded by optional donations.