Free Tool

Free Base64 Image Converter

Convert any image to a Base64 string — or paste a Base64 string to preview and download the image. Supports PNG, JPG, GIF, WebP, SVG and more. Everything runs in your browser; no file is ever uploaded.

1. Choose an image

2. Base64 output

Upload an image to see its Base64 string here.

Encoded in your browser. Your image never leaves your device.

All formats supported

Upload PNG, JPG, GIF, WebP, SVG or BMP images. The output includes the correct MIME type prefix so the data URI works directly in HTML, CSS or JavaScript.

Data URI or raw Base64

Toggle between a full data URI (ready to paste into an <img src> or CSS <url()>) and the raw Base64 string (useful for APIs, databases or backend code).

Private & offline

No uploads, no external API, no sign-up. Every conversion happens locally in your browser — your images never leave your device.