Skip to main content

Base32

Base32 represents arbitrary binary data using 32 case-insensitive ASCII characters (A through Z and digits 2 through 7) defined in RFC 4648. It is widely used for TOTP authenticator secrets, human-readable codes, and case-insensitive file systems.

2 tools

When to use Base32 encode and decode

Use the Base32 encoder to convert UTF-8 text into uppercase RFC 4648 Base32 output with optional = padding. Use the Base32 decoder to turn a Base32 string back into plain text or inspect a payload.

Base32 avoids visually ambiguous characters like 0, 1, 8, and 9, making it easier to transcribe by hand than Base64 at the cost of a 60% size overhead instead of 33%.

Encoding is reversible, not encryption

Anyone can decode a Base32 string without a key. Do not rely on Base32 to hide passwords or tokens; if you need confidentiality, use AES encryption instead.