ScaleWhite Tools

Image to Base64

Convert images to Base64 encoded strings.

Drag & drop an image, or click to select

What is this tool?

A tool for converting image files to Base64-encoded Data URI strings. Useful for embedding images directly in HTML or CSS. All processing is done client-side — your images are never uploaded to a server.

How to use

  1. Drag and drop an image, or click to select a file.
  2. The Base64 string is generated automatically.
  3. Toggle the data URI prefix on or off as needed.
  4. Click Copy to copy the string to your clipboard.

Examples

  • Embed small icons directly in HTML.
  • Use Base64 images in CSS background-image properties.
  • Embed inline images in email content.
  • Send images as Base64 strings in API requests.