TOTP key in Base32
- Input
- JBSWY3DPEHPK3PXP
- Expected output
- Bytes: 48 65 6c 6c 6f 21 de ad be ef
This is the key "Hello!\xde\xad\xbe\xef" encoded in Base32 — classic RFC example.
base32 totp 2fa authenticator key
When you scan a 2FA authentication QR code or type a manual key, you are using Base32. The TOTP protocol (RFC 6238) uses Base32 as the interchange format for secret keys because it is case-insensitive, has no ambiguous characters and is easy to type.
This is the key "Hello!\xde\xad\xbe\xef" encoded in Base32 — classic RFC example.
Use the result as technical or educational support, keeping the tool limits explicit in the workflow.
Base64 uses 64 characters (A-Z, a-z, 0-9, +, /) and is more compact (~33% overhead vs ~60% for Base32). Base32 uses only 32 unambiguous uppercase characters (no l/1, 0/O confusion), making it better suited for human typing, case-insensitive systems and contexts that restrict the character set.
Yes, to verify the Base32 format of a backup key. Never enter active 2FA keys into unknown websites. In this case, decoding is performed entirely in your browser — no data is sent to any server.
No. It helps explain the scenario and use the tool more safely, but real decisions should consider official sources, full context and qualified guidance when needed.