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
- Drag and drop an image, or click to select a file.
- The Base64 string is generated automatically.
- Toggle the data URI prefix on or off as needed.
- 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.