Code · Made a little simpler
Data URI to File
Decode a Base64 or percent-encoded data URL into a file on your device. Inspect its declared media type, enter a filename and preserve the bytes.
Restore binary bytes from a data URI
Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device
Data URI to File: how to use it
- Paste the complete data URL or select a local UTF-8 text file containing one. Enter a download filename.
- Run the conversion and inspect the byte count and available text preview.
- Copy the complete text or download the result to check its contents.
Limits and notes
Up to 12 MiB of original or decoded bytes. Pasted text and encoded files use UTF-8. The preview shows up to 8,192 characters. Downloads contain the complete result.
How your privacy works →Data URI to File: common questions
Can I restore a data URL without Base64?
Yes. Percent triplets represent individual bytes and unreserved characters can appear literally.
Does the decoder open the supplied URL?
The tool reads the pasted characters locally. It offers the restored bytes as a download and displays valid UTF-8 as plain text.