比特币地址验证器
指导
比特币地址验证器
Instantly verify whether a Bitcoin wallet address is valid. This tool checks the format, encoding, and checksum of any Bitcoin address, supporting all major address types: Legacy (P2PKH), Script (P2SH), Native SegWit (Bech32), and Taproot (Bech32m). Paste an address and get immediate validation results with detailed type and network information.
如何使用
Enter or paste a Bitcoin address into the input field. The tool automatically validates the address as you type and displays the results in the table below, including whether the address is valid, its type (P2PKH, P2SH, Bech32, Taproot), the network (Mainnet or Testnet), and the decoded hash or witness program. Click “Try an example” to see a sample Bitcoin address validated instantly.
特征
- 多格式支持 – Validates P2PKH (starts with 1), P2SH (starts with 3), Bech32/SegWit (starts with bc1q), and Taproot/Bech32m (starts with bc1p) addresses
- Checksum Verification – Performs full cryptographic checksum validation using SHA-256 double-hash for Base58Check and polymod verification for Bech32/Bech32m
- 网络检测 – Identifies whether the address belongs to Mainnet, Testnet, or Regtest network
- 即时结果 – Auto-validates as you type with no need to click a button
- 客户端处理 – All validation happens in your browser; no data is sent to any server
常问问题
-
What are the different types of Bitcoin addresses?
Bitcoin has four main address types: P2PKH (Pay-to-Public-Key-Hash) addresses start with 1 and are the original format. P2SH (Pay-to-Script-Hash) addresses start with 3 and support multi-signature wallets. Bech32 (P2WPKH/P2WSH) addresses start with bc1q and use Native SegWit for lower fees. Taproot (P2TR) addresses start with bc1p and offer improved privacy and smart contract capabilities.
-
How does Bitcoin address checksum validation work?
Base58Check addresses (starting with 1 or 3) use a double SHA-256 hash of the payload bytes, with the first 4 bytes of the resulting hash appended as a checksum. Bech32 and Bech32m addresses use a polynomial modular checksum (polymod) defined in BIP173 and BIP350 respectively, which can detect up to 4 character errors in addresses up to 89 characters long.
-
What is the difference between Bech32 and Bech32m encoding?
Bech32 (BIP173) was introduced for SegWit v0 addresses. Bech32m (BIP350) is an updated encoding used for SegWit v1+ addresses, including Taproot. The difference is in the constant used for checksum calculation: Bech32 uses 1, while Bech32m uses 0x2bc830a3. This change was made to fix a length-extension vulnerability discovered in the original Bech32 encoding.
-
Can this tool validate testnet Bitcoin addresses?
Yes. The validator supports testnet addresses including P2PKH addresses starting with m or n (version byte 0x6f), P2SH addresses starting with 2 (version byte 0xc4), and Bech32/Bech32m addresses with the tb1 prefix. Regtest addresses using the bcrt1 prefix are also supported.
