🔒 Your data never leaves your browser

Base64 Image Encoder & Decoder

Convert images to Base64 data URIs for embedding in HTML, CSS, or JSON. Decode Base64 strings back to images.

🖼️ Image → Base64
🔤 Base64 → Image
📤

Drop an image here or click to browse

You can also paste an image from clipboard (Ctrl+V)

Supports PNG, JPEG, GIF, SVG, WebP, BMP, ICO

image.png

Original: 0 KB
Base64: 0 KB
Increase: 0%
Type: image/png
Dimensions: 0×0
Preview

When to Use Base64 Images

✅ Good For

  • Small icons and logos (< 10KB)
  • Email HTML templates
  • Reducing HTTP requests
  • CSS background images
  • Single-file HTML documents
  • Inline SVG alternatives

❌ Avoid For

  • Large images (> 100KB)
  • Images that change often
  • When caching matters
  • Photos and complex images
  • When page load time is critical
  • Lazy-loaded content