What it does
Embed small images straight into HTML, CSS, JSON or email templates without hosting a file. Drop one or more images and each is read as Base64 in your browser, then shown in the format you pick: a full data URI, the raw Base64 string, a ready-made <img> tag or a CSS background-image rule. Copy it with one click or download it as a .txt file. The file’s bytes are encoded exactly as they are, with no re-compression. Very long strings are shortened on screen to keep the page responsive, but Copy and Download always include the whole text. Files up to 10 MB are accepted, and images over 50 KB get a warning, because at that size a normal image file usually loads faster.
How to use it
- Click “Choose images”, drop one or more images onto the box, or paste with Ctrl+V (⌘+V on a Mac).
- Pick “Data URI”, “Base64” (the raw string), “HTML” (an <img> tag) or “CSS” (a background rule).
- Click “Copy” to put it on your clipboard, or “Download .txt” to save it.
Common uses
- Embedding small icons and logos directly in HTML or CSS
- Storing images inside JSON, configuration files or test fixtures
- Quick placeholders in prototypes without hosting an image
Tips
- Optimize SVGs or compress PNGs first: every byte you save removes about 1.33 characters of Base64.
- Keep large images as normal files. Browsers cache them separately, which Base64 can’t do.