🖼️
🎨

Inline an Image in CSS

Embed a small icon or background as a data URI in your stylesheet.

Nav nepieciešama pieteikšanāsFaili paliek privāti

Nometiet failus šeit vai noklikšķiniet, lai pārlūkotu

PNG, JPG, WebP, GIF, SVG, AVIF, X, Image nav faila izmēra ierobežojuma

Pārlūkot failus

Jūsu faili nekad neatstāj jūsu ierīci. Visa apstrāde notiek lokāli jūsu pārlūkprogrammā.

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.

Kā tas darbojas

1
Izvēlēties failu
Drop your file into the tool above. It stays entirely on your device — nothing is sent to any server.
2
Apstrādāt
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Lejupielādēt
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

Kāpēc izmantot mūsu rīku?

Pilnīgi bezmaksas — nekad nav slēptu izmaksu
Nav nepieciešams konts, e-pasts vai pieteikšanās
Faili nekad neatstāj jūsu ierīci
Nav nekādu faila izmēra ierobežojumu
Nav ūdenszīmju nevienā izvadē

Also check out…

Bieži uzdotie jautājumi