Base32 Encoder and Decoder
Encode text or binary data to Base32 format for human-readable encoding, or decode Base32 strings to retrieve the original data. Commonly used in various protocols and applications.
How the Base32 Encoder/Decoder Works
Our Base32 encoder/decoder converts binary data to and from Base32 format, a binary-to-text encoding scheme using 32 ASCII characters. Base32 is more human-readable than Base64 and case-insensitive, making it ideal for manual entry and voice transmission.
Encoding Process
- Input data is converted to a stream of bits
- Bits are grouped into 5-bit chunks
- Each 5-bit value (0-31) maps to a Base32 character
- Base32 uses A-Z and 2-7 (32 characters total)
- Padding (=) is added to make output length divisible by 8
- Output is case-insensitive Base32 string
Common Use Cases
Two-Factor Authentication
TOTP secrets for authenticator apps are commonly encoded in Base32 for easy manual entry.
DNS Records
Base32 is used in DNS for encoding binary data in domain names (case-insensitive).
Manual Data Entry
Encode data for voice transmission or manual entry where case sensitivity causes errors.
Filesystem Names
Use Base32 for encoding binary data in filenames on case-insensitive filesystems.
What to Know Before Using This Tool
Base32 Character Set
Base32 uses: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 2 3 4 5 6 7. Note: No digits 0, 1, 8, 9 to avoid confusion with letters O, I, B.
Size Overhead
Base32 increases data size by approximately 60% (8 characters encode 5 bytes). This is more overhead than Base64 but provides better human readability.
Frequently Asked Questions
Why use Base32 instead of Base64?
Base32 is case-insensitive and uses only characters that are safe in filenames and URLs without encoding. Better for manual entry and voice transmission.
Is Base32 case-sensitive?
No, Base32 is case-insensitive by design. "ABC" and "abc" decode to the same value. This makes it ideal for manual entry where case errors are common.
What is Base32-Hex?
Base32-Hex (RFC 4648) uses 0-9 and A-V instead of A-Z and 2-7. It sorts lexicographically like hex. This tool uses standard Base32 (RFC 4648 Section 6).
Other Free Tools
Base64 Encoder/Decoder
Base64 Encode and Decode Online
UTF-8 Encoder/Decoder
UTF-8 Encoder and Decoder
Binary Encoder/Decoder
Binary Encoder and Decoder
Hex Encoder/Decoder
Hexadecimal Encoder and Decoder
ASCII to Hex Converter
ASCII to Hex Converter: Text to Hexadecimal Translator
Barcode Generator
Free Barcode Generator
Binary to Text Converter
Binary to Text Converter
Free Printable Calendar Maker
Create & Print Your Custom Calendar
Pie Chart Maker
Free Pie Chart Maker Online