🖼️
🎨

Inline an Image in CSS

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

No cal iniciar sessióEls fitxers es mantenen privats

Deixa els fitxers aquí o fes clic per navegar

PNG, JPG, WebP, GIF, SVG, AVIF, X, Image sense límit de mida de fitxer

Navegar pels fitxers

Els teus fitxers no surten mai del teu dispositiu. Tot el processament es fa localment al teu navegador.

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.

Com funciona

1
Triar fitxer
Drop your file into the tool above. It stays entirely on your device — nothing is sent to any server.
2
Processa
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Descarrega
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

Per què usar la nostra?

Completament gratuït — sense costos ocults, mai
No cal compte, correu electrònic ni inici de sessió
Els fitxers no surten mai del teu dispositiu
Sense cap límit de mida de fitxer
Sense marques d'aigua en cap sortida

Also check out…

Preguntes freqüents