Image to Base64 Converter

Convert images to Base64 encoded strings. Useful for embedding images directly in HTML, CSS, or JavaScript.

Drop an image here or click to select

Or press Ctrl+V to paste from clipboard

Supports: PNG, JPG, GIF, SVG, WebP

What is Base64?

Base64 encoding converts binary data into ASCII text. This allows images to be embedded directly into HTML, CSS, or JSON without separate file requests.

Use Cases

  • Embed small icons in CSS
  • Include images in email templates
  • Store images in JSON/databases
  • Reduce HTTP requests

Keyboard Shortcuts

  • Ctrl + V - Paste image from clipboard
  • Ctrl + L - Open file picker
  • Ctrl + Shift + C - Copy Base64 output
  • Ctrl + S - Download output
  • Escape - Clear all
  • Double-click output - Select all text