Home › Resources & tools › Data URI Generator

Data URI Generator

Data URI Generator
Data URI Generator

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.

Input 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

Olympicene Molecule Poster, Ball-and-Stick Model, Stylized, English-Labeled
$19.99

A poster featuring the ball-and-stick model (stylized) of the olympicene molecule.

fantasy IPA Transcription Poster
$14.99

A poster featuring the phonetic transcription of "fantasy" in the International Phonetic Alphabet (IPA).

"Hello, World!" Code Snippet Poster, Go Programming Language
$14.99

A poster featuring the "Hello, World!" program in Go programming language.

Catalan Alphabet Poster, English-Labeled
$17.99

The Catalan alphabet chart.

путеводитель Morphemic Analysis Poster
$14.99

A poster featuring the morphemic analysis of the Russian word путеводитель.

Base64 Encoder and Decoder

Encode into and decode from Base64 online.

What are data URLs?

The ins and outs of data URLs.

Generating data URLs in JavaScript

How to generate data URLs in JavaScript?

Diff Checker

Diff two files.

QR Code Generator

Create QR code images from text, URLs, or other simple data online.

All prices listed are in United States Dollars (USD). Visual representations of products are intended for illustrative purposes. Actual products may exhibit variations in color, texture, or other characteristics inherent to the manufacturing process. The products' design and underlying technology are protected by applicable intellectual property laws. Unauthorized reproduction or distribution is prohibited.