Convert Image To Base64


You can use this tool to easily convert images to Base64 Strings.

How do I use this tool?

Just upload your image (by using drag-and-drop) to this site. once your image is read the Base64 representation of it will be displayed in the text field.

Why should I convert images to Base64?

It is important to keep the number of web requests on your website as low as possible. Therefore it makes sense to embedd images, that need to be displayed on every page of your website (for example your logo), as Base64 Strings. Embedding them is as easy as using this kind of image tag:

<img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />

Pro Tip: You can share your current input by using the button below

This Tool is not Working Correctly?