Base32 Encoder & Decoder
Base32 encodes binary data using 32 ASCII characters (A-Z and 2-7 in RFC 4648). Each 5 bits maps to one character, producing output 60% longer than input. "Hello" encodes to "JBSWY3DP". Base32 is used for TOTP/2FA secrets (Google Authenticator), DNS labels, and filenames on case-insensitive systems. Variants include Base32hex and Crockford (excludes I, L, O, U to avoid ambiguity).
Encode and decode Base32 text online. Supports RFC 4648 standard, Base32hex, and Crockford alphabets. Optional padding. Used for TOTP/2FA secrets, DNS labels, and file names. Bidirectional with swap button.
Presets
Options
Text Input
Base32 Reference
| Input | Standard (RFC 4648) | Base32hex | Crockford |
|---|---|---|---|
| f | MY====== | CO====== | CR |
| fo | MZXQ==== | CPNG==== | CSQG |
| foo | MZXW6=== | CPNMU=== | CSQPY |
| foob | MZXW6YQ= | CPNMUOG= | CSQPYRG |
| fooba | MZXW6YTB | CPNMUOJ1 | CSQPYRK1 |
| foobar | MZXW6YTBOI====== | CPNMUOJ1E8====== | CSQPYRK1E8 |
How to Use
- Enter your value in the input field
- Click the Calculate/Convert button
- Copy the result to your clipboard