Image to Base64

Free online image encoder — drag & drop, batch convert, resize & copy in seconds

📁

Drag & drop images here or click to browse

PNG · JPEG · GIF · WebP · SVG · BMP

Instant Conversion

Encode any image to Base64 directly in your browser — no uploads, no servers, fully private.

📦

Batch Processing

Drop multiple images at once and get Base64 outputs for every file in parallel.

✂️

Resize & Compress

Set max dimensions and JPEG quality to control output size before encoding.

📋

5 Output Formats

Copy as raw Base64, Data URI, CSS background, HTML img tag, or Markdown image.

Frequently Asked Questions

What is Base64 encoding?
Base64 is a binary-to-text encoding that represents binary data (like images) as an ASCII string. It's commonly used to embed images directly in HTML, CSS, or JSON without requiring a separate file request.
Is my data sent to any server?
No. All conversion happens locally in your browser using the FileReader API and Canvas. Your images never leave your device.
What's the maximum image size?
There's no hard limit imposed by this tool. However, very large images (>10 MB) may produce extremely long Base64 strings that can slow down your browser. Use the resize option to reduce dimensions first.

📬 Feedback & Suggestions

Found a bug or have a feature idea? Drop us a message.