1. To convert image to Base64: click "Select image..." and upload your image. Base64 will be generated automatically (for images over 2MB, please wait 3-5 seconds).

2. To convert Base64 to image: paste the Base64 string in the box below and click "Base64 to Image".

Select image...

Image and Base64 Conversion

Supports PNG, GIF, JPG, BMP, ICO formats. Convert images to Base64 for direct embedding in HTML, CSS, or JS—no separate file uploads, fewer requests. Ideal for small icons and mobile development. The generated data:image/xxx;base64,... can be used in img src or CSS background-image.