Base32 Encode/Decode
Convert text between Base32 (RFC 4648) and UTF-8 in both directions. Useful for TOTP authentication tokens, keys and data compatible with Base32 systems.
—
Base32: when 32 characters beat 64
Base32 uses only uppercase letters A through Z and the digits 2 through 7. That makes it longer than base64 — roughly 60% growth against 33% — but it solves problems base64 does not: the result survives systems that ignore letter case, fits inside DNS labels, can be read out over the phone, and uses no character that needs escaping in a URL.
Type the text and the page returns the standard RFC 4648 encoding, padded with "=" at the end. The process groups the input bits five at a time, since 32 is two to the fifth, and each group becomes one letter. Because eight bits do not divide evenly by five, bits are left over at the end and filled with zeros — which is where the padding comes from, keeping the final block a multiple of eight characters.
The most common use today is the secret key for two-factor authentication: the TOTP secret is handed out in base32 precisely so it fits in a QR code and can be typed by hand when the camera fails. It also shows up in Tor .onion addresses, in filenames that must be case-insensitive, and in identifiers inside DNS zones.
Frequently asked questions
Why does the alphabet start at 2 rather than 0?
Are the trailing equals signs required?
Is this the same as base32hex?
Related Tools
Base58 Bitcoin Encoder
Encodes and decodes bytes in Base58 using the Bitcoin alphabet (no 0, O, I, l).
Base85 / ASCII85 Encoder
Encode text in ASCII85 (Adobe/btoa) using 85 printable characters. Denser than Base64: every 4 bytes becomes 5 ASCII characters.
Dog Food Portion Calculator
Work out how many grams of food your dog needs per day based on weight and size. Avoid overfeeding or underfeeding and keep your dog healthy.
Grayscale Image Converter
Convert any image to grayscale (black and white) in the browser. Instant processing without sending data to servers.
Emoji List
Explore and copy over 500 emojis organized by category: faces, people, animals, food, travel, activities, objects and symbols. Search by name.
Number Picker
Pick random numbers without repetition between a minimum and maximum. Ideal for lotteries, raffles and random selections.