Encode text as Base32 or decode Base32 back to text, using the standard RFC 4648 alphabet of capital letters and the digits 2 to 7. Decoding ignores spaces, dashes, lower case and missing padding, so you can paste a two-factor secret exactly as an app shows it. When the decoded bytes are not text, as with authenticator secrets, they are shown as hex.
Processing runs in your browser. What you type never leaves this device.
RFC 4648 alphabet with optional = padding
Decodes lower case, spaces and dashes
Binary results shown as hex bytes
UTF-8 text in any language
Swap to check a round trip
Runs in your browser; secrets never leave it
Authenticator apps share their TOTP secret as Base32 (the text under the QR code). Decode it to see the raw key bytes.
Base32 avoids 0/O and 1/l mix-ups and survives being read aloud or typed, which is why some licence keys and file systems use it.
Compare your code against the RFC test vectors: foobar encodes to MZXW6YTBOI======.
Base32 writes 5 bits per character, so every 5 bytes become 8 characters. It is about 20% longer than Base64 but uses only one letter case and no symbols other than = padding.
A TOTP secret is as sensitive as a password. This page decodes it in your browser and sends nothing, but avoid pasting live secrets on shared computers.
For the more common Base64, use the Base64 encoder. For hex bytes, use hex to text.
Base64 Encoder/Decoder
Encode and decode Base64
Text to Hex
Text to UTF-8 hex bytes with any separator or 0x / \x prefix
Hash Generator
Generate MD5, SHA hashes
Password Generator
Generate secure passwords
JSON Formatter
Format and validate JSON
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.