🖼️
🎨

Inline an Image in CSS

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

Ingen inloggning krävsFiler förblir privata

Släpp filer här, eller klicka för att bläddra

PNG, JPG, WebP, GIF, SVG, AVIF, X, Image ingen filstorleksgräns

Bläddra bland filer

Dina filer lämnar aldrig din enhet. All bearbetning sker lokalt i din webbläsare.

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.

Så här fungerar det

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

Varför använda vårt?

Helt gratis — inga dolda kostnader, någonsin
Inget konto, e-post eller inloggning krävs
Filer lämnar aldrig din enhet
Inga filstorleksgränser överhuvudtaget
Inga vattenstämplar på någon utdata

Also check out…

Vanliga frågor