Base32 Encoder and Decoder
Encode text to standard Base32 and decode Base32 back to text, following RFC 4648.
Direction
Converted live as you type. Nothing leaves your browser.
How to encode and decode Base32 online
Choose a direction
Pick Encode to turn text into Base32, or Decode to turn Base32 back into text.
Enter your input
Type or paste your text or Base32 into the box, and it is converted live with no button to press.
Read the result
The converted value appears below, along with a short message if the Base32 input is not valid.
Copy it
Use the copy button to put the result on your clipboard.
Why use this tool
Encode and decode in one place
Switch between turning text into Base32 and turning Base32 back into text without leaving the page. The result updates as you type.
Standard RFC 4648 alphabet
Encoding uses the standard alphabet of A to Z and the digits 2 to 7, with = padding, so the output works with other Base32 tools and libraries.
Forgiving decoder
Decoding accepts upper or lower case, ignores spaces and line breaks, and treats the trailing padding as optional, so pasted values just work.
Full UTF-8 support
Text is handled as UTF-8, so accents, symbols, and emoji encode and decode correctly in both directions.
Clear errors
If the input contains a character that is not valid Base32, the tool names it instead of producing a wrong result.
Runs entirely in your browser
Everything happens on your device; nothing is uploaded.
About this tool
This tool converts text to Base32 and Base32 back to text entirely in your browser, following the standard RFC 4648 alphabet of the letters A to Z and the digits 2 to 7. Encoding treats your input as UTF-8, so accented letters, emoji, and other multi-byte characters round-trip correctly. It runs live: every keystroke re-encodes or re-decodes the current input, and switching between Encode and Decode updates the result immediately, with no button to press.
Decoding is deliberately forgiving. It accepts lower or upper case, ignores spaces and line breaks, and treats the trailing = padding as optional, so a value copied out of a config file, a QR payload, or a one-time-password secret decodes without hand-editing. Base32 is common where a value has to survive case-insensitive systems or be read aloud, which is why it appears in TOTP keys, DNS records, and file names. When a character outside the alphabet shows up, the tool points to it instead of failing silently.
Base32 is an encoding, not encryption, so anything encoded here is trivially readable by anyone who decodes it. For the more compact scheme used in data URIs and HTTP headers, use the Base64 encoder and decoder, and for percent-encoding text into query strings there is the URL encoder. Everything happens on your device, so the text you paste is never uploaded, which matters when it contains secrets or keys.
Frequently asked questions
- What is Base32?
- Base32 encodes data using 32 characters: the letters A to Z and the digits 2 to 7. It is designed to be case-insensitive and easy to read aloud, which is why it is used for things like one-time-password secrets, DNS records, and identifiers. Like Base64, it is an encoding and not encryption.
- How do I encode or decode Base32?
- Choose Encode or Decode, then type or paste your input. Encode turns text into Base32 and Decode turns Base32 back into text. The result updates live and has its own copy button.
- What input does the decoder accept?
- The decoder accepts upper or lower case, ignores spaces and line breaks, and treats the trailing = padding as optional. It uses the standard RFC 4648 alphabet, so characters outside A to Z and 2 to 7 are reported as errors.
- Does it support emoji and non-English text?
- Yes. Text is treated as UTF-8 before encoding, so accents, emoji, and other multi-byte characters round-trip correctly in both directions.
- Is my data uploaded anywhere?
- No. Encoding and decoding run entirely in your browser. The text you paste never leaves your device and is not sent to a server.
Related tools
Base64 Encode & Decode
Encode text, files, and images to Base64, decode it back, and get a ready-to-use data URI.
URL Encode & Decode
Percent-encode text for URLs and decode it back, both directions.
Number Base Converter
Convert a number between binary, octal, decimal, and hexadecimal, all four shown at once.
API Key Generator
Generate cryptographically random API keys and tokens in hex, base62, or base64url, with control over length, an optional prefix, and bulk output.
ASCII Table Reference
The full ASCII character set with decimal, hex, octal, binary, and HTML codes. Search by code, character, or name.
Atbash Cipher
Mirror the alphabet so A swaps with Z, B with Y, and so on. Atbash is its own inverse, so one field both encodes and decodes as you type.