Binary to Base32 Converter
Paste a binary string (0s and 1s) and instantly get the RFC 4648 Base32 encoded output.
Use the Binary to Base32 Converter
Binary Input
Examples:
Base32 Output
0
Input bits
0
Bytes
0
Base32 chars
Bit-group Breakdown
Each block shows a 5-bit group and its Base32 character. Padded groups shown in gray.
Summary
This tool converts raw binary strings (sequences of 0s and 1s) into Base32 encoding as defined by RFC 4648. Base32 uses a 32-character alphabet (A-Z and 2-7) and pads output to multiples of 8 characters with = signs. It is commonly used in TOTP secrets, file checksums, and data encoding where case-insensitive text representation is required.
How it works
- Enter or paste your binary string (e.g. 01001000 01100101) into the input field.
- The tool groups the binary digits into 5-bit chunks.
- Each 5-bit group maps to a character in the Base32 alphabet (A-Z, 2-7).
- Padding characters (=) are appended so the output length is a multiple of 8.
- The resulting Base32 string is displayed and ready to copy.
Use cases
- Convert binary data to Base32 for use in TOTP/2FA secret keys.
- Encode binary payloads for case-insensitive transmission.
- Verify Base32 encoding logic when debugging authentication libraries.
- Learn how RFC 4648 Base32 encoding works step by step.
- Encode binary checksums or hashes in a compact text form.
- Convert binary representations from bitwise operations into Base32.
Frequently Asked Questions
Last updated: 2026-05-23 · Reviewed by Nham Vu