LocalExcelTool
Get started

Base32 Encode

Encode text to Base32 using only letters A-Z and digits 2-7.

Runs in your browserNo account neededFree

What is Base32 Encode

Base32 encoding represents data using 32 characters (A-Z, 2-7). It avoids symbols, making it safe for case-insensitive systems.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

Five bits per character, and that is the point

Base32 uses the alphabet A–Z followed by 2–7, five bits per character, padded with = to a multiple of eight characters. It carries 60% more characters than Base64 for the same bytes — a deliberate cost, paid for two properties Base64 lacks.

The first property is case-insensitivity: everything is uppercase, so a value survives being read aloud, retyped, or passed through a system that folds case. The second is the absence of look-alike characters — there is no 0 or 1 in the alphabet, which removes the 0/O and 1/I/l confusion that ruins hand-typed Base64. That is why TOTP secrets and some licence keys are Base32.

Where it shows up in practice

Authenticator apps take a Base32 secret, usually shown grouped in fours (JBSW Y3DP EHPK 3PXP). The same alphabet appears in DNSSEC NSEC3 hashes, in onion addresses, and in various hardware-token provisioning formats. If a system hands you a key that is all uppercase letters and digits 2–7, it is Base32.

The alphabet omits 0 1 8 9 entirely, so a string containing any of them was not produced by a standard Base32 encoder — it is either a different base, a typo, or a custom alphabet. Checking for those digits is the fastest way to tell a transcription error from an encoding problem.

Reading it back without losing the payload

Decoding is case-insensitive here, because uppercase folding is part of the convention, and padding is optional. What is not optional is the alphabet: Base32hex uses 0–9 A–V instead, so a Base32hex value decoded with the standard alphabet yields plausible-looking but wrong bytes.

Spaces and line breaks inside the string should be ignored — group separators are for humans. If a decoded TOTP secret produces codes that an authenticator rejects, compare the byte length: most secrets are 10, 16 or 20 bytes, and anything odd usually means a character was dropped during transcription.

How to use it

  1. 1.Enter text
  2. 2.Encode
  3. 3.Copy the result

How Base32 Encode works under the hood

Encoding tools convert between representations of the same bytes: Base64, percent-encoding, hex, HTML entities, Unicode escapes. A correct encoder is reversible; a lossy one silently changes the data.

  1. 1

    Get the exact bytes

    Text is encoded to UTF-8 bytes with TextEncoder first; binary input is read as an ArrayBuffer. Encoding the wrong byte sequence is the most common cause of a wrong result.

  2. 2

    Apply the encoding rule

    Each format has an exact specification: Base64 uses a 64-symbol alphabet with padding, percent-encoding escapes reserved characters as UTF-8 bytes.

  3. 3

    Decode back to verify

    Round-tripping the output back to the input is the only honest proof that an encoder is correct. The tool keeps the reverse path available on the same page.

  4. Processing pipeline

Base64 is not encryption

Base64 increases size by about a third and hides nothing: anyone can decode it. It exists to carry binary data through text-only channels such as JSON, email headers and data URLs. If you need confidentiality, use encryption with a key, not an encoding.

Where encoders break

Percent-encoding applied twice turns %20 into %2520; Base64 without padding fails strict decoders; UTF-16 input decoded as UTF-8 produces replacement characters that cannot be recovered. When output looks wrong, check the byte sequence before checking the tool.

Verify it yourself

Encoders are pure functions over bytes. Decode the output again and you should get the input back exactly.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

What is Base32?

An encoding using 32 characters (A-Z, 2-7) to represent data.

Difference from Base64?

It avoids symbols, so it is safe where case or special characters matter.

What this kind of conversion cannot keep

Encoding and hashing run through the browser's Web Crypto API or a pure-JavaScript implementation. The output is deterministic: the same input always produces the same digest, so you can verify a result against any other tool.

More in Encoding