What is Base32 Tool?
Base32 is a binary-to-text encoding scheme that uses a 32-character set, typically comprising the uppercase letters A-Z and the digits 2-7. It is defined in RFC 4648. Base32 is less efficient than Base64 (taking up more space) but has the advantage of being case-insensitive and avoiding visually ambiguous characters (like 'I', 'l', '1', '0', 'O'). This makes it ideal for human usage, such as typing product keys or verification codes manually. It is notably used in the generation of TOTP secrets for Two-Factor Authentication apps like Google Authenticator.
Input Formats
- Plain text
- Base32 strings
- Binary data
Output Results
- Base32 string
- Decoded text
- Copy-ready result
Key Features
Who is this for?
Two-Factor Auth
Encoding the secret key for Google Authenticator or Authy (which use Base32).
Product Keys
Generating license keys that are easy for users to type without confusion.
File Systems
Encoding filenames in case-insensitive file systems where Base64 might cause collisions.
How to Use
Paste your text or Base32 string.
Select 'Encode' to convert to Base32.
Select 'Decode' to convert back to text.
Copy the result.
Examples
Input
HelloOutput
JBSWY3DPCommon Errors
- Using '0', '1', or '8' (not in Base32 alphabet)
- Confusing with Base64
- Case sensitivity expectations (it's case-insensitive)
Code Examples
Python
import base64
encoded = base64.b32encode(b'Hello')
print(encoded)