Base32 Decode
Decode Base32 strings back to readable text.
What is Base32 Decode
Base32 decoding converts a Base32-encoded string back into its original text.
🔒 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
Faithful decoding depends on the alphabet, not the letters
Every five characters carry 25 bits, from which three bytes are recovered, with the padding explaining how many bytes the final group actually holds. Get the padding wrong and the last one or two bytes are silently dropped or invented.
This matters more for Base32 than for Base64 because Base32 is almost always used for secrets. A decoded secret that is one byte short still produces valid-looking six-digit codes — just never the right ones. If the codes do not match, verify the decoded length in bytes before suspecting clock drift.
Transcription damage is the normal failure
The alphabet has no 0 or 1, so a human copying a key tends to write O and I, and sometimes l for 1. A strict decoder rejects those characters; a lenient one maps them, which is helpful only if the mapping matches the original intent. Where the cost of being wrong is high, keep the strict behaviour and re-read the source.
Grouping is another source of mismatch. Secrets are typically printed as four-character groups, and dropping a group by accident produces a shorter but structurally valid secret. Count the groups against the original rather than trusting a decode that did not raise an error.
What the output actually is
The result is bytes, not text. For a TOTP secret those bytes are a random key and any printable rendering is meaningless. For payload data the bytes may be anything at all — if the output looks like noise, that is expected rather than a failure.
When the source was text, this page renders it as UTF-8. If the bytes were not UTF-8, the replacement character appears and the correct move is to inspect the bytes rather than to re-encode the display text, which would lock the damage in.
How to use it
- 1.Enter Base32 string
- 2.Decode
- 3.View result
How Base32 Decode 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
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
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
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.
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.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
What is Base32 decoding?
It converts a Base32 string back into the original data.
Is it safe?
Yes, it runs entirely in your browser.
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
On this page
- What is Base32 Decode
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →