1、Convert pictures to Base64 encoding, click "Select Picture..." button, upload the picture to be converted, then Base64 encoding can be generated automatically. button, upload the image to be converted, you can automatically generate Base64 encoding ( If the size of the picture is more than 2M, please wait patiently for about 3-5 seconds.

2、Convert Base64 encoding to picture, please paste the Base64 encoding in the input box below, and then click "Base64 to Picture" button to convert to picture.

Select image...

Online image to base64, online base64 to image tool introduction

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

2.Converting images to Base64 encoding allows you to quickly insert images into other web pages, editors without uploading files. This is extremely handy for small images because you don't need to find another place to save the image.

3. Assuming the generated code is "data:image/jpeg;base64, ....." then you just need to copy it all and fill in the address with this code when you insert the image.

4. CSS use: background-image: url("data:image/png;base64,,/9j/4AAQSkZJRgABAgEAYABgAAD/7gAOQWRvYmUAZAAAAAAB...") The following is an example of the use of this method.

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

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

7.Convert images to base64 encoding, in web design and development, generally used for small images, not only to reduce the number of requests for images (collection of js, css code), but also to prevent because of some relative paths and other issues lead to picture 404 errors.

Access logs: