Base58 Encoder & Decoder

Encode and decode Base58 using the Bitcoin alphabet.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

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 → bytes 47 65 72 612prCMN

InputBase58
Hi6Wc
Gera2prCMN

This is plain Base58 (no checksum), and everything runs locally in your browser.

Ad placeholder (rectangle)