How to use this tool
- Choose or drop an image.
- Wait for the Base64 data URI to appear.
- Copy it into your HTML, CSS or JSON.
Example
A small PNG becomes a string like data:image/png;base64,iVBORw0KGgo… ready to embed.
How it works
The file is read as a data URL using the browser's FileReader, so nothing is uploaded.
Frequently asked questions
When is Base64 useful?
For embedding small images directly in HTML, CSS, SVG or single-file documents.
Is the string larger than the file?
Yes. Base64 adds roughly 33% overhead, so it is best for small images.