Base32 Encoder — Text to Base32 Online

Encode text to Base32 instantly using the standard RFC 4648 alphabet — the format behind TOTP/2FA secret keys. Free, client-side Base32 encoder.

🔒 100% Client-Side Processing

Your data is processed entirely in your browser and never transmitted to any server.

Convert to:
0 / 100M Limit

Common Use Cases

Generating TOTP secret keys

Create a Base32-encoded secret to test authenticator-app enrollment flows or QR-code generation.

Legacy protocol compatibility

Encode identifiers for systems (like DNS or filesystem names) that require case-insensitive, alphanumeric-only text.

Frequently Asked Questions

Why encode text as Base32 instead of Base64?
Base32 uses only uppercase letters and digits 2-7 — no lowercase, no punctuation — so it survives case-insensitive systems and being read aloud or typed by hand. That is exactly why TOTP/2FA secret keys (the codes you scan into an authenticator app) use Base32, not Base64.
Why does the output end in = characters?
Padding — Base32 always outputs a multiple of 8 characters, so short inputs get trailing = signs to fill out the last group. It is standard RFC 4648 behavior, not an error.
Can this also decode Base32 back to text?
Yes — use the toggle above to switch to Decode, or go directly to the Base32 Decoder.
Is my data private when I use this tool?
Yes. This tool runs entirely in your browser using client-side JavaScript — nothing you type is transmitted to, logged by, or stored on any server. You can safely process confidential text, tokens, or code.