Build a data: URI from text or parse one into its MIME type and content. Everything runs in your browser.
Build a data: URI from text or parse one into its MIME type and content. Runs entirely in your browser.
A data URI embeds a small file directly inside a URL using the data: scheme, so an image, font or snippet can travel inline in HTML, CSS or JSON without a separate request. It carries a MIME type, an optional ;base64 flag and the payload. This tool builds a data URI from text you provide and parses an existing one back into its parts.
Input:
data:text/plain;base64,SGVsbG8=
Output:
MIME text/plain, base64, content: Hello
When are data URIs useful?
For inlining tiny assets like icons or fonts to save a request, embedding images in emails, or pasting content where only a URL is accepted.
Base64 or URL-encoding?
Base64 suits binary and is compact for non-text. URL-encoding keeps short text readable. The parser handles both automatically.
Can it handle images?
It parses any data URI and reports the MIME type and size. Binary payloads are summarised rather than shown as text.
Is anything uploaded?
No. Building and parsing run entirely in your browser.