Data URI Generator
Convert a file into a data: URI for embedding in HTML or CSS.
Processed locally in your browser. Your file is never uploaded.
Overview
Converts a file into a data: URI — a self-contained string that embeds the file's content directly, useful for small icons or fonts you want to inline in CSS or HTML without a separate request.
How to use it
- 1Drop a file.
- 2Copy the generated data URI.
Tips
- Best for small files (a few KB) — embedding large files this way bloats your HTML/CSS and bypasses browser caching.