Crypto
#bitcoin
#btc
#bech32
#segwit
Bitcoin Bech32 Address (SegWit)
Matches a Bitcoin native SegWit address in Bech32 format — starts with bc1 followed by 6–87 lowercase alphanumeric characters.
✓ Bitcoin wallet validation✓ Payment processors✓ Crypto exchanges
✓ Valid Examples
- bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq
- bc1p5d7rjq7g6rdk2yhzks9smlaqtedr4dekq08ge52
✗ Invalid Examples
- 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2
- 0xde0B295669a9FD93d5F28D9Ec85E40f4
- bc1short
Usage & Integration
Validate Bitcoin Bech32 Address (SegWit) natively in your backend or frontend without copying regex strings.
Node / Edge
import { validate } from '@regexto/validators';
validate('bech32-address', '...');Python
from regexto_validators import validate
validate("bech32-address", "...")Go
import "github.com/regex-to/validators-go"
valid, err := validators.Validate("bech32-address", "...")PHP
use RegexTo\Validators\Validator;
Validator::validate('bech32-address', '...');Rust
use regexto_validators::validate;
let is_valid = validate("bech32-address", "...").unwrap();