How Base32 works
Base32 splits data into 5-bit groups and maps each to one of 32 characters, so every 5 bytes become 8 characters (60% larger). Because it avoids lower-case letters and look-alike digits 0, 1 and 8 in the standard alphabet, it survives being read aloud or typed.
| Input | Base32 (RFC 4648) |
|---|---|
| f | MY====== |
| fo | MZXQ==== |
| foo | MZXW6=== |
| foobar | MZXW6YTBOI====== |
Related tools
Frequently asked questions
What is Base32 used for?
TOTP/2FA secrets, onion addresses, DNSSEC and case-insensitive file names.
Is it encryption?
No – anyone can decode it.
What is Base32hex?
An RFC 4648 variant using 0–9 and A–V, which keeps sort order.
Is padding required?
RFC 4648 uses = padding; many systems such as TOTP omit it – decoding works either way.
Is decoding case-sensitive?
No.
Can I decode a Google Authenticator secret?
Yes – you will see the raw secret bytes as hex.
Why does decoded text look strange?
The data is binary, not text – switch “Plain side” to Hex.
Is it the same as Crockford Base32?
No – Crockford uses a different alphabet.
How much bigger is Base32?
About 60% larger than the original bytes.
Is UTF-8 supported?
Yes, for any language or emoji.
What characters are invalid?
Anything outside the alphabet, including 0, 1, 8 and 9 in the standard alphabet.
Can I encode files?
Paste their hex bytes, or use Base64 for files.
Are spaces ignored?
Yes when decoding.
Is my data uploaded?
No.
Does it match the RFC test vectors?
Yes.
Is my code uploaded?
No – it is processed in your browser and never leaves your device.
Is it free?
Yes, with no sign-up or limits.
Can I open a file?
Yes – use “Open file”, or paste the code.
Does it work offline?
Once the page and its library have loaded, yes.
Can I copy or download the result?
Copy it with one click, or download where offered.
Last reviewed: 8 November 2026.