Data URI to Downloadable File

Data URI to Downloadable File

Local Processing

Decode base64 Data URIs and convert them into downloadable binary or text files.

How It Works & Processing Standards

Decode base64 Data URIs and convert them into downloadable binary or text files.

Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.

Current Limits

  • Maximum input length: 100,000 characters

For extracting images or files embedded as Data URIs in HTML, CSS or JSON. You choose the file name, and conversion happens only in your browser.

What You Can Do

Base64 or text
Reads both ;base64 and percent-encoded forms.
MIME kept
Uses the type after data: for the file.

How to Use Data URI to Downloadable File

  1. 1
    Paste the Data URIPaste the string starting with data:.
  2. 2
    Name the fileInclude the extension.
  3. 3
    DownloadSave the file.

Examples

Text file
Input: data:text/plain;base64,SGVsbG8= / hello.txt
Result: hello.txt (text/plain, content Hello)

Common Use Cases

  • Extracting an icon embedded in CSS
  • Saving a Data URI file returned by an API

Frequently Asked Questions (FAQ)

What if I only have Base64 without data:?

This tool needs the data: prefix. For bare Base64, use Base64 File → Blob.

Have feedback or ideas for this tool? Suggest & Inquire →