Image to Base64
Get the Data URL or raw Base64 of any image for HTML, CSS or JSON.
Drop an image to encode
PNG, JPG, WebP, BMP, GIF, SVG
How it works
- Drop a file into the upload area, or paste your content into the input box.
- Choose the output format and options, then start the conversion.
- Download the result — everything runs in your browser and nothing is uploaded.
Frequently asked questions
How long is the generated Base64?
About 1.33 times the image size, which suits icons and small images. Data URL includes the MIME prefix for img src; plain Base64 fits API fields.
Do my files get uploaded to a server?
No. All 12 tools run inside your browser, so files never leave your device. Closing the tab ends the session.