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

2. Convert Base64 encoding to pictures, please enter the box below, paste the base64 encoding, and then click the "Base64 to picture" button to convert it to a picture

Select Image...

Online image to base64, online base64 to image tool introduction

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

2. Convert pictures to Base64 encoding, which allows you to quickly insert pictures into other web pages and editors without uploading files. This is very convenient for some small pictures, because you don't need to find a place to save pictures.

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

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

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

6. Image conversion to Base64, a necessary tool for mobile development, HTML5, CSS3, CSS DataURI Base64 tool.

7. Convert pictures to base64 encoding. In web design and development, it is generally used on small pictures. It can not only reduce the number of picture requests (collected into js and css codes), but also prevent some relative paths And other problems lead to 404 errors in pictures.

Your Footsteps:

Popular tools: