Convert Image to Base64 Online

Paste the image or drag and drop the image file here to convert to base64 image encoding
Base64 Image Encoded:
For use in <img> elements:
For use as CSS background Image:

Support feature

- Select photos from computer or from mobile device
- Paste photo from Clipboard or from screenshot
- Convert image from an image file path to base64 image

Convert images to base64

- Show base64 code of the image
- Display code used for Img tag in html
- Display code used for background, background-image properties in css with base64 images.

- Convert multiple files at the same time: currently updating more

Browser And File support

- Almost all popular browsers: Chrome, Safari, Firefox, Opera...
- Maximum image file size: Currently unlimited
- File format: All image file formats (eg: png, jpg, jpeg...)