How to Encode Image to Base64?


Follow these steps to encode the image to Base64 string:

  1. Go to
  2. Click on the Choose Files button or Drag and Drop the images to the file drop zone.
  3. After uploading the files it will immediately encode the images to the Base64 string as shown in the below image.
  4. Now copy the Base64 string and use it in your programs.

Read also: Resize Base64 Image in JavaScript.