EVMTools

Private Key to Address

Derive Ethereum public key and checksummed address from a private key. Shows uncompressed and compressed public keys.

This tool runs entirely in your browser. Never enter private keys that control real funds. Use "Generate Random" for testing.

Derivation Steps

  1. 1. Private Key — A random 256-bit (32-byte) number. Must be less than the secp256k1 curve order.
  2. 2. Public Key — Derived by multiplying the private key by the secp256k1 generator point G. The uncompressed form is 65 bytes (prefix 0x04 + 32 bytes X + 32 bytes Y). Compressed form is 33 bytes (prefix 0x02 or 0x03 + 32 bytes X).
  3. 3. Ethereum Address — Take the Keccak256 hash of the uncompressed public key (without the 0x04 prefix), then take the last 20 bytes. The EIP-55 checksum applies mixed-case encoding based on another Keccak256 hash of the lowercase address.

How to Use This Private Key to Address Tool

This tool derives Ethereum public keys and addresses from a private key using standard elliptic curve cryptography. It is useful for verifying key pairs or understanding how Ethereum addresses are generated.

  1. Enter your private key as a 64-character hex string (with or without the 0x prefix).
  2. View the derived public keys — the tool shows both the uncompressed (65-byte) and compressed (33-byte) public key formats.
  3. Get the Ethereum address — the checksummed (EIP-55) Ethereum address is computed from the public key and displayed for copying.
  4. Copy any result using the copy buttons for use in your wallet, scripts, or smart contract configurations.

All computations run locally in your browser using standard cryptographic libraries. Your private key is never transmitted over the network.

Common Use Cases

  • Key pair verification — Confirm that a private key corresponds to the expected Ethereum address before importing it into a wallet.
  • Development and testing — Generate addresses from test private keys for use in Hardhat, Foundry, or Ganache development environments.
  • Education — Learn how Ethereum key derivation works, from private key to public key to address, step by step.
  • Wallet recovery verification — Verify that a backup private key maps to the correct address without importing it into a wallet application.
  • Multi-sig setup — Derive and verify addresses for each signer key when configuring multi-signature wallets.

Related Tools

Frequently Asked Questions

How is an Ethereum address derived from a private key?

An Ethereum address is derived by first generating the public key from the private key using elliptic curve multiplication (secp256k1). The public key is then hashed with Keccak-256, and the last 20 bytes (40 hex characters) of the hash become the address, prefixed with '0x'.

What is the difference between compressed and uncompressed public keys?

An uncompressed public key is 65 bytes (130 hex characters) starting with '04', containing both x and y coordinates of the elliptic curve point. A compressed public key is 33 bytes (66 hex characters) starting with '02' or '03', containing only the x coordinate and a parity flag. Ethereum uses the uncompressed key for address derivation.

Is it safe to use this tool with a real private key?

This tool runs entirely in your browser and never sends your private key to any server. However, for maximum security with keys controlling real funds, consider using this tool offline by disconnecting from the internet before entering your private key, or use a hardware wallet instead.

What format should the private key be in?

The private key should be a 64-character hexadecimal string (32 bytes), optionally prefixed with '0x'. It must be a valid scalar for the secp256k1 elliptic curve, meaning it must be between 1 and the curve order n-1.

Can I derive the private key from an Ethereum address?

No. The derivation from private key to address is a one-way function. It involves elliptic curve multiplication and Keccak-256 hashing, both of which are computationally infeasible to reverse. This is a fundamental security property of public-key cryptography.