Developer
Image to Base64
Inline it anywhere.
Turn an image into a Base64 data URI for CSS, HTML or JSON — or paste Base64 to get the image back.
Image to Base64
PNG, JPG, WebP, GIF, SVG, ICO · 50 MB max Waiting for an imageEncoded on your device
Options
EncodeDirection
Re-encodingNone — exact bytes
Size overheadAbout +33%
Your files never leave your device
Fast local processing
Start over anytime
Guide
How to use it
- 01Drop an image to get its data URI, Base64, CSS and HTML versions.
- 02Tap Copy next to the one you need.
- 03To go the other way, switch to Base64 → image and paste your string.
Good to know
Questions, answered
When should I use Base64 images?
For small icons and placeholders where saving a network request matters. For anything larger, a normal image file is faster because browsers can cache it and Base64 is about 33% bigger.
Is the image changed?
No. The file's exact bytes are encoded, so decoding gives you back the identical file.
Is anything uploaded?
No. Everything runs in your browser, so your files never leave your device.