Encode text to Base32 or decode Base32 back to text

Encode or decode bytes with the RFC 4648 Base32 alphabet.

freeworks offlinenothing uploaded
ToolBase32 Encode/Decode
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Five-bit groups map to A–Z and 2–7 with padding completing eight-character quanta; decoding reverses the bit accumulator into bytes. Case and padding follow the selected mode.

  • Letters and digits suit human-transcribed tokens.
  • Expansion is larger than Base64.

Worked example

Encode Text
Encode a greeting to Base32
Input
											Hello, World!
										
Output
												JBSWY3DPFQQFO33SNRSCC===
											

When to use this

TOTP secrets, provisioning codes, and DNS-safe tokens use Base32.

Edge cases

  • 0, 1, 8, and 9 are not standard digits.
  • Wrong padding leaves an incomplete final quantum.
  • Strict mode rejects visually confused O and 0.

References