How to use it
- Choose an image to get its Base64.
- Select the output style: data URI, raw Base64, CSS or HTML tag, then copy.
- To decode, paste Base64 in the lower box and press Decode.
Example
A 1 KB PNG icon becomes about 1.4 KB of Base64 text that you can paste into a CSS background-image rule.
Benefits
- One-click snippets for CSS and HTML.
- Decoder detects common image types from the data.
Limitations
- Base64 is about 33 percent larger than the file and is not cached separately, so use it only for small images.
- This is encoding, not encryption.
Frequently asked questions
When should I use Base64 images?
For tiny icons or email templates. Larger images load faster as normal files.
Is my image uploaded?
No. Encoding happens locally.