Crypto Calculator

Convert and inspect Bitcoin and Ethereum private keys, public keys, addresses, WIF, hashes, Base58Check, and numeric or text encodings. Calculations run locally in your browser, and you can process multiple values by placing each input on a separate line.

Place each input on a new line.

Crypto Calculator FAQ

  1. Take a private key in hexadecimal format:
    e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  2. Add the 0x80 version byte for Bitcoin mainnet or 0xef for testnet:
    80e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  3. Append 0x01 if wallets should derive a compressed public key:
    80e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85501
  4. Perform Base58Check encoding:
    L4rK1yDtCWekvXuE6oXD9jCYfFNV2cWRpVuPLBcCU2z8TrisoyY1

  1. Take a Wallet Import Format (WIF) string:
    L4rK1yDtCWekvXuE6oXD9jCYfFNV2cWRpVuPLBcCU2z8TrisoyY1
  2. Perform Base58Check decoding and verify its checksum:
    80e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85501
  3. Remove the version byte (0x80 for Bitcoin mainnet):
    e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85501
  4. If present, remove the final 0x01 compressed-public-key marker:
    e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

  1. Start with a private key in hexadecimal format:
    e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  2. Derive the corresponding public key. This example uses the compressed form:
    03a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd
  3. Perform SHA-256 hashing:
    4c0b2d2f119a09b607cb273a745b2b0430d5192e0c4e536f932be5d1a6be5883
  4. Perform RIPEMD-160 hashing:
    9a1c78a507689f6f54b847ad1cef1e614ee23f1e
  5. Add the 0x00 P2PKH version byte for Bitcoin mainnet:
    009a1c78a507689f6f54b847ad1cef1e614ee23f1e
  6. Perform Base58Check encoding to produce the legacy P2PKH address:
    1F3sAm6ZtwLAUnj7d38pGFxtP3RVEvtsbV

  1. Start with a legacy Bitcoin P2PKH address:
    1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
  2. Perform Base58Check decoding:
    00751e76e8199196d454941c45d1b3a323f1433bd6
  3. Remove the 0x00 Bitcoin version byte to obtain the public-key hash:
    751e76e8199196d454941c45d1b3a323f1433bd6
  4. Add the 0x1e Dogecoin P2PKH version byte:
    1e751e76e8199196d454941c45d1b3a323f1433bd6
  5. Perform Base58Check encoding:
    DFpN6QqFfUm3gKNaxN6tNcab1FArL9cZLE

  1. Start with a private key in hexadecimal format:
    e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  2. Derive the corresponding public key (uncompressed):
    04a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd5b8dec5235a0fa8722476c7709c02559e3aa73aa03918ba2d492eea75abea235
  3. Remove the first byte (0x04):
    a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd5b8dec5235a0fa8722476c7709c02559e3aa73aa03918ba2d492eea75abea235
  4. Perform Keccak-256 hashing:
    a3c7b15596359456ea3b05ea41ad2bc63a2059f9b623533d87fe99887d794847
  5. Take the last 20 bytes:
    41ad2bc63a2059f9b623533d87fe99887d794847
  6. Add the 0x prefix:
    0x41ad2bc63a2059f9b623533d87fe99887d794847