Base32 Encoder/Decoder

Encode and decode Base32 strings for TOTP, 2FA, and case-insensitive encoding

Standard Base32 Alphabet:

ABCDEFGHIJKLMNOPQRSTUVWXYZ234567

RFC 4648 Standard: A-Z (26 letters) + 2-7 (6 digits) = 32 characters

Text Input

0 characters

Base32 Output

Usage Instructions

What is Base32?

Base32 is a binary-to-text encoding scheme that uses 32 characters to represent binary data. It uses only uppercase letters and digits, making it case-insensitive and suitable for systems that don't distinguish between upper and lowercase. Base32 is commonly used in TOTP (Time-based One-Time Password) applications like Google Authenticator, as well as in various network protocols and distributed systems.

Variants:

  • Standard (RFC 4648): Uses A-Z and 2-7. Most common variant, used in TOTP/OTP applications
  • Extended Hex: Uses 0-9 and A-V. Preserves sort order of encoded data

How to Use:

  1. Select "Encode" mode to convert text to Base32, or "Decode" mode to convert Base32 back to text
  2. Choose the Base32 variant: Standard (RFC 4648) or Extended Hex
  3. Enter your text or Base32 string in the left input box
  4. The result will automatically appear in the right output box
  5. Use "Swap" button to quickly reverse the process with the output

Common Use Cases:

  • TOTP/2FA secret keys (Google Authenticator, Authy)
  • Encoding data for case-insensitive systems
  • Geohash encoding for location data
  • Network protocols (DNSCurve, ZBase32)
  • Distributed hash table (DHT) implementations

Advantages:

  • Case-insensitive (can be spoken over phone or written down)
  • No special characters that might be confused (0 vs O, 1 vs I vs l)
  • Suitable for human transcription
  • Works well in URLs and file names

About Base32 Encoder/Decoder

Comprehensive Base32 encoder and decoder supporting both RFC 4648 Standard and Extended Hex variants. Base32 uses 32 characters (A-Z and 2-7 for standard, 0-9 and A-V for hex) making it case-insensitive and ideal for human transcription. Widely used in TOTP/2FA applications (Google Authenticator, Authy), geohash encoding, and distributed systems. Features include variant selection, automatic padding, character validation, swap functionality, and detailed statistics. Perfect for generating or decoding TOTP secret keys, encoding data for case-insensitive systems, and working with protocols that require Base32 encoding.

Explore More Encoding

Discover all tools in the encoding category

Browse Category