Base32 Encode and Decode
Base32 encodes text into the 32-character RFC 4648 alphabet (A to Z and 2 to 7) so binary data survives systems that only accept a small, case-insensitive character set. Use it to encode text to Base32 or decode Base32 back to text; it is UTF-8 safe, adds the correct = padding, and runs entirely in your browser.
How to Base32 encode or decode text
- Click the Encode or Decode toggle at the top.
- In Encode mode, paste the text you want to convert.
- In Decode mode, paste a Base32 string using the A to Z and 2 to 7 alphabet.
- Read the converted result in the output box.
- Click Copy to grab the result.
Examples
Encode text to Base32
foobar
MZXW6YTBOI======
Decode Base32 back to text
JBSWY3DP
Hello
Short input needs padding
foo
MZXW6===
Frequently asked questions
Which Base32 alphabet does this use?
The standard RFC 4648 alphabet: the uppercase letters A to Z and the digits 2 to 7, with = used only for padding. It deliberately leaves out 0, 1, 8 and 9 to avoid confusion with the letters O, I and B.
Why is there = padding at the end?
Base32 packs data into groups of 40 bits, or eight characters. When your input does not fill the last group, the encoder pads the output with = so its length is always a multiple of eight, exactly as RFC 4648 specifies.
How much longer does Base32 make my data?
Base32 encodes five bits per character, so output is roughly 1.6 times the size of the raw bytes, before padding. That is larger than Base64, which fits six bits per character, but Base32 is easier for people to read aloud and type.
Does it handle Unicode and emoji?
Yes. Text is converted to UTF-8 bytes before encoding, so accented characters, non-Latin scripts and emoji all round-trip correctly when you decode the result.
Is Base32 case sensitive?
The canonical alphabet is uppercase. This tool outputs uppercase and expects uppercase on decode, so lowercase letters are treated as invalid characters rather than silently accepted.
Why did decoding fail?
Decoding rejects any character outside A to Z and 2 to 7 (the padding = is ignored). A stray space, a lowercase letter, or a digit like 0 or 1 will stop it. Remove the invalid characters and try again.
Is Base32 encryption?
No. Base32 is an encoding, not encryption. Anyone can decode it, so it protects nothing on its own. It exists to move data safely through text-only channels, not to keep it secret.
Is my text private?
Yes. Encoding and decoding happen locally in your browser and nothing is uploaded, so even secret keys you encode stay on your device.
Learn more
- Base32 vs Base64: what is the difference
How Base32 and Base64 compare on alphabet, size and readability, and which encoding to reach for in real systems.
Related tools
Base64 Encode
Encode text to Base64 online. UTF-8 safe, handles emoji and accents, with an optional URL-safe (base64url) mode. Runs in your browser, nothing uploaded.
Hex to ASCII
Convert hex to ASCII text and text to hex online. Tolerates spaces and 0x prefixes, supports UTF-8, with uppercase and separator options. Free and private.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
ASCII Table
Full ASCII table for all 128 codes with decimal, hex, octal and binary values, character names and descriptions. Search by code, hex or character.
Aspect Ratio Box Generator
Generate CSS for a responsive aspect-ratio container. Use the modern aspect-ratio property or the padding-top fallback, then copy the ready code.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.