Skip to content

Base58 Encode

Encode data with the Bitcoin/IPFS Base58 alphabet, optionally with a Base58Check checksum.

Input

Output

Base58 and Base58Check

Base58 is Base62 minus the characters people confuse when reading: 0, O, I and l. It was designed for values that get copied by hand — Bitcoin addresses, IPFS content ids, Solana keys.

Base58Check adds a 4-byte checksum, the first four bytes of a double SHA-256 of the payload. A single mistyped character then fails the checksum instead of silently pointing at a different address.

Frequently asked questions

What does a checksum mismatch mean?

The value was mistyped, truncated or corrupted. With Base58Check, that is exactly the outcome you want — the alternative is a valid-looking address that belongs to nobody.

Why do leading zeros show up as 1s?

Base58 is a positional number conversion, and leading zero bytes carry no positional value. They are re-attached as leading 1 characters, which is why many Bitcoin addresses start with 1.

Related tools