Convert Image To Base64 Online

Form for converting Images to Base64

This form allows you convert Image to Base64:

Just drag and drop files here
Your result can be seen below.

Result of converting Image to Base64

Base64 String:

Image Source:

Just paste this into your HTML.

CSS background Source:

Add this to your CSS file in needed class.

About Converting Image to Base64

About Image conversion to Base64 string

The Convert Image to Base64 was created for quickly upload an image and convert it into base64 string. The result can be used in place of an actual image inside your HTML, such as the value inside an IMG src property or used in CSS as the value inside background-image. So the browser does not need to extra request server URL of the image and you can speed up your pages using the Image to Base64 Online.

How it Works?

Just upload your Image and you will receive a response in 3 formats of Base64:

  • Base64 String
  • Base64 for HTML as img
  • Base64 for CSS as background-image
You can upload only Images: png, jpg, gif or svg files.
We don't keep any files or personal data on our server.