Select image to convert
(Size Limit: 2MB per file | Supported Formats: JPEG & PNG)
Convert image to Base64 online and use the result string as data URI, IMG src, CSS background-URL, and others. Sometimes you have to send or output an image within a text document (for example, base64 String, CSS, Image Source), but you cannot do this because binary characters will damage the syntax of the text document. To prevent this, for example, you can encode an image to Base64 and embed it using the data URI. Please note that the image to Base64 encoder accepts any image types with a size of up to 50 MB. If you are looking for the reverse process, check Base64 to Image.