$ convert --img --base64
base64 image converter.
Encode images to Base64 data URIs or decode them back into viewable images.
encode image to base64
drop an image here or click to browse
upload an image to get started.
decode base64 to image
1
2
3
4
5
2
3
4
5
0 / ∞ chars
no image decoded yet.
paste a Base64 data URI and click "decode & preview".
Drag and drop or click to select an image file. The tool converts it to a Base64 data URI that you can embed directly in HTML or CSS.
Yes, paste a Base64 data URI and click decode. The tool renders the image preview and offers download as the original file format.
PNG, JPEG, GIF, WebP, and SVG. The format is detected automatically from the file or data URI header.
learn more in our detailed guide.
→ read the guide