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

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

  1. Enter or paste your binary string (e.g. 01001000 01100101) into the input field.
  2. The tool groups the binary digits into 5-bit chunks.
  3. Each 5-bit group maps to a character in the Base32 alphabet (A-Z, 2-7).
  4. Padding characters (=) are appended so the output length is a multiple of 8.
  5. 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