Is this Base64 image converter free?
Yes. This image Base64 converter is completely free with no sign-up or limits on how often you encode or decode.
Does it upload my image or Base64 string to a server?
No. Encoding, decoding, previewing, and download all happen in your browser, so your image and data stay private on your device.
Can it decode a full data URL?
Yes. You can paste either a complete data URL or just the raw Base64 payload, and the tool rebuilds the image locally.
What can I do with a Base64 image string?
You can inline small images in CSS or HTML, embed them in JSON or config files, or paste them into systems that only accept text.
Does it work on mobile?
Yes. The converter runs in any modern browser, including mobile, so you can encode or decode Base64 images on your phone.
How much bigger does Base64 make my image?
About a third. Base64 encodes every three bytes as four ASCII characters, which is a fixed 33% increase, plus a few characters of prefix. That growth is why inlining is worth it only for small assets, where saving a network round trip beats the extra bytes.
When should I inline an image as a data URL?
For small, critical, above-the-fold assets that would otherwise cost a separate request: a tiny logo, a UI icon, a one-pixel gradient, a placeholder. For anything larger, a normal file reference wins, because the browser can cache it independently, load it in parallel, and skip it entirely if it is off-screen.
Can I compress the image before encoding it?
Not in this tool, and you should. Base64 amplifies whatever you feed it by a third, so a wasteful PNG becomes a wasteful and much longer string. Run the file through the compressor or convert it to WebP first, then encode. Shaving 40% off the binary shaves 40% off the Base64.
Why does my decoded image come out as the wrong format?
Because the string had no data URL prefix to read the type from. When you paste a bare Base64 payload, the format falls back to whatever is selected in the menu, so pick the right one from PNG, JPG, WebP, GIF, or BMP. If you paste a complete data URL, the prefix is used instead and the menu is ignored.
Is the Base64 payload sent anywhere?
No. Encoding reads the file with the browser's own file reader and decoding builds a blob in memory, both on your device. That matters because Base64 strings routinely turn up in bug reports, API logs, and pasted config, and they are trivial to decode. The only network call is a credit counter carrying the tool name.