Toolora

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

  1. Choose Encode or Decode mode.
  2. Select an image file or paste Base64 image data.
  3. 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.