Base32 Encode / Decode
Encode text to Base32 (case-insensitive, no ambiguous characters) or decode it back. Supports the standard RFC 4648 alphabet and Crockford’s variant used for IDs.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
Rewriting text as Base32 and back
Type or paste text and the tool rewrites it in the RFC 4648 alphabet of A–Z and 2–7, or decodes an existing Base32 string back to UTF-8. Input is read as UTF-8 bytes, so an emoji or accented letter spans several Base32 characters; decoding strips trailing = padding and any whitespace before rebuilding the byte sequence.
RFC 4648 versus Crockford
RFC 4648 is the classic standard, padded with = up to a multiple of eight characters. Crockford’s alphabet adds all ten digits and drops the ambiguous letters I, L, O and U, which is why it turns up in identifiers meant to be read aloud; it is never padded. Decoding Crockford folds the look-alike letters back onto the right digits.
When Base32 beats Base64
Reach for Base32 when the output has to survive human handling: a setup code emailed to a colleague, a licence key typed from a screen, or a token pasted into a case-insensitive filename or URL. Base64’s mixed case and symbols break in those places, while Base32’s uppercase-only alphabet does not.
Options and edge cases
Padding applies to the RFC alphabet only, so ticking Add = padding while Crockford is selected changes nothing. Lowercase output is an encode-side style choice and still decodes to the same bytes. An invalid character stops decoding with an error instead of guessing, and bytes that are not valid UTF-8 come back as replacement characters.
Nothing leaves your browser
Both directions run in the page with no network access, so a key or secret you are formatting is never uploaded.
Questions
Why use Base32 over Base64?
Base32 is case-insensitive and avoids look-alike characters, so it survives being read aloud, typed by hand, or put in a filename or URL. TOTP secrets use it.
What is the difference between the RFC 4648 and Crockford alphabets?
RFC 4648 uses A–Z and the digits 2–7 and pads to a multiple of eight characters with =. Crockford’s variant uses all ten digits plus the letters without I, L, O and U, so the look-alike characters are gone, and it is never padded. When decoding Crockford input, O is read as 0 and I or L as 1.
What happens if I paste text with spaces or line breaks?
Decoding ignores whitespace as well as trailing = padding, so a Base32 string split across several lines still decodes. Encoding never emits whitespace — it always produces one continuous run of characters.
Related tools
See categoryBase64 Encode / Decode
Convert text or a file to and from Base64, with URL-safe and MIME line-wrap options.
Base58 Encode / Decode
Convert text to and from Base58 using the Bitcoin and IPFS alphabet.
Hex Encode / Decode
Convert text to and from hexadecimal (UTF-8), with configurable separators.
Ascii85 / Base85
Encode and decode Ascii85 / Base85 text in the Adobe, btoa and Z85 variants.