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 compressor
Reduce image size with adjustable quality.
- 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.