Data URI Generator

Drag & Drop the files here (multiple files are supported)...

The output will appear here...

This is an in-browser data-uri generator. Technically any file can be converted into a base64 data URI.

However, the browser will only give you MIME types for supported file types. All common image (jpg, png), audio (mp3, wav, ogg, acc) & video files should work just fine.

Big files will take some time to be converted and it's not really recommended to load a big file as a data-url as it's inefficient.

If you're new to Data-URIs, it's a great way to load small files inside the code itself. For example, you can store an audio file as a javascript variable. What this does is it converts binary data into text, so it can be embedded(inline) inside the source code. To learn more about data uri scheme, read this MDN page.