Data URI Parser & Decoder
Developer
Paste a data: URI and instantly break it down: its MIME type, whether the payload is Base64 or percent (URL) encoded, the charset, and the real byte size. Textual payloads (text, JSON, XML, SVG, HTML, CSV) are decoded and shown, and images get a live preview. Everything runs locally in your browser — nothing is uploaded.
How to use
- Paste a full data: URI into the input box.
- Read the MIME type, encoding, charset and byte size.
- Copy the decoded text, or preview the image.
Frequently asked questions
- Which data URIs are supported?
- Any RFC 2397 data: URI, with or without a media type, and either Base64 (;base64) or percent-encoded payloads. A missing media type defaults to text/plain.
- How is the size calculated?
- It is the real size of the decoded bytes, not the length of the encoded string — so it reflects the actual file or text size the URI represents.
- Can it preview images?
- Yes. When the MIME type is image/*, the decoded data is rendered as a live preview directly from the URI. Non-image binary payloads just show their size.
- Is my data URI sent anywhere?
- No. Decoding happens entirely in your browser; nothing is uploaded.
Related tools
Base64 to Hex Converter (and back)
Convert a Base64 string to hexadecimal bytes and hex back to Base64, with URL-safe support, in your browser.
Quoted-Printable Encoder & Decoder
Encode text to MIME Quoted-Printable (RFC 2045) or decode it back — handling =XX escapes, soft line breaks, and UTF-8 — entirely in your browser, with 76-character line wrapping on encode.
Hash Generator (SHA)
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text.
URL Encoder / Decoder
Percent-encode text for URLs, or decode encoded URLs back to text.
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text, instantly.
JSON Formatter & Validator
Format, beautify, minify, and validate JSON right in your browser.