base n

base N character sets

SEAN K.H. LIAO

base n

base N character sets

base N

We need character sets!

tldr: use base20 for no confusion and no accidental words

base64

dense

1ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
base64 url

change +/ to -_ to prevent url escaping

1ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_

base62

base64 without the special chars

1ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789

base58

base64 without special chars, skips some confusing characters

1123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz

base32

case insensitive, skips some confusing chars

1ABCDEFGHIJKLMNOPQRSTUVWXYZ234567
base32 Crockford

case insensitive, skips some confusing chars

10123456789ABCDEFGHJKMNPQRSTVWXYZ
base32H

case insensitive, skips some confusing chars

10123456789ABCDEFGHJKLMNPQRTVWXYZ

base20 Open Location Code

case insensitive, no confusion, won't form words

123456789CFGHJMPQRVWX

base16 Hexadecimal

used more often as extended number/digit set

10123456789abcdef