How to use the Base64 Encode / Decode
Base64 represents binary data with 64 printable characters. It's used in data URIs, email attachments, JWT tokens and HTTP Basic auth. This tool handles Unicode text correctly (the browser's plain btoa fails on non-Latin characters).
Frequently asked questions
Is Base64 encryption?
No. Anyone can decode it. It's an encoding, not a way to protect secrets.
Why is the Base64 output bigger?
Base64 adds about 33% because it stores 3 bytes in 4 characters.