Base32 Encoder/Decoder — Base32 represents binary data using a 32-character alphabet (A–Z and 2–7) defined in RFC 4648. It is common for TOTP secrets, case-insensitive identifiers, and short tokens where Base64 is too dense to be human-readable.
Encoding and decoding happen entirely in your browser.
Was Base32 Encoder/Decoder useful?
What is Base32 Encoder/Decoder?
Base32 represents binary data using a 32-character alphabet (A–Z and 2–7) defined in RFC 4648. It is common for TOTP secrets, case-insensitive identifiers, and short tokens where Base64 is too dense to be human-readable.
This tool encodes UTF-8 text to a Base32 string with = padding, and decodes Base32 back to text. It rejects any input that contains characters outside the standard alphabet.
How to use it
-
Choose direction
Switch between Encode and Decode with the toggle.
-
Paste input
The output updates as you type.
-
Copy the result
One click to copy the encoded or decoded value.
Examples
Encode "foobar"
A canonical RFC 4648 test vector.
Result: MZXW6YTBOI======
Decode a TOTP secret
Most TOTP secrets are stored as Base32.
Result: JBSWY3DPEHPK3PXP
Frequently asked questions
Related guides
The 12 Best Free Online Tools You Haven’t Heard of in 2026
Twelve underrated browser developer tools—box-shadow and gradient builders, JWT decoder, regex explainer, cron generator, EXIF viewer, and UUID v7—no signup.
Base64 vs Base64url vs Base32 vs Hex: When to Use Each
Compare Base64, Base64url, Base32, and Hex: exact alphabets, size overhead, URL safety, human readability, and when to choose each encoding.
Base64 Encoding Explained: What It Is and How It Works
A practical guide to Base64 encoding: what it is, how it works, when to use it, and when to use something else. With examples and a free browser-based encoder.