Inline an Image in CSS
Embed a small icon or background as a data URI in your stylesheet.
Lepaskan fail di sini atau klik untuk layar
PNG, JPG, WebP, GIF, SVG, AVIF, X, Image tiada had saiz fail
Fail anda tidak pernah meninggalkan peranti. Semua pemprosesan berlaku secara tempatan dalam pelayar anda.
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.
CSS tips
The CSS snippet gives you a ready background-image: url(...) with the data URI inlined.
Inlining a small icon removes an HTTP request, which can speed up first paint.
Keep it to small images β Base64 is ~33% larger, so big images bloat your CSS.
Encoded in your browser β never uploaded.
Cara ia berfungsi
Mengapa alat kami?
Also check outβ¦
Embed an Image in HTML
Inline a logo or icon directly in self-contained H
Convert an SVG or Icon to Base64
Turn a small icon into a data URI for inlining.
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.
