About the Text Data URI Generator
The Data URI Generator combines an explicit media type with locally encoded text bytes. It is convenient for tiny fixtures and self-contained examples, though large inline assets increase document size.
How to use the Text Data URI Generator
- Enter the content and an accurate MIME type.
- Choose percent encoding or Base64.
- Generate and test the URI in the intended context.
Practical tips
- Use data URIs only for small resources.
- Never embed confidential content in a URI that may enter logs or page source.