Convert an image to Base64
Small icons and images can be embedded right in HTML or CSS as a data URI – no extra request to the server.
- Free
- No upload
- No sign-up
How to
- Drop an image into the box above.
- The data URI is created instantly.
- Copy the string or the ready-made <img> code.
FAQ
When is Base64 worth it?
For small images (a few KB). Base64 is about a third larger than the original file.
Is the image resized?
No, it is converted as is. To make it smaller, use Resize image first.
More tools
- Resize image
- Compress JPG
- JPG to WebP
- PNG to JPG
- WebP to JPG
- JPG to PNG
- WebP to PNG
- AVIF to JPG
- TIFF to JPG
- BMP to JPG
- SVG to PNG
- Remove background
- Crop image
- Remove EXIF & GPS
- Add watermark
- Black & white photo
- Create favicon (ICO)
- Photo collage
- RAW to JPG
- Upscale image (AI)
- Colorize B&W photo
- Restore old photo
- Remove object from photo
- Blur photo background
- Passport photo
- Blur faces
- Images to PDF
- Replace sky
- Circle crop (profile picture)
- Add text to photo
- Rotate image
- Add border
- EXIF viewer
- Color from image
- Meme generator
- Image to SVG
- Image to text (OCR)
- Screenshot beautifier
- Video to GIF
- Print photos on A4
- Bulk background remover
- Image to 100 kB
- Image to 200 kB
- Image to 1 MB
- Instagram post (1080 × 1350)
- Instagram Story (1080 × 1920)
- YouTube thumbnail (1280 × 720)
- Facebook cover photo (1640 × 856)