Data URI Generator
Generate a data: URI from text content. Useful for testing, inline assets, and quick developer workflows.
Data URI Generator tool
Example result: data:text/plain;charset=utf-8,Hello or data:text/plain;charset=utf-8;base64,SGVsbG8=
Result will appear here.
| Metric | Value |
|---|
Privacy: generation runs locally in your browser. No input data is stored or transmitted.
Enter text, choose a MIME type and encoding mode, then generate a full data: URI string.
Examples
- text/plain + plain text → inline text data URI
- text/html + HTML markup → inline HTML data URI
- application/json + JSON text → inline JSON data URI
FAQ
- What is a data URI?
A data URI embeds data directly inside a URL using the data: scheme.
- What output modes are supported?
This tool supports percent-encoded text output and Base64 output.
- Can I set the MIME type?
Yes. You can specify a MIME type such as text/plain, text/html, application/json, or image/svg+xml.
- Is my input stored?
No. Generation runs locally in your browser and is not stored or transmitted.