Image to Base64
Image to Base64
Get a Base64 string or data URI, ready to paste into CSS, HTML or JSON.
Runs on your device. Nothing is uploaded.
How it works
Add images
Drop images or SVGs, or click to browse. Text appears right away.
Choose an output
Pick the form you need, such as a CSS rule or an img tag.
Shrink it if you like
Turn on WebP re-encoding for a much shorter string.
Copy or download
Copy the text, or save it as a .txt file.