Image to Base64
Convert images to Base64 data URIs. Perfect for embedding images directly in HTML or CSS.
Helpful?
Thank You!
Thanks for your feedback!
Already Rated
You have already rated this tool.
Upload Image
Drag & drop an image here
or click to browse
Preview
--
Width
--
Height
--
File Size
--
Type
Options
Base64 Output
0 characters
~0 KB
Usage Examples
<img src="data:image/png;base64,..." alt="Image">
.element {
background-image: url('data:image/png;base64,...');
}
const img = new Image();
img.src = 'data:image/png;base64,...';