Base32 Encoder
Convert text into a Base32 string, the case-insensitive encoding used for authenticator secrets and file-safe identifiers.
Processed locally in your browser/ Your data stays in your browser.
What is Base32 Encoder?
Base32 represents data with 32 characters (A–Z and 2–7 in the standard RFC 4648 alphabet) and groups input in blocks of 5 bytes that become 8 characters. It is longer than Base64 but survives case-insensitive systems and avoids look-alike symbols such as + and /.
The encoder converts your text to UTF-8 bytes, then produces either the standard alphabet or the "Extended Hex" alphabet (0–9 and A–V, RFC 4648 §7) that preserves sort order. Padding with "=" up to a multiple of 8 characters is optional.
How does it work?
- Enter the text to encode; the Base32 result updates instantly.
- Pick the RFC 4648 alphabet (default) or Extended Hex, and decide whether to keep "=" padding.
- Copy the output, or press Swap to decode a Base32 string in the decoder.
Common use cases
- Preparing a test secret in the Base32 format that TOTP and HOTP authenticator apps expect.
- Producing case-insensitive identifiers that survive DNS labels, filenames and voice reading.
- Checking your own Base32 implementation against the RFC 4648 test vectors such as foobar → MZXW6YTBOI======.
- Encoding short payloads for QR codes where uppercase alphanumeric text is compact.
Examples
Try this input in the tool above:
Hello, Base32!
JBSWY3DPFQQEEYLTMUZTEII=
Privacy
Base32 Encoder runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.
Limitations
Base32 is not encryption, and it inflates data by about 60%. Never encode real authenticator secrets in an online page you do not trust.
Frequently asked questions
What does foobar look like in Base32?
MZXW6YTBOI====== with the standard alphabet and padding, or CPNMUOJ1E8====== with Extended Hex. These are the official RFC 4648 test vectors.
What is the Extended Hex alphabet for?
It uses 0–9 and A–V so that encoded strings sort in the same order as the raw bytes. It is rarer than the standard alphabet.
Is the "=" padding required?
Strictly, yes in RFC 4648, but many systems (including authenticator apps) accept Base32 without it. Untick padding to drop it.
Related tools
Base32 Decoder
Paste a Base32 string and get the original text back, with a precise message if a character or length is wrong.
Encoding & Decoding
Base64 Encoder
Convert any text, including emoji and accented characters, into a Base64 string in one click.
Encoding & Decoding
Base64URL Encoder
Turn any text into a Base64URL string that can be pasted straight into a URL, a filename or a JWT segment.
Encoding & Decoding
Text to Hex Converter
See the exact bytes behind any text, from a quick "Hello" to emoji, formatted the way your code or debugger expects.
Encoding & Decoding
Text to Binary Converter
Turn words into ones and zeros: each byte of your text is shown as eight bits.
Encoding & Decoding
HMAC Generator
Sign a message with a secret key using HMAC and copy the authentication code as hex or Base64.
Hash & Checksum