Image to Base64 Converter

Drag the picture here to convert the picture to base64 format
Only supports single image upload


    Image to BASE64 encoding tool provides PNG to Base64, GIF to Base64, JPEG to Data64 conversions. You only need to drag the picture to the designated area to complete the operation.

    Base64 format


    Use of Base64 images in CSS

    .demoImg{ background-image: url("data:image/jpg;base64,/9j/4QMZRXhpZgAASUkqAAgAAAAL...."); }

    Use of Base64 images in HTML

    <img width="40" height="30" src="data:image/jpg;base64,/9j/4QMZRXhpZgAASUkqAAgAAAAL...." />