Skip to main content
{/}codefunc

Data URI Parser

Decode a data: URI into its media type, encoding, and payload.

About this tool

Decode a data: URI into its media type, encoding, and payload. Turn opaque strings from network traces, devtools, or SEO audits into structured output you can act on.

Paste a complete data: URI (media type, optional ;base64, then payload). Read the detected MIME type, encoding flag, and decoded payload preview. Example — Base64 text data URI: try `data:text/plain;base64,SGVsbG8=` and expect something like `mediaType: text/plain encoding: base64 payload: Hello`.

Very large data URIs can freeze the tab — prefer files for multi-megabyte assets. See also: Base64 Encoder/Decoder, URL Parser, and Image to Base64. Runs in your browser — nothing you paste gets uploaded.

How to use

  1. Paste a complete data: URI (media type, optional ;base64, then payload).
  2. Read the detected MIME type, encoding flag, and decoded payload preview.
  3. Use the payload when extracting embedded icons or small fixtures from HTML/CSS.
  4. Re-encode with Image to Base64 if you need a fresh data URL from a file.

Example

Base64 text data URI

Input

data:text/plain;base64,SGVsbG8=

Output

mediaType: text/plain
encoding: base64
payload: Hello

Limitations

  • Very large data URIs can freeze the tab — prefer files for multi-megabyte assets.
  • Malformed base64 or missing commas produce errors rather than partial recovery.
  • Binary payloads are shown as text/hex-ish previews, not saved as downloadable files automatically.

Related guides

1

Related tools

3

Frequently asked questions

What does the Data URI Parser do?

Decode a data: URI into its media type, encoding, and payload. Runs in your browser — no install, no account.

How do I use the Data URI Parser?

Paste a complete data: URI (media type, optional ;base64, then payload). Read the detected MIME type, encoding flag, and decoded payload preview. Use the payload when extracting embedded icons or small fixtures from HTML/CSS. Re-encode with Image to Base64 if you need a fresh data URL from a file.

Is the Data URI Parser free?

Yes. No signup, no usage limits, no paywall.

Does the Data URI Parser upload my data?

No. Processing happens locally in JavaScript. Your input is not uploaded, stored, or logged.

What are the limitations of the Data URI Parser?

Very large data URIs can freeze the tab — prefer files for multi-megabyte assets. Malformed base64 or missing commas produce errors rather than partial recovery. Binary payloads are shown as text/hex-ish previews, not saved as downloadable files automatically.

Search tools

Find a developer tool