Convert image file to Base64 image

Select a file from your computer to convert to base 64 image. Then you can copy the resulting code and embed it in html or css. Max file size 1024 KB

This is a sample view of the uploaded image. You can preview it in the source code of this page.


Copy and paste the following code snippet to embed your base64 formatted image using the "img" tag.

Copy and paste the following code snippet if you want the image to be css background.