Home URL tools Data URI Builder

Data URI Builder

Turn any text or URL into a base64 data: URI — choose a MIME type and copy the result instantly, privately.

How to use

  1. Pick the MIME type for your content.
  2. Enter your text or a URL.
  3. The data URI is generated instantly — copy it.
  4. Paste it into an img src, a href or a CSS background url.

FAQ

Why is the result base64?

Base64 turns binary-safe content into a portable text form that works inside a URL. It is slightly larger than the original (about 33%), so use it only for small content.

How do I use the generated URI?

For an image, put it in an img src attribute. For text or HTML, put it in an href or a link. The data: prefix tells the browser the content is embedded.

Related URL tools

More FAQs

Are these URL tools free?

Yes, free and unlimited with no signup.

Is my data uploaded?

No. Everything runs in your browser and nothing is sent to a server.

Related searches

data uri generator, base64 data uri, data url builder, inline image base64, data uri css, data:image/png, base64 encoder, embed image in html, svg data uri, data url converter