Image to Base64
Encode an image as a Base64 data URL for embedding directly in HTML, CSS or JSON.
Upload an image
Drag & drop files here, or
Converted instantly to a Base64 data URL
How It Works
- 1Upload an image.
- 2The Base64 string is generated instantly.
- 3Copy it to your clipboard.
Features
- Instant conversion
- One-click copy
Privacy
This tool runs entirely in your browser using the Canvas API — your image is never uploaded to a server.
Frequently Asked Questions
It lets you inline small images directly in HTML or CSS without a separate file request.