Image to Base64 converter
Developer toolEncode any image as a Base64 data URI. Processed entirely in your browser — nothing is uploaded.
In-browser
No upload needed
Instant
No server call
5 MB
Max file size
Drop an image here, or click to browse
PNG, JPG, SVG, GIF, WebP · Max 5 MB
Your file never leaves your device. Encoding happens entirely in your browser.
Frequently asked questions
Base64 encoding converts binary image data into a text string that can be embedded directly in HTML, CSS, or JSON. The browser decodes it back to an image at render time.