Base32 Encoder/Decoder
Encode or decode text using Base32 (RFC 4648) encoding.
About Base32 Encoder/Decoder
The Base32 Encoder/Decoder converts binary data to and from Base32 encoding as defined by RFC 4648, using a 32-character alphabet of uppercase letters A through Z and digits 2 through 7. Base32 was designed for contexts requiring case-insensitive encoding — it is used in TOTP (Time-Based One-Time Password) secret keys for two-factor authentication, Tor v3 hidden service addresses, and certain DNS label encodings. Base32-encoded strings contain no ambiguous characters that could be confused visually, making them safe for manual transcription.
How to Use
Paste text or raw data into the input field and click Encode to convert to Base32, or paste a Base32-encoded string and click Decode to recover the original bytes. The tool supports both standard RFC 4648 Base32 (uppercase, with = padding) and optional no-padding variants used in some protocols.
Common Use Cases
- Encoding TOTP or HOTP secret keys for QR code generation when setting up Google Authenticator or Authy two-factor authentication
- Decoding Base32 secret seeds from authenticator app backup codes and configuration URIs for account recovery
- Encoding binary data for DNS TXT records where case-insensitive values are required by the DNS protocol
- Working with Tor v3 onion addresses and decoding their Base32 encoded public key components for research
- Converting binary file hashes to Base32 for use as case-insensitive filename-safe identifiers in content-addressed storage