Base64 Encoding Explained
Aug 16, 2026
Base64 turns bytes into ASCII. It is encoding, not encryption, and JWT uses a URL-safe variant.
Encoding is not encryption
UTF-8 then Base64
Base64URL
+ and / and often drops padding = . That is Base64URL. A standard decoder may fail on a JWT segment. Use the JWT decoder for tokens.