Data URI Generator

Make a data: URI from a small file, with its MIME type.

Data URI Generator

Runs in your browser — your file is not uploaded

What it does

Makes a data: URI from a small file, with the correct MIME type in front. You can put it straight into HTML, CSS or JSON so the file needs no separate request. You get one string ready to paste.

Data URI Generator questions

How do I use the Data URI Generator?

Drop the file on the box or choose it from your device, set the options and download the result.

Is my file uploaded?

No. The tool runs in your browser, so your file stays on your device.