Skip to content
QKQuickKit日本語
EncodingLOCALRuns in your browserInput may contain sensitive information

Data URI Generator

Turn pasted text into an RFC 2397 data: URI with a chosen media type, charset, and base64 or percent-encoding.

This tool handles input and primary processing in your browser and is designed not to send the input to QuickKit’s server.

Avoid live production secrets; use dummy or masked data where possible. Data handling details

data: URI

How it works

Paste text and choose a media type (default text/plain), an optional charset, and whether to base64-encode or percent-encode the payload. The output follows RFC 2397 (checked 2026-09-02): data:[<mediatype>][;base64],<data>. Text is encoded as UTF-8 bytes before base64. Input is capped at 512 KiB of UTF-8. This tool only accepts text — it does not read local files, and it does not guess or assert a media type for you. Very large data: URIs are impractical in real documents; prefer a normal file reference past a few kilobytes.