1. Convert the image to Base64 encoding, click the "Select Image..." button, upload the image to be converted, and the Base64 encoding will be automatically generated ( If the image size exceeds 2M, please wait patiently for about 3-5 seconds.

2. To convert Base64 encoding into an image, please enter the box below, paste the base64 encoding, and then click the "Base64 Convert Image" button to convert to an image.

Select Image...

Online image conversion to base64, introduction to online base64 image conversion tool

1. Supports PNG, GIF, JPG, BMP, and ICO image formats.

2.将图片转换为Base64编码,可以让你快速地在没有上传文件的条件下将图片插入其它的网页、编辑器中。 这对于一些小的图片是极为方便的,因为你不需要再去寻找一个保存图片的地方。

3.假定生成的代码为"data:image/jpeg;base64, .....",那么你只需要全部复制,然后在插入图片的时候,地址填写这段代码即可。

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

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

6.图片转换Base64,移动端开发、HTML5、CSS3必备的工具,CSS DataURI Base64 工具。

7. Convert images to base64 encoding. In web design and development, it is generally used for small images. It can not only reduce the number of image requests (collected into js and css codes), but also prevent problems caused by relative paths and other issues. Image 404 error.