How to use
- Enter text and press “Encode” or “Decode”.
- For files, use “File to Base64” to get a data URL.
- Copy the result, or use “Base64 to file” to download it.
Turn text or files into Base64 and Base64 back into text or files. Non-Latin text stays intact.
🔒 What you enter never goes to a server — every calculation happens on your device (in your browser).
Base64 lets data such as images travel through places that only handle text — email, JSON, data: URLs in HTML. It makes data about 4/3 larger. It isn't encryption; anyone can decode it.
The + / = characters of standard Base64 have special meaning in URLs. URL-safe Base64 uses - and _ instead and drops the trailing =. JWTs use this form.
This tool uses UTF-8, so text stays intact. If Base64 from another tool is garbled, that tool probably used a different character encoding.
Use “File to Base64” to get an address starting with data:image/… and put it in an img src.
Up to 20 MB.
No. Everything is converted in your browser.