{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
🍋 Format Tools

Data URI Generator

Free Browser-only No sign-up
chars words sentences lines

MIME Type

Results

Result

About Data URI Generator

Generate data: URIs from text content for embedding directly in HTML and CSS. Supports multiple MIME types and encoding methods.

How It Works

Enter text content and select a MIME type to generate a data URI for embedding in HTML or CSS.

Frequently Asked Questions

What is a data URI?
A data URI embeds file content directly in HTML/CSS using the data: scheme, eliminating the need for a separate HTTP request.
When should I use data URIs?
Use for small assets (icons, simple SVGs) to reduce HTTP requests. Avoid for large files since Base64 adds 33% overhead and bypasses caching.