Base32 Encoder/Decoder
Encode text to Base32 and decode Base32 strings back. RFC 4648 alphabet, UTF-8 safe.
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.
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