Private by design: your image is opened, edited and saved by your own browser with the Canvas API. It is never uploaded to a server, and the page keeps working offline once loaded.
What a data URI looks like
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA…
The prefix names the MIME type; after the comma comes the file encoded as Base64 text.
Why Base64 is about 33% bigger
Base64 turns every 3 bytes into 4 printable characters, so the text is 4 ÷ 3 ≈ 1.33 times the original size, plus padding. A 30 KB PNG becomes about 40 KB of text.
| File size | Base64 length (approx.) |
|---|---|
| 1 KB | 1.37 KB |
| 10 KB | 13.7 KB |
| 50 KB | 68 KB |
| 100 KB | 137 KB |
| 1 MB | 1.37 MB |
When to inline images
- Good: tiny icons and logos (under ~5 KB), email signatures, single-file HTML documents, JSON payloads.
- Avoid: large photos. Inlined images cannot be cached separately and slow down the page that contains them.