Data URI Generator

About the tool

A data URI is a URI scheme that provides a way to include data in-line in URLs as if they were external resources. Data URIs are supported by most modern browsers and can be used to embed images, videos, audio, and other resources directly into the URLs.

This tool allows you to generate data URIs from file content or text input. You can also encode the data as base64.

Demo

Source type
Choose file
The file to generate the data URI from.
For the list of common media types, refer to MDN. To see the full list, go to IANA.
The generated data URI.

See also

Made by Anton Vasetenkov.

If you want to say hi, you can reach me on LinkedIn or via email. If you like my work, you can support me by buying me a coffee.