Skip to content
LovelyTools
EN

Base64 to File

Decode Base64 or a data URL back into a downloadable file.

Processed locally on your device — nothing is uploaded.

About the Base64 to File

Found a long Base64 string in an API response, email source or database field? Paste it here and download the original file. The type is detected from the decoded bytes, so the file gets the correct extension even if no MIME type was given.

URL-safe Base64 and missing padding are accepted.

How to use the Base64 to File

  1. Paste Base64 or a data URL.
  2. Choose a file name.
  3. Press Decode and download the file.

Features

  • Data URLs and raw Base64
  • Automatic type detection
  • URL-safe alphabet supported
  • Size shown

Supported formats

  • Base64
  • Data URLs

Frequently asked questions

Is it safe to open the decoded file?

Only if you trust its source. Check the detected type — be careful with executables.

Is my data uploaded?

No. Processing happens in your browser and nothing is stored or sent anywhere.