Base58 encoder and decoder (Bitcoin alphabet)
Base58 encodes binary data using 58 characters, deliberately leaving out the visually ambiguous 0, O, I and l. This makes encoded values safer to read, copy and type by hand, which is why it underpins Bitcoin addresses, WIF private keys and other crypto identifiers.
How it works
To encode, the tool converts your text to UTF-8 bytes and treats the whole byte
array as a single large number. It repeatedly divides that number by 58,
collecting each remainder, and maps the remainders to the alphabet
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz. Any leading zero
bytes in the input are emitted as leading 1 characters. Decoding reverses the
process — multiplying by 58 and adding each digit’s value — to rebuild the
original bytes, then decoding them as UTF-8.
Example
Encoding the text Gera:
Gera→ bytes47 65 72 61→2prCMN
| Input | Base58 |
|---|---|
Hi | 6Wc |
Gera | 2prCMN |
This is plain Base58 (no checksum), and everything runs locally in your browser.