Bitcoin Address Decoder & Validator

Paste a Bitcoin address or bitcoin: payment URI to inspect its format, network prefix, checksum, and decoded fields. Try the examples below to compare SegWit and Taproot addresses.

Enable JavaScript to paste and decode inputs. This guide remains readable without it.

Public examples

Public examples for inspection only. Do not send funds to them.

SegWit address

Mainnet P2WPKH · witness version 0 · 20-byte program · Bech32

View public sample input

bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4

Taproot address

Mainnet Taproot · witness version 1 · 32-byte program · Bech32m

View public sample input

bc1p0xlxvlhemja6c4dqv22uapctqupfhlxm9h8z3k2e72q4k9hcz7vqzk5jj0

Request with an unsupported requirement

Public troubleshooting example. Do not pay.

The destination is our checksum-valid SegWit example. This decoder rejects the whole payment request because it does not support req-unsupported.

Ask the recipient for a replacement payment request your wallet supports. Do not delete a required parameter or pay the address alone to bypass it.

View public sample input

bitcoin:bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4?req-unsupported=1

Bitcoin address example, decoded

This public BIP-350 test vector shows how an address encodes a destination. It is for inspection only. Do not send funds to it.

Public SegWit example
bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
Network and type
Bitcoin mainnet prefix; witness version 0; P2WPKH
Decoded witness program
751e76e8199196d454941c45d1b3a323f1433bd6 (20 bytes)
Checksum
Bech32

What is the difference between bc1q and bc1p?

Both prefixes are used for Bitcoin mainnet native SegWit addresses. In bc1q, q encodes witness version 0: a 20-byte program is P2WPKH and a 32-byte program is P2WSH. In bc1p, p encodes witness version 1; a valid 32-byte version-1 program is a Taproot output.

The prefix is only a clue. The decoder also checks the entire checksum and witness program. Testnet uses tb1 and regtest uses bcrt1; a testnet prefix alone cannot distinguish testnet from signet.

Bech32 vs Bech32m

SegWit version 0 uses Bech32. Witness versions 1 through 16 use Bech32m, including Taproot at version 1. Using the wrong checksum variant is invalid even when the rest of the address looks plausible.

Legacy P2PKH and P2SH addresses use Base58Check instead. These encodings detect many transcription mistakes; none verifies ownership or balance.

Why is my Bitcoin address invalid?

Check the original address with the intended recipient. Never guess a corrected destination or change characters to make a checksum pass.

  • Copy the complete address without extra characters or a missing suffix.
  • A Bech32 or Bech32m address can be all lowercase or all uppercase, but cannot mix the two.
  • Check the network prefix, supported witness version, decoded program length, and checksum variant.
  • For bitcoin: requests, inspect the URI diagnostics as well as the address result; unsupported required instructions can invalidate the request.

Decoder details

What the Bitcoin decoder checks

Validation checks

  • Base58Check, Bech32, and Bech32m encoding and checksum rules.
  • Network prefixes, witness versions, witness program lengths, and address type.
  • BIP-321 destination and supported payment instructions.
  • BIP-352 Silent Payment version, payload length, checksum, and secp256k1 public keys.

Supported inputs

  • P2PKH legacy addresses
  • P2SH script-hash addresses
  • Bech32 SegWit addresses
  • Bech32m Taproot addresses
  • BIP-352 Silent Payments
  • BIP-321 payment URIs

What this tool cannot verify

  • A valid Bitcoin address format does not prove that anyone controls it or that it has transaction history.
  • The decoder does not determine whether a recipient or payment request is trustworthy.
  • BOLT12 offer text is recognized, but its TLV contents are not decoded and no invoice is requested.

Technical references

Common questions

What does a valid Bitcoin address result mean?

It means the address matches a supported Bitcoin encoding and passes its structural and checksum rules. It does not confirm ownership, balance, or transaction activity.

Can this decoder validate Bitcoin testnet addresses?

Yes. It recognizes supported Base58Check and Bech32 or Bech32m testnet prefixes and reports the detected network.

Can I paste a bitcoin: payment URI?

Yes. The decoder extracts the destination and BIP-321 payment instructions so the request can be inspected before use.