Hoppa till innehåll

Bild ↔ Base64

Konvertera bilder till Base64-sträng och vice versa. Stöder PNG, JPG, WebP, GIF. Bearbetas i webbläsaren.

Image Base64 Converter is a free online tool that encodes images to Base64 strings or decodes Base64 back to images. All conversion happens in your browser — no data is sent to any server. Useful for embedding images inline in HTML/CSS, transmitting image data via APIs, and reducing HTTP requests.

Dra och släpp en bild eller klicka för att välja

lock Filer skickas inte till någon server

Hur använder man Bild ↔ Base64?

  1. Select Image → Base64 or Base64 → Image mode.
  2. Upload an image or paste a Base64 string.
  3. Copy or download the result.

Vanliga frågor om Bild ↔ Base64

Where is Base64 encoding used?

It's used for email attachments, inline CSS background images, API data transmission, and more.

Tips för att använda Bild ↔ Base64 effektivt

  • Base64 encoding increases file size by ~33%, so it's best suited for small icons and logos.
  • Using data URIs in CSS reduces HTTP requests and can improve page loading speed.
  • For large images, serving as regular files is better for caching and performance than Base64.