Skip to main content
>_devtools

Data URI Generator and Parser

Turn a file or text into a data: URI with MIME detection, or parse a data URI to see its type, size and content.

What this does

Generate a data URI from text or a file, or parse a data URI to inspect its media type and contents. Choose Generate or Parse, then use the matching text or file input.

Example

data:text/plain,Hello → media type: text/plain; content: Hello

Limits and behavior

  • Data URIs include their bytes in the URL and can become large; MIME detection for files depends on browser-provided metadata.