Skip to main content

6. Base 32 Encoding

Base32 uses 32 US-ASCII characters, so each output character represents 5 bits. The standard alphabet is A-Z followed by 2-7, with = as the pad character.

Value Encoding  Value Encoding  Value Encoding  Value Encoding
0 A 8 I 16 Q 24 Y
1 B 9 J 17 R 25 Z
2 C 10 K 18 S 26 2
3 D 11 L 19 T 27 3
4 E 12 M 20 U 28 4
5 F 13 N 21 V 29 5
6 G 14 O 22 W 30 6
7 H 15 P 23 X 31 7

Encoding processes 40-bit groups: five input octets become eight Base32 characters. A short final group is padded on the right with zero bits and represented with = padding.