Base58 Encoder Bitcoin & IPFS: Addresses & WIF

Base58
—
Bytes
—
Characters
—
Leading zeros
—
Checksum
—
Same bytes, other encodings ranked by length
Source: your inputCharacters · shorter is better
How it's built

    Base58 encoder and decoder: convert text or hex to Base58 and back with the Bitcoin, Ripple or Flickr alphabet, add or check a Base58Check checksum, and see how every character is worked out.

    Address
    —
    Type
    —
    Network
    —
    Version
    —
    Checksum
    —
    Inside it
    Details

    Bitcoin address checker and generator: validate a 1…, 3… or bc1… address, see its version byte, hash160 and checksum, catch typos, and make legacy, nested SegWit and native SegWit addresses from a public key.

    CID
    —
    Version
    —
    Codec
    —
    Hash
    —
    Digest
    —
    Inside it
    Every way to write it

    IPFS CID converter: decode a CIDv0 (Qm…) or CIDv1 (bafy…), convert between them, read the codec and multihash, and work out the CID that ipfs add gives a small file.

    WIF
    —
    Network
    —
    Public key
    —
    Checksum
    —
    Starts with
    —
    Inside it
    What this key controls

    WIF converter: turn a Bitcoin private key in hex into Wallet Import Format and back, check the checksum, switch compressed or uncompressed and mainnet or testnet, and see the public keys and addresses.

    What the first characters tell you
    Source: Bitcoin, BIP 173, BIP 350, IPFS docsTap one to open it
    Questions
    What is Base58?

    A way to write bytes with 58 characters: the digits and letters without 0, O, I and l. It's shorter than hex, has no symbols like + and /, and a whole address can be selected with a double click.

    What does Base58Check add?

    A 4-byte checksum: the first 4 bytes of SHA-256 run twice over the data. A single typo almost always breaks it, so wallets catch mistakes before money is sent.

    Why do so many addresses start with 1?

    Each zero byte at the start becomes a 1, and ordinary Bitcoin addresses begin with the version byte 00. Script addresses use 05, which comes out as a 3.

    Are bc1 addresses Base58?

    No. SegWit addresses (bc1q…) and Taproot addresses (bc1p…) use Bech32 and Bech32m, which only use lower-case letters and digits and have a stronger checksum. This tool reads them too.

    What is a WIF key?

    Wallet Import Format: a private key written in Base58Check with the version byte 80 (EF on testnet) and an extra 01 byte when its public key is compressed. Mainnet keys start with 5, K or L.

    What's the difference between CIDv0 and CIDv1?

    A CIDv0 (Qm…) is a Base58 SHA-256 multihash of a dag-pb block. A CIDv1 (bafy…) adds a version and codec and is usually written in base32, which works in web addresses. Both can point to the same data.

    Is it safe to use this with real keys?

    Everything runs in your browser and nothing is sent anywhere, but any website could be compromised. Keep keys that hold real money in a hardware wallet and test with keys that don't.

    Learn how Base58 and Base58Check work, what Bitcoin address, WIF and IPFS CID prefixes mean, and how Bech32 differs.