Data URI maker

Turn text or a small file into a base64 data: URI — plain or wrapped as CSS url(…).

Files up to 8 MB. The URI is base64-encoded; no part of your file leaves this browser.

Everything runs in this browser.

How to use

  1. Paste text or choose a file.
  2. Pick the MIME type (text mode) or let the file carry its own.
  3. Copy the data URI.

What it supports

Inputs up to 8 MB; output grows ~4/3 in base64. Everything is base64 — no URL-encoding mode. The file's browser-reported MIME type is used; sniffing is not performed.

Related tools

Related guides