Base32 Encode / Decode

Encode text to Base32 or decode Base32 back to text (RFC 4648, with padding). Free and private, right in your browser.

Convert text or bytes to Base32 and back - the encoding behind TOTP/2FA secret keys, DNS TXT records, and other systems that need a case-insensitive, human-typable text format. Paste text or a Base32 string and get the conversion instantly, all in your browser.

How to use it

  1. Paste your text (to encode) or Base32 string (to decode)
  2. Switch between Encode and Decode mode
  3. Copy the converted result

Frequently asked questions

Which Base32 alphabet does this use?
The standard RFC 4648 alphabet (A-Z, 2-7), the same one used by TOTP secrets, DNS records, and most CLI base32 tools. If you need the extended hex alphabet (0-9, A-V), that's a different variant this tool doesn't cover.
Why does the encoded output have = signs at the end?
Those are padding characters that fill out the output to a multiple of 8 characters, per the spec. You can usually strip them if your target system doesn't require padding (some QR-code and URL contexts omit it).
Is Base32 the same as Base64?
No. Base32 uses a smaller 32-character alphabet and is case-insensitive, which makes it safer to read aloud, type by hand, or embed in places that don't distinguish upper/lower case (like some filenames or DNS labels) - but it produces longer output than Base64 for the same input.