Skip to main content

Base58 Encoder / Decoder

New

Encode and decode data using Bitcoin Base58 and Base58Check encoding.

base58encodedecodebitcoin
Read the guide
Shortcuts:⌘ KSearch

Bitcoin Base58 alphabet: 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz

Checksum status appears here when decoding.

Frequently Asked Questions

What's the difference between the Standard Base58 box and the Base58Check box?

Standard Base58 is just the raw bytes encoded with the Bitcoin alphabet. Base58Check appends a 4-byte double-SHA-256 checksum first, then encodes the combined bytes.

What input formats can I encode with this tool?

You can encode either UTF-8 text or hex bytes. Hex mode accepts an optional 0x prefix and ignores whitespace, but the cleaned hex must contain an even number of hexadecimal characters.

Why does the decoded text look garbled even though the hex looks right?

The decoder always tries to interpret the payload bytes as UTF-8 text and also shows the raw hex. If the bytes are not actually text, trust the hex field instead of the decoded text box.

Does the decoder actually verify Base58Check checksums?

Yes. When the decoded byte array is at least 4 bytes long, it tests the last 4 bytes against a SHA256d checksum and tells you whether a valid Base58Check checksum was detected.

Do leading zero bytes get preserved, or do they disappear?

They are preserved. The encoder converts each leading zero byte into a leading 1, and the decoder reverses that back into zero bytes.

Related Tools