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 picture 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, you can 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. Suppose 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...") ;)

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

6. Image conversion Base64, mobile development, HTML5, CSS3 essential tools, 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 some of the relative path and other issues lead to picture 404 error.

Access logs: