32

Base32 Encoder and Decoder

Encode text to Base32 (RFC 4648) or decode it, as used in 2FA secrets.

How it works

Base32 turns bytes into the letters A to Z and digits 2 to 7. It follows RFC 4648 and is what authenticator apps use for secret keys. Pick encode or decode and type your text.

Worked example

The text Hello encodes to JBSWY3DP.

Good to know

Common questions

Is Base32 encryption?
No. Anyone can decode it. It only changes how bytes are written.
Why do 2FA secrets use it?
It is easy to type by hand and has no confusing letters like 0 and O.
Why does decoding fail?
Base32 uses only A to Z and 2 to 7. Other characters, like 0, 1, 8 or 9, are errors.

More in Developer.