Image to Base64 Converter

Encode any image to a Base64 string, or decode a Base64 string back to an image. Everything runs in your browser — no files are uploaded.

🖼️

Drop an image here or click to browse

JPG, PNG, WEBP, GIF, SVG, BMP supported

What is Base64 Image Encoding?

📋 Embed in HTML/CSS

Use Base64 encoded images directly in img tags or CSS without a separate file request.

📦 JSON/API Transport

Embed images inside JSON payloads when sending data to APIs that accept Base64 encoded image data.

📏 Size Increase

Base64 encoding increases file size by approximately 33%. For large images, use a URL reference instead.

🔒 100% Private

All encoding and decoding happens locally in your browser. Nothing is sent to any server.