Encode an Image in base64

This tool allows to convert an image into base64 so that it can be used directly in HTML code (using the img tag) or in a CSS stylesheet (using the background property).

For more details, an example of using a base64 image with Google Sheets is available.

If the image is too large, resize it before converting it to base64. A compression utility is also available to reduce the image size.


Convert an Image to base64

Select the image