Base32 Encoder/Decoder
Encode or decode text as Base32.
Encode or decode text as Base32, the case-insensitive encoding used for authenticator secrets and some identifiers.
Loading the interactive tool… This page needs JavaScript to run the Base32 Encoder/Decoder.
How to use Base32 Encoder/Decoder
- Paste the data, code, token, or value you need to inspect.
- Set any format, encoding, or validation options.
- Run the tool and inspect the result or diagnostic output.
- Copy the output into your terminal, editor, API client, or project.
How Base32 Encoder/Decoder works
Choose encode or decode. Encoding converts text to UTF-8 bytes and writes them with the RFC 4648 alphabet of A to Z and 2 to 7, padding with equals signs to a multiple of 8 characters. Decoding reverses that and shows an error for characters outside the alphabet. The output is uppercase and easy to read aloud, which is why authenticator secrets use it.
Worked example
Input: Hello in encode mode → Output: JBSWY3DP. Decode mode turns JBSWY3DP back into Hello.
Common uses
- Inspect a TOTP secret that is stored as Base32 text.
- Encode a short token in a format without ambiguous lowercase letters.
- Decode Base32 strings found in DNS, config or CTF material.
Best for
- developer workflows
- quick base32 encoder/decoder tasks
- browser-based utility work
Tips for better results
- Validate the output before using it in production code.
- Treat tokens, credentials, and secrets as sensitive even when processing happens locally.
- For large payloads, keep an original copy so you can compare changes.
Frequently asked questions
Where is Base32 used?
In TOTP authenticator secrets, some file systems and URL-safe identifiers.
How is Base32 different from Base64?
It uses fewer characters (A–Z and 2–7), which avoids case confusion but is about 20% longer.
Is it encryption?
No, it is only an encoding.
Related tools
- Base64 Encoder/Decoder — Encode or decode UTF-8 text as Base64.
- JWT Decoder — Decode JWT header and payload.
- URL Encoder/Decoder — Encode or decode URL components.
- Number Base Converter — Convert between binary, octal, decimal, hex.
- AI Token Cost Calculator — Estimate LLM API cost from tokens, requests and per-token prices.
- Chmod Calculator — Convert Linux file permissions between octal and symbolic.