Convert an SVG or Icon to Base64
Turn a small icon into a data URI for inlining.
Drop files here, or click to browse
PNG, JPG, WebP, GIF, SVG, AVIF, X, Image no file size limit
Your files never leave your device. All processing happens locally in your browser.
Convert an image to a Base64 data URI you can paste directly into CSS, HTML, or Markdown β no separate file needed. Encoded in your browser; never uploaded.
icons tips
Icons and small SVGs are the ideal candidates for data URIs β tiny and request-free.
Use the CSS snippet to drop it straight into a background or ::before rule.
Copy the exact format you need with one click.
Nothing is uploaded.
How It Works
Why use ours?
Also check outβ¦
Inline an Image in CSS
Embed a small icon or background as a data URI in
Embed an Image in HTML
Inline a logo or icon directly in self-contained H
Embed an Image in Markdown
Inline a small image in a Markdown file with a dat
Get an Image Data URI
Produce a raw data: URI you can use anywhere.
