DATA URI
GENERATOR
Convert files to Data URI strings for embedding directly in HTML, CSS, or JavaScript. Upload any file type and generate data URIs instantly.
Drag and drop any file here, or click to select
Supports any file type (max 10MB)
📄 EMBED FILES
Embed any file directly in HTML, CSS, or JavaScript without external dependencies.
🔗 SELF-CONTAINED
Create self-contained documents with all assets embedded as data URIs.
USAGE EXAMPLES
HTML: <img src="data:image/png;base64,...">
CSS: background-image: url(data:image/png;base64,...);
JavaScript: const fileData = "data:text/plain;base64,...";