Base32 Encoder/Decoder

Encode text to Base32 or decode Base32 strings. Perfect for data encoding and transmission.

What is Base32?

Base32 is a binary-to-text encoding scheme that represents binary data in an ASCII string format using a base-32 representation.

  • • Uses 32 characters: A-Z and 2-7
  • • Case-insensitive (unlike Base64)
  • • Human-readable and suitable for filenames
  • • Commonly used in authentication systems

Common Uses

  • 2FA/TOTP: Two-factor authentication secrets
  • File Systems: Case-insensitive filenames
  • URLs: Human-readable identifiers
  • License Keys: Product activation codes

Tips

  • • Base32 encoded strings are approximately 60% larger than the original
  • • Padding with = signs ensures the output length is a multiple of 8
  • • Base32 is less efficient than Base64 but more human-friendly
  • • All processing happens in your browser - no data is sent to any server

Frequently Asked Questions

What is Base32 encoding used for?

Base32 encoding is commonly used for 2FA/TOTP secrets, file systems that are case-insensitive, generating human-readable IDs, and creating license keys. It's preferred when you need an encoding that avoids confusing characters and is safe for manual entry.

How do I decode a 2FA secret?

To decode a 2FA secret, paste your Base32-encoded secret (like JBSWY3DPEBLW64TMMQ) into the decoder, select "Decode" mode, and the tool will instantly show you the original secret. Remember to keep your 2FA secrets secure and never share them publicly.

Why does Base32 only use certain characters?

Base32 uses only uppercase letters A-Z and numbers 2-7 to avoid confusion. It excludes 0, 1, 8, and 9 because they can be confused with letters O, I, B, and g. This makes Base32 ideal for scenarios where codes might be read aloud or typed manually.

Is Base32 secure for passwords?

Base32 is an encoding scheme, not encryption. It's not secure for passwords as anyone can decode it. For passwords, use proper hashing algorithms like bcrypt or Argon2. Base32 is meant for representing binary data in a human-friendly format, not for security.

What's the difference between Base32 and Base64?

Base32 uses 32 characters (A-Z, 2-7) and creates longer encoded strings, while Base64 uses 64 characters (A-Z, a-z, 0-9, +, /) and is more space-efficient. Base32 is case-insensitive and more human-friendly, while Base64 is better for automated systems where space efficiency matters.