Producing a shareable key
Base32 is what makes a two-factor secret possible to type by hand. The restricted alphabet is the point.
Converts text to base32 in this tab, with nothing sent anywhere.
Find related browser-local tools for nearby tasks without starting another search.
Browse all developer and data toolsBase32 is Base64's less famous cousin, and it exists for the situations where Base64 causes trouble. Its alphabet is only the uppercase letters A to Z and the digits 2 to 7 - no lowercase, no punctuation, and deliberately no zero, one, eight or nine, because those look too much like the letters O, I, B and other characters when read aloud or written by hand. That makes Base32 the right choice for anything a human has to transcribe or dictate: recovery codes, secret keys for two-factor authentication, identifiers printed on hardware. It is less compact than Base64, using more characters for the same data, but it survives being spoken over a phone or copied from a screen, which Base64 does not.
Base32 is what makes a two-factor secret possible to type by hand. The restricted alphabet is the point.
A code printed on a device that someone will read out is far more reliable in Base32 than in Base64.
It uses a smaller, human-friendly alphabet - no lowercase, no easily-confused digits - at the cost of being longer. It is meant for transcription, not compactness.
Because they look like the letters O and I. Excluding them is what makes Base32 reliable to read aloud or copy by hand.
The canonical output is. Base32 itself is case-insensitive, so the decoder accepts either.
Yes. Two-factor secret keys are RFC 4648 Base32, the same standard this uses.
Decode Base32 back to text in your browser, tolerating missing padding and mixed case.
Convert text to hexadecimal in your browser. Each character becomes its UTF-8 bytes in hex.
Convert a hexadecimal number to decimal in your browser, with full precision for large values.