Examples
Represent bitcoin genesis newspaper headline
Use base58 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.
Input
The Times 03/Jan/2009 Chancellor on brink of second bailout for banksExpected answer
qjzcT8hHe48zDoaHo4xgj2JnuxMYcjVzdiGiwP8Xg3DzMyfHpusnrCMuyGQCn8WEfh6zydHGawPZSiZ6o4C6yjfmeKvYVxqjzcT8hHe48zDoaHo4xgj2JnuxMYcjVzdiGiwP8Xg3DzMyfHpusnrCMuyGQCn8WEfh6zydHGawPZSiZ6o4C6yjfmeKvYVx
- Alphabet
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
Represent a registry credential from kubernetes documentation
Use base58 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.
Input
tiger:pass1234Expected answer
joDotWAwSjNdKZV7z11joDotWAwSjNdKZV7z11
- Alphabet
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
Represent a checksum-sensitive log line with a final newline
Use base58 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.
Input
event=deploy status=ready
Expected answer
47CZ6QNJqG29xDhRAaAV8Mor9nGhvPBtmYdw47CZ6QNJqG29xDhRAaAV8Mor9nGhvPBtmYdw
- Alphabet
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
Represent a french café in precomposed unicode
Use base58 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.
Input
caféExpected answer
CDK2VULCDK2VUL
- Alphabet
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
Represent a french café with a separate combining accent
Use base58 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.
Input
caféExpected answer
rVLZ3944rVLZ3944
- Alphabet
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
Represent chinese text in a utf-8 request body
Use base58 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.
Input
你好,世界Expected answer
7QAmwzYjP8eb9deY851kX7QAmwzYjP8eb9deY851kX
- Alphabet
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
Represent a literal plus and space inside a url parameter
Use base58 to represent the exact UTF-8 bytes. Encoding does not make public text confidential.
Input
release notes+A/B?Expected answer
5kCYy6rkbgxqEH2kkxiKhu3iE5kCYy6rkbgxqEH2kkxiKhu3iE
- Alphabet
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
To Base58 (Bitcoin): 'hello world'
Input
hello worldExpected answer
StV1DL6CwTryKyVStV1DL6CwTryKyV
- Alphabet
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
To Base58 (Ripple): 'hello world'
Input
hello worldExpected answer
StVrDLaUATiyKyVStVrDLaUATiyKyV
- Alphabet
rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz
To Base58 all null
Input
6 bytes
DownloadExpected answer
JSON111111111111
- Alphabet
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
This operation encodes data in an ASCII string (with an alphabet of your choosing, presets included). e.g. hello world becomes StV1DL6CwTryKyV Base58 is commonly used in cryptocurrencies (Bitcoin, Ripple, etc).
Format reference: To Base58 background and specification