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.
1. Paste your Base64 string
2. Image preview
Paste a Base64 string and click Convert to see the image here.
Decoded in your browser. No data is sent to any server.
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.
