Convert an image to base64 string. Image To Base64 Converter takes an image from a url or a computer and converts it to base64 image string. It also generates code for embedding base64 encoded image in HTML and CSS.