← All tools
// Encode

Base32 Encoder & Decoder online

Convert text to Base32 and back instantly - RFC 4648 standard.

Base32 Encoder / Decoder logo
by
CHUNKY
MUNSTER
// Output

How to Use the Base32 Converter

  1. Select Encode or Decode mode.
  2. Paste your text (or your Base32 string) into the input.
  3. Click Run - the converted output appears instantly.
  4. Copy the result or download it as a text file.

Base32 Encoder & Decoder: encode text to Base32 and decode it back instantly. Base32 encodes arbitrary binary data as uppercase letters A–Z and digits 2–7, producing strings that are case-insensitive and avoid visually ambiguous characters like 0/O and 1/I/l. It is used in TOTP authenticator secrets (Google Authenticator, Authy), file system paths on case-insensitive systems, and DNS-safe identifiers. This binary to base32 converter implements the RFC 4648 standard.

Reliable 2FA Secret Code Processing

Base64 is more compact, but it uses characters that cause problems in URLs and case-insensitive contexts. Base32's alphabet is entirely uppercase and avoids ambiguous characters, making it safer for human transcription and QR codes. This text to base32 converter ensures that your 2FA configuration steps are accurate and reliable. The trade-off is ~60% overhead versus Base64's ~33%.

Frequently Asked Questions

Why does TOTP use Base32 for secrets?

Base32 strings are safe to type, case-insensitive, and free of characters that are easily confused visually. When users manually enter a 2FA secret code from a screen or paper, Base32 reduces transcription errors.

What is the expansion ratio of Base32?

Every 5 bytes of binary data become 8 Base32 characters - a 60% expansion. Base64 gives 33% expansion (3 bytes → 4 characters). Base32 is less compact but more human-friendly.

Why does Base32 skip the digits 0 and 1?

Zero looks like the letter O, and one looks like the letter I or l. RFC 4648 deliberately excludes them from the alphabet to prevent confusion when humans read or transcribe Base32 strings.

Is there a URL-safe version of Base32?

The standard Base32 alphabet (A–Z, 2–7) is already URL-safe - no characters require percent-encoding in URLs. Base64 needs a separate URL-safe variant that replaces + with - and / with _.

For secure and error-free encoding of authenticator secrets, bookmark this Base32 Encoder & Decoder.