Skip to content
Takikit

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

  1. Paste the Base64 string.
  2. Check the detected file type and set a file name.
  3. 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

See all developer tools