MagmaNex LogoMagmaNex

Base32 Encoder/Decoder

Encode and decode Base32

What does this tool do?

The Base32 Tool encodes or decodes text using the RFC 4648 Base32 alphabet (A–Z and 2–7). Because it produces output made only of uppercase letters and a few digits that are easy to read aloud and type by hand, it is ideal for 2FA secret keys, TOTP setup, and case-insensitive environments.

How to use it

  1. Choose the required options or length.
  2. Generate the secure result.
  3. Copy and store the result safely.

How Base32 works

The tool first turns your text into bytes, then into a bit string, and splits those bits into groups of five. Each 5-bit group maps to one character in the 32-symbol alphabet (A–Z, 2–7). Trailing '=' padding characters are added so the output length is a multiple of eight. Base32 is longer than Base64, but since it contains only letters and digits it avoids ambiguous symbols.

Where it is used

Base32 is most often seen in TOTP/2FA secret keys for apps like Google Authenticator. It is also preferred in case-insensitive file systems, DNS records, and any code that must be read over the phone. Use Encode mode to convert plain text into Base32, and Decode mode to turn a Base32 string back into text. During decoding, spaces and trailing '=' characters are ignored automatically.

Frequently asked questions

What is the difference between Base32 and Base64?

Base64 uses 64 characters and produces shorter output, but it mixes upper and lower case plus symbols like + and /. Base32 uses only 32 uppercase letters and digits; its output is longer but easier to type, read aloud, and carry through case-insensitive systems.

Why do I get an 'Invalid Base32 input' error when decoding?

It means your input contains a character outside the Base32 alphabet. The only valid characters are A–Z and 2–7, so digits like 0, 1, 8, 9, lowercase letters, or other symbols are rejected. Once you leave only valid characters, the error disappears.

What do the trailing '=' signs mean?

They are padding characters that bring the output length up to a multiple of eight. They carry no data and are removed automatically during decoding, so deleting them does not change the result.

Is Base32 Encoder/Decoder free?

Yes. Base32 Encoder/Decoder and all 300+ tools on MagmaNex are completely free with no signup or account required.

Is my data safe?

Yes. Everything runs locally in your browser. The data you enter is never sent to a server, stored, or shared.

Does it work on mobile?

Yes. Base32 Encoder/Decoder works on phones, tablets and desktops — no app download needed.

🔒 Privacy: everything runs in your browser, your data is never sent to a server.

Related Tools

📝 Related Articles

Popular Tools