Base64 to File

Paste Base64 data and get the original file back. The decoder reads the first bytes of the output (the “magic number”) to identify the file type and suggest the right extension, so you do not need to know what the string contains.

How to convert Base64 to File online

  1. Paste the Base64 string or data URI.
  2. Click Decode Base64 to file.
  3. Check the detected type and preview, then download.

What file types are detected?

Images (PNG, JPG, GIF, WebP, AVIF, BMP, ICO, SVG, TIFF), documents (PDF, DOCX, XLSX, PPTX, RTF), archives (ZIP, GZIP, 7z, RAR, TAR), audio (MP3, WAV, Ogg, FLAC, M4A), video (MP4, WebM, MKV, AVI), fonts (WOFF, WOFF2, TTF, OTF), executables and plain text, JSON and XML.

Frequently asked questions

How do I convert Base64 to a file?

Paste the string and click "Decode Base64 to file". Then press Download; the file gets the detected extension automatically.

Related tools and guides

Comments (0)

Questions, ideas or a bug in “Base64 to File”? Leave a comment, rate the tool, or reply to others.

No comments yet. Be the first to share your feedback!

Leave a comment

Rate this tool:
Esc
↑ ↓ move↵ openEsc close