0

Decoded

Base32

Encoded

Base32

About Base32

Base32 is an encoding method that uses printable ASCII characters.

In Base32, data is divided into 5 bits and converted into alphanumeric characters (A-Z, 2-7). Converts every 8 characters, and if the last is less than 8 characters, pad with the equal symbol (=).

The conversion table for Base32 characters is as follows.

5-bit dataBase32 character
00000A
00001B
00010C
00011D
00100E
00101F
00110G
00111H
01000I
01001J
01010K
01011L
01100M
01101N
01110O
01111P
10000Q
10001R
10010S
10011T
10100U
10101V
10110W
10111X
11000Y
11001Z
110102
110113
111004
111015
111106
111117

For example, if you convert "Hello!" with Base32, it will be as follows.

1. Make it a binary representation.

01001000 01100101 01101100 01101100 01101111 00100001  (For US-ASCII / UTF-8)

2. Separate every 5 bits. If it is less than 5 bits, pad it with "0" at the end.

01001 00001 10010 10110 11000 11011 00011 01111 00100 00100

3. Convert to characters using a conversion table. Convert every 8 characters, and if it is less than 8 characters, pad the end with "=".

JBSWY3DP EE======

4. Connect all the characters to get the Base32 conversion result.

JBSWY3DPEE======