- Home
- Image
- Image to Base64
Image to Base64
Convert between image files and Base64 data URLs.
The Image to Base64 tool converts image files into Base64 data URLs and decodes Base64 image data back into a downloadable image. This is useful for embedding small images in HTML, CSS or JSON.
Mode
How to use
- Choose Encode or Decode mode.
- Select an image file or paste Base64 image data.
- Copy the data URL or download the decoded image.
Frequently asked questions
Will the data URL be very long?
Yes, Base64 expands binary data; it is best for small images.
Is the file uploaded?
No, conversion happens locally.
Related tools
QR Code Generator
Generate QR codes from text and URLs.
Image Compressor
Batch compress images from files, drag-and-drop, paste, or URL.
Image Resizer
Resize images to exact dimensions.
Image Format Converter
Convert images between PNG, JPEG and WebP in the browser.
Image Placeholder Generator
Create custom placeholder images with size, color and text.
Image to ASCII
Convert an image into ASCII art with adjustable brightness, contrast, inversion, and custom character sets.