How to use it
- 1
Choose encode or decode.
- 2
Paste your text or Base64 string.
- 3
For use in URLs or JWTs, turn on the URL-safe option.
- 4
Copy the result.
Base64 is encoding, not encryption
Anyone can decode Base64, so it never protects a secret. It exists to move bytes through systems that only accept text, such as email bodies, data URLs and JSON fields.
Base64URL replaces + and / with - and _ and drops the = padding, so the result can sit inside a URL or a JSON Web Token without escaping.
Questions
Why does decoding show strange characters?
The data is probably binary, such as an image, rather than text.
Why is the encoded text longer?
Base64 uses four characters for every three bytes, about 33% more.
Is my input sent anywhere?
No. Encoding and decoding run in your browser.
Updated:
