Data URI Generator
Turn text/HTML/SVG/CSS content into an embeddable data: URI. Everything runs on your device — fast, free, and private.
The result will appear here…
or press Ctrl+Enter
Everything runs in your browser. Your data is never sent to our servers.
728 × 90Ad Space AvailablePlace your ad here
Example
Example Input
<svg>…</svg> (mime=image/svg+xml)
Example Output
data:image/svg+xml;charset=utf-8,%3Csvg%3E…
How to Use
- 1Fill in the input and/or set "More settings" as needed.
- 2Click the Generate button (or press Ctrl+Enter).
- 3Copy the result with the Copy button.
About Data URI Generator
The Data URI Generator turns content you paste into a data: URI with a chosen MIME type, optionally Base64-encoded. Data URIs embed a resource directly in HTML/CSS so no separate file is needed.
Useful for inlining small SVG icons, CSS, or HTML snippets. For images from a file, use the upload-based Data URL tool in the Encoding category.
FAQ
Is any data sent to a server?
No. Data URI Generator runs entirely in your browser — everything is generated locally and never uploaded to our servers.