Base32 Converter

Encode short ASCII text to RFC 4648 Base32 with length.

Technology and NetUpdated 2026-10-161 min read
Base32 Converter
1 to 20 characters from space to tilde.
Base32
...
Output length...
Input bytes...

What it does

Base32 spells bytes with capitals and digits 2 to 7, dodging mixed case confusion. One time codes and file names use it where Base64 plus and slash cause trouble.

The tool above reads up to 20 printable ASCII characters and prints Base32, length, and bytes. The default Hi matches the worked example, so the page opens showing JBUQ====. Type new text to update all three results.

Bits split into five bit groups indexed 0 to 31: A is 0 through 7 is 31. Here Hi bits 01001000 01101001 regroup to 01001 00001 10100 10000 for J B U Q. Four groups pad with four equals to eight chars.

Use this for short tokens and teaching. For binary safe blobs with plus and slash, use Base64 instead. For checksums use hash tools.

This page shows the alphabet, one full hand checked example for Hi, a reference table, and practice checks that run through the tool.

How to use

  1. Type 1 to 20 characters.
  2. Stay inside printable ASCII.
  3. Read Base32 as capitals, digits, and =.
  4. Read length including padding.
  5. Split longer strings into chunks.
  6. Decode elsewhere; this page encodes.

Formula

Split bytes into 5 bit groups. Map 0-31 to A-Z2-7. Pad with = to 8 chars.
5 bit
One Base32 char.
=
Pad to multiple of 8 chars.
bytes
Input length.

RFC 4648 alphabet here, no lowercase output. Hex input first if starting from bytes.

Worked example

Example: Hi

Encode Hi to Base32.

  1. Bytes: H 0x48, i 0x69 (2 bytes).
  2. Bits: 01001000 01101001.
  3. Groups of 5: 01001 00001 10100 10000.
  4. Values: 9, 1, 20, 16 for J B U Q.
  5. Pad 4 groups with ==== to 8 chars.
  6. Result JBUQ====, length 8 chars.

Reference table

Base32 for samples
TextBase32Bytes
AIE======1 byte
HiJBUQ====2 bytes
OKJ5FQ====2 bytes

Limits

  • Printable ASCII 1 to 20 chars here.
  • Encode only. No decode direction here.
  • RFC 4648 basic alphabet, no hex extended.
  • Long secrets split into chunks.

Common mistakes

  • Expecting Base64 plus and slash here.
  • Dropping = padding that decoders need.
  • Feeding emoji outside ASCII.
  • Reading length without padding.
  • Lowercasing output that must stay upper.

Try it yourself

Quick checks. Answers sit tucked under each question.

Base32 A?

IE======, 8 chars, 1 byte.

Base32 OK?

J5FQ====, 8 chars, 2 bytes.

Questions

Hi?

JBUQ====.

Alphabet?

A-Z plus 2-7.

Padding?

= to 8 chars.

Base64?

Different alphabet with plus/slash.

Limit?

20 chars per run here.

Decode?

Not here. Encode only.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.