1. Convert the picture to Base64 encoding, click the "Select Picture..." button, upload the picture to be converted, and the Base64 encoding can be automatically generated (If the picture size exceeds 2M, please be patient for about 3-5 seconds.)

2. Convert the Base64 encoding to a picture. Please paste the base64 encoding in the text box below, and then click the "Base64 to picture" button to convert it to a picture.

Select Picture...

Online picture to base64, online base64 to picture tool introduction

1. Support PNG, GIF, JPG, BMP, ICO image formats.

2. Convert the image to Base64 encoding, which allows you to quickly insert the image into other webpages and editors without uploading the file. This is extremely convenient for some small images, because you don't need to look for a place to save the image.

3. Assume that the generated code is "data: image/jpeg; base64,...", then you just need to copy it all, and then fill in this code when inserting the picture.

4. CSS uses: background-image: url ("data: image/png; base64,,/9j/4AAQSkZJRgABAgEAYABgAAD/7gAOQWRvYmUAZAAAAAAB...");

5. Use in HTML: < img src = "data: image/png; base64,,/9j/4AAQSkZJRgABAgEAYABgAAD/7gAOQWRvYmUAZAAAAAAB..."/>

6. Image conversion Base64, a must-have tool for mobile end development, HTML5, CSS3, CSS DataURI Base64 tool.

7. Converting images to base64 encoding is generally used for small images in web design and development. It can not only reduce the number of requests for images (collected into JavaScript and CSS code), but also prevent 404 errors due to problems such as relative paths.

Your footsteps: