Bitcoin address validator

Checked in this browser. The address is not sent to a server.
Public examples
Valid format and checksumBitcoin · Legacy · P2PKH
Base58Check checksum matches

Parts of this address

  • 1Prefix 1

    Fixed by the version byte 0x00 → Bitcoin pay-to-public-key-hash.

  • 2Payload A1zP1…Lmv7

    20-byte hash of the public key: 62e907b1…8f18.

  • 3Checksum DivfNa

    Last 4 bytes, taken from a double SHA-256 of everything before. Base58 does not align to bytes, so the marked characters are approximate.

Details

Network
Bitcoin
Type
Legacy · P2PKH
Encoding
Base58Check
Length
34 characters · 25 bytes
Checksum
matches
Version
0x00
Hash
62e907b15c…

Watch out

  • Bitcoin Cash legacy addresses look the same (1… and 3…). Make sure the sender is sending BTC, not BCH.

Same address in another form

If this is a Bitcoin Cash legacy address, its CashAddr formbitcoincash:qp3wjpa3tjlj042z2wv7hahsldgwhwy0rq9sywjpyy
What this does not proveA valid format only means the address is well-formed. It does not show who controls it or that it is the address the recipient gave. Compare the whole address with the source and send a small test amount first.

Format rules

Starts with
13bc1qbc1p
Length
26–35 · 42 / 62
Encoding
Base58Check · Bech32 · Bech32m
Checksum
4 bytes double SHA-256 · 6-character BCH code
Typo check
Full: format and checksum
Memo / tag
Not used

What is checked

  • Legacy 1… (P2PKH, version byte 0x00) and 3… (P2SH, 0x05) are Base58Check: the last 4 bytes are a double SHA-256 checksum.
  • bc1q… is SegWit version 0 with a Bech32 checksum (BIP-173); bc1p… is Taproot with Bech32m (BIP-350). Both checksums can locate a single wrong character.
  • Testnet uses tb1…, m…, n… and 2…; regtest uses bcrt1….

Specification: BIP-173 (Bech32) · BIP-350 (Bech32m) · Bitcoin wiki: Base58Check

Example above: the address in the first Bitcoin block (genesis).

FAQ

How do I check if a Bitcoin address is valid?

Paste it above. The checker decodes it, verifies the Base58Check or Bech32/Bech32m checksum in your browser and names the address type. A valid result means the format and checksum hold, not who controls the address.

Which Bitcoin address types are there?

Legacy 1… (P2PKH), script 3… (P2SH), native SegWit bc1q… and Taproot bc1p…. All four can receive bitcoin; some services do not accept bc1p yet.