Skip to content
OddsockLocal
Local
Source text

Formatting

5 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste the text you want to encode, or a Base32 string you want to read.
  2. Set Direction to encode or decode.
  3. Read the result, including any trailing equals signs.
  4. Flip Direction if you want to confirm the round trip.

What is Base32?

Base32 writes each byte as the letters A–Z and the digits 2–7, then pads with equals signs so the length is a multiple of eight. The alphabet drops 0, 1, 8 and 9 because those get misread as letters when someone types a setup key. Authenticator apps use this spelling for time-based one-time-password secrets.

Read more

The sentence Odd socks in the dryer. encodes to J5SGIIDTN5RWW4ZANFXCA5DIMUQGI4TZMVZC4===. Direction set to decode returns the sentence, including the period. A string that is the wrong length, such as MZ======, is rejected rather than silently truncated. The unpadded form of a valid encoding is accepted; a made-up tail is not.

Nothing about that transformation hides the bytes. The same page will turn the classic test word foobar into MZXW6YTBOI======, and anyone with the alphabet can reverse it. If the value is a 2FA secret, treat the Base32 text as the secret itself.

Use cases

  • A support engineer types a setup key from a screenshot and checks that it decodes before an authenticator will accept it.
  • A backend developer compares the Base32 secret in a config file with the value a phone scanned from a QR code.
  • Someone receives a recovery string and needs to know whether it is Base32 or a different encoding that only looks similar.
  • A writer documenting an otpauth URI wants the secret segment checked against the RFC 4648 alphabet and padding rules.
  • A student encoding a short sentence wants the padding equals signs left in place, not stripped.

A full sentence, padded to a multiple of eight

Direction encode. Text: Odd socks in the dryer.

J5SGIIDTN5RWW4ZANFXCA5DIMUQGI4TZMVZC4===

Why use Oddsock

The padding check is the point: a key that looks almost right still fails closed instead of becoming a different secret.

Related tools

Using this tool

No. Base64 and Base32 only change the alphabet used to write the same bytes. J5SGIIDTN5RWW4ZANFXCA5DIMUQGI4TZMVZC4=== turns straight back into Odd socks in the dryer. A cipher needs a key; this page does not ask for one.