Skip to content
Jellykit

Base32 Encode / Decode

Encode text or hex bytes to Base32 and decode Base32 back, with the RFC 4648 or Base32hex alphabet and optional padding. Useful for TOTP secrets. Free tool.

Runs in your browser. Nothing is uploaded.

About Base32 Encode / Decode

Base32 encodes bytes using 32 characters (A to Z and 2 to 7). It's longer than Base64 but case-insensitive and free of symbols, which is why it's used for two-factor authentication secrets, DNS-safe names and file systems that ignore case.

Encode UTF-8 text or raw hex bytes, and decode back to text or hex. The Base32hex variant keeps the sort order of the original data.

How to use Base32 Encode / Decode

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. Adjust the options. The result updates as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

Why is my authenticator secret in Base32?

TOTP apps use Base32 so secrets can be typed by hand without confusing upper and lower case.

Is padding required?

RFC 4648 pads to a multiple of 8 characters with =, but many systems (including TOTP URIs) omit it. Decoding works either way.

Is Base32 Encode / Decode free and private?

Yes. Base32 Encode / Decode is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all developer tools →