Image Base64 Encode

Encode image file(s) to Base64 string.

Enter image to be encoded

What is Image Base64 Encode?

A simple tool to convert image files to Base64 encoded strings.

Since the conversion process is completed on the browser, the images are not uploaded to the server, making it fast and safe to use.

How to use Image Base64 Encode

Simply select or drop the image files you wish to convert!
Up to 20 images can be converted at a time (if the number of images exceeds 20, no conversion will be performed).
If the images are large, it may take some time to convert and copy the Base64-encoded string after conversion. In this case, please wait until the process is finished.

About Base64 encoded data

Base64 data after encoding can be output in several different formats.

Base64 data (Raw data)

Outputs Base64 encoded data without Data URI declaration (e.g. data:image/png;base64,).

Base64 data (with DataURI declaration)

Outputs Base64 encoded data with Data URI declaration.

HTML img tag

Output as HTML img tag.

CSS Background Image

Output as CSS background-image property.

Image Data Details

You can check the Base64 encoded image and the image information such as "image name", "last modified date", and "height and width size".