Image → Base64
Encode an image file as a Base64 data URL.
Enable JavaScript to use the interactive tool. Your inputs are processed in your browser.
How to use this tool
Choose a browser-supported image and select Encode. Copy the data URL or download it as a text file. The original file bytes are preserved, including metadata.
Related tools
- Image metadata viewer
Inspect image properties and EXIF metadata.
- Image converter
Save images as PNG, JPEG or WebP.
- Image Optimizer
Optimize, resize and compare images individually or in bulk.
- Image resizer
Set image dimensions and keep proportions.
- Image cropper
Crop an image using pixel coordinates.
- Image rotate / flip
Rotate images and flip them horizontally or vertically.
- Base64 → image
Decode an image data URL or Base64 string.
- EXIF remover
Export an image without its original metadata.
- QR code reader
Read a QR code from a local image.
- Image to PDF
Save an image as a PDF page.
- PDF page to image
Render a PDF page as an image.
- Batch image converter
Convert a queue of images locally.
- Batch image compressor
Compress several images with the same settings.
- Batch image resizer
Resize several images with the same settings.