Kaizen OCR & PDF handles the heavyweight jobs — OCR, PDF conversion, merging, compression — entirely offline on Windows. Your files, your machine, no cloud.
Related browser tools: PNG to WebP and Compress Image.
Base64 re-writes binary data using 64 text-safe characters, so an image can travel anywhere plain text can: inside an HTML file, a CSS rule, a JSON payload or an API request. Wrapped as a data URI (data:image/png;base64,…) the browser renders it like any other image — no separate file, no extra HTTP request.
| Output | Paste it into |
|---|---|
| Data URI | Anywhere a URL goes — src attributes, CSS url(), markdown images |
| Raw Base64 | JSON fields, APIs and code that adds its own data: prefix |
| <img> tag | HTML — ready to drop in, alt attribute waiting to be filled |
| CSS background | A stylesheet rule, complete with url() wrapper |
Since Base64 multiplies whatever size you feed it, optimise first: convert to WebP with PNG to WebP, squeeze it with Compress Image, or scale it down with Resize Image — then encode the small version here. Going the other way (you have Base64 and want a file), paste the data URI into your browser's address bar and save the image; the free tools collection has converters for whatever format comes out.
Base64 represents every 3 bytes of binary as 4 text characters, a built-in +33% overhead. It trades size for portability — the image becomes copy-pasteable text.
The data URI is the Base64 string plus a header (data:image/png;base64,) telling the browser what it's looking at. Browsers need the full URI; many APIs want only the raw Base64 — the toggle above gives you either.
Only for very small images, where saving an HTTP request outweighs the 33% weight penalty. For anything over ~10 KB it usually makes pages slower, because inlined images can't be cached separately.
Browsers handle multi-megabyte data URIs, but pasting one into HTML or CSS is almost always a mistake — hence the warning. For big files, host them normally and link.
No. The FileReader API encodes it right in your browser — the file never leaves your device, and the tool works offline.