Data URI Parser & Decoder
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
Image to Base64
Convert an image to a Base64 data URL you can paste anywhere.
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.
URI Template Expander (RFC 6570)
Expand RFC 6570 URI templates with your own variables — supports all four levels: path, query, fragment, label, and path-style operators with explode and prefix modifiers, entirely in your browser.
Protobuf Decoder (no .proto needed)
Paste base64 or hex protobuf bytes and read the fields — numbers, wire types, nested messages, strings and packed arrays — without a schema.
URL Parser
Break a URL into protocol, host, port, path, query, and hash. Decode query parameters into a table.