Tool to decode / encode with the Z-Base-32. ZBase32 is a variant of base 32 which is intended to be improved for use and transcription by humans.
Z-Base-32 - dCode
Tag(s) : Character Encoding
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
z-base-32 encoding is a variant of base 32 (standard RFC 3548) proposed by Zooko O'Whielacronx and made to optimize the writing and the reading by the humans. z-base-32 code uses 32 characters ybndrfg8ejkmcpqxot1uwisza345h769 ie. the 36 alphanumeric characters excluding 4 characters that can be confused with others: 0,l,v,2. The order of the alphabet is also changed (instead of abcdefghijklmnopqrstuvwxyz234567) in order to favor the common letters (vowels) and make the coded messages pronounceable. Also, the superfluous characters = appearing at the end of base32 and base64 codes are removed.
The plain message is treated as a binary string.
Example: Z is encoded in ASCII (8-bit) 01011010
The string is divided into 5-bit blocks (supplemented if necessary by 0).
Example: The split gives the 10 bits 01011,01000 (with two' 0's added at the end)
Each block of 5 bits is then encoded via the alphabet of z-base-32 by its corresponding character:
Example: The final coded message is me
Decryption by z-base-32 begins with a conversion of characters into binary via the lookup table
Example: The message gc3y corresponds to 00110,01100,11001,00000
The resulting binary code is then interpreted (depending on the encoding used)
Example: 00110011001100100000 corresponds to the ASCII code of the string 32
The message is composed only of alphanumeric characters except 0, l, v and 2.
The number 0 can be confused with o, the letter l is close to the number 1 or even the letter i. Likewise for v which is close to u or r (especially in handwriting), same for 2 which has been excluded because of its written resemblance to z.
Reminder : dCode is free to use.
The copy-paste of the page "Z-Base-32" or any of its results, is allowed as long as you cite dCode!
Cite as source (bibliography):
Z-Base-32 on dCode.fr [online website], retrieved on 2022-09-29,