Base64 to File
Paste a Base64 string or data URI, preview it if it is an image, and download it as a file.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Use this when an API, database or log hands you an image, PDF or invoice as a long Base64 string and you need to open it or save it as a real file.
The file type is detected from the first few bytes (PNG, JPG, GIF, WebP, PDF, ZIP, MP3, MP4 and more), so strings without a data: prefix still get the right extension. Rename the file before downloading if you want it named after an order or customer.
How to use
- Paste the Base64 string.
- Check the detected file type and set a file name.
- Click Download file.
Frequently asked questions
Is the data I paste sent to a server?
No. The tool runs in JavaScript right in your browser, and Takikit has no server that receives data. You can turn off your internet after opening the page and the tool will still work.
Related tools
More Developer tools
Hash GeneratorCalculate MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 for text or a file at the same time.SHA-256 Hash GeneratorCalculate the SHA-256 hash of text or a file using the Web Crypto API built into your browser.SHA-512 Hash GeneratorCalculate the SHA-512 hash of text or a file right in your browser.Base64 EncoderConvert text, including Vietnamese with diacritics, to standard or URL-safe Base64.MD5 Hash GeneratorCalculate the MD5 hash of text or a file, often used to check that a downloaded file is intact.JSON String UnescapeConvert a string containing \n, \", \u00e1 back to plain, readable text.
See all developer tools