How to use the image to Base64 converter
Encoding a picture takes one file and one click, and the result is ready to paste.
- Drop an image on the upload area or click it to choose one. The tool takes a single file at a time, and choosing another replaces the first. PNG, JPG, GIF, WebP and SVG all work.
- Open Output as and pick the form you need: Data URI (the default), Raw Base64, HTML <img> tag or CSS background-image.
- Click Convert to Base64. To try another style, change the menu and click the button again.
- Read the result card. It shows a thumbnail, the image size, the size of the text, the overhead as a percentage and the file type, above a read-only box holding the output.
- Click Copy to put the text on your clipboard, or Download to save it as a text file named after your image.