Base32 Encode / Decode
Encode text to Base32 or decode a Base32 string back to text. RFC 4648 alphabet, UTF-8 safe.
About Base32 Encode / Decode
Convert text to Base32 (RFC 4648) or decode a Base32 string back to plain text. Base32 uses a 32-character case-insensitive alphabet (A–Z, 2–7) that is more robust than Base64 for case-insensitive systems, DNS, and TOTP secrets. Handles UTF-8 and runs entirely in your browser.
All processing happens entirely in your browser using modern web APIs. Nothing is uploaded to our servers — your data stays local and private. Free to use forever.
Common use cases
- Decoding or encoding TOTP/2FA secret keys (which use Base32)
- Encoding binary data for case-insensitive or DNS-safe transport
- Reading Base32 values from logs or configuration
- Working with systems that prefer Base32 over Base64
- Debugging Base32-encoded identifiers
How it works
For encoding, the input is converted to UTF-8 bytes which are regrouped from 8-bit into 5-bit chunks, each mapped to the RFC 4648 alphabet (A–Z, 2–7), then padded with = to a multiple of 8 characters. Decoding reverses this: each character maps to 5 bits which are regrouped into bytes and decoded as UTF-8. Decoding is case-insensitive and ignores padding.