Base32 Encoder Decoder
Instantly encode text to Base32 or decode Base32 back to text. 100% browser-based, zero data upload. RFC 4648 compliant. Ideal for TOTP secrets, OTP keys, QR code data, and binary-to-text conversion.
What is Base32 encoding?
Base32 is a binary-to-text encoding scheme that represents binary data using 32 ASCII characters (A-Z and 2-7) as defined in RFC 4648.
When should I use Base32 instead of Base64?
Base32 is useful when you need case-insensitive encoding, or when the data may be processed by systems that are not 8-bit clean (like some email systems).
What is the padding character in Base32?
Base32 uses "=" as the padding character to make the encoded output length a multiple of 8 characters, as required by RFC 4648.
Is Base32 encoding reversible?
Yes, Base32 encoding is fully reversible. You can decode any valid Base32 string back to its original binary data without loss.
What are TOTP secrets and why use Base32?
TOTP (Time-based One-Time Password) secrets are used for two-factor authentication. Base32 is the standard encoding format for TOTP secrets because it's case-insensitive and easy to read.
Can Base32 encode Unicode text?
Yes, but you need to first convert Unicode text to bytes (UTF-8 encoding), then encode those bytes to Base32.
How does Base32 compare to Base64 in efficiency?
Base32 is less efficient than Base64 - it increases data size by about 20% compared to Base64's 33% increase. However, Base32 is more human-readable and case-insensitive.
What is the Base32 alphabet?
Base32 uses A-Z (26 letters) and 2-7 (6 digits) for a total of 32 characters. The characters 0, 1, 8, and 9 are not used to avoid confusion.
Is this tool safe for sensitive data?
Yes, this tool runs 100% in your browser. Your data never leaves your device and is never sent to any server.
Can I decode Base32 without padding?
Yes, most Base32 decoders including this tool can handle Base32 strings with or without padding characters.
What is Base32Hex encoding?
Base32Hex is a variant of Base32 that uses 0-9 and A-V instead of A-Z and 2-7, designed to preserve the numerical order of the encoded data.
How is Base32 used in QR codes?
Base32 is sometimes used to encode data in QR codes because it's compact and case-insensitive, making it easier to scan and decode.