Private Key Tools

12tRWk2kEr2…BSLhhm5Qg — P2PKH (Pay to Public Key Hash) — Bitcoin address inspector

Paste any Bitcoin address: this page validates it, names its exact type, rebuilds the script it stands for, works out which other addresses share its key — and then reads its balance and transaction history from public explorers.

Privacy notice. Address validation is done entirely on this server and sends nothing anywhere. On-chain lookups do not: the summary and transaction table below are fetched by this server from public block explorers, which means both this server and that explorer learn which address you asked about. Set the on-chain option to “No” to keep the query completely local.
Any standard form works: 1…, 3…, bc1q…, bc1p…, plus the testnet m…/n…/2…/tb1… variants. Case does not matter for Base58, and bech32 addresses may be all-lower or all-upper — but not mixed.
Turns the server-side explorer lookups on or off. Validation, type detection and sibling derivation always work either way.
1–50.

Result

computed server-side on this host

Validation

Everything in this section is computed from the string itself, with no network access.

✓Verdict
VALID — a well-formed P2PKH (Pay to Public Key Hash)
Encoding family
Base58Check
Character length
34 characters
Chain
Bitcoin
Network
Mainnet
P2PKHAddress type
P2PKH (Pay to Public Key Hash)

Structure

What the string literally contains, byte by byte.

Checksum characters
m5Qg
The last 4 Base58 characters. They encode the first 4 bytes of SHA256(SHA256(payload)).
Version byte
0x00 (0)
One byte that selects both the chain and the script type. It is covered by the checksum, so changing it invalidates the whole address.
Payload (version + hash)
0014b1cd554bfc1766fc7b78f407290cfed68816b5
hash160 / commitment
14b1cd554bfc1766fc7b78f407290cfed68816b5
What these 20 bytes are depends on the type: hash160(pubkey).
scriptPubKey
76a91414b1cd554bfc1766fc7b78f407290cfed68816b588ac
The actual output script this address stands for — 25 bytes. This, not the address, is what the blockchain stores.
Readable script
OP_DUP OP_HASH160 <14b1cd554bfc1766fc7b78f407290cfed68816b5> OP_EQUALVERIFY OP_CHECKSIG

Sibling addresses — the same key, other scripts

P2PKH and P2WPKH both commit to hash160(pubkey), so each determines the other — and both determine the P2SH-P2WPKH form. These six addresses are all controlled by the same private key.

MP2PKH · mainnet · this address
MP2SH-P2WPKH · mainnet
TP2SH-P2WPKH · testnet

On-chain data — fetched by this server from public explorers

This part is a third-party claim, not a computed fact. The explorer that answered is named in every row below.

Ever used?
YES — this address has activity
₿Confirmed balance
0.00000000 BTC
Sum of unspent outputs in blocks. Bitcoin has no balance field — this is computed.
Unconfirmed balance
0.00000000 BTC
Net effect of transactions still in the mempool. It can vanish if a transaction is replaced or evicted.
Total received
0.00536986 BTC
Total spent
0.00536986 BTC
Transactions
14 confirmed, 0 pending
Unspent outputs (UTXOs)
0
How many separate coins this address holds. Every one of them becomes an input the next time the address spends, which is why a fragmented address costs more to spend.
Balance check
0.00000000 = 0.00536986 − 0.00536986
Explorer: https://mempool.space/api · queried 2026-10-10 08:17:58 UTC

Activity window (from the listed transactions)

Most recent activity
2025-12-16 10:22:44 UTC
Oldest of these
2024-08-20 00:30:32 UTC
Chain tip
970741
Confirmations are computed against this height; a reorg below it can change them.
Public key revealed on chain?
YES — this address has spent at least once
Spending publishes the public key in the input (scriptSig or witness). Until then a P2PKH/P2WPKH address is protected by the hash alone, which also means it is the form least exposed to a future quantum attack.

Transaction history — 14 of 14 shown

These are the newest 14 transactions, written from this address’s point of view.

TransactionTime (UTC)Conf.DirectionAmount (BTC)FeevBytesCounterparties
3912a78ee5…d852133912a78ee5c48ace7d2f…2025-12-1610:22:4442630height 928112out−0.00000854in 0.00000000 / out 0.000008540.000179628,896.08896 B / 35584 WUbc1qgzrva028ey…k6qvp 0.00089763
7a60ba0a02…6ce4e57a60ba0a029e4aa30c5a…2025-12-1514:32:3942764height 927978in+0.00000854in 0.00000854 / out 0.000000000.00001330315.5638 B / 1262 WUbc1quru93s28hu…cdrxg 0.00000546
c3794d62db…00dcccc3794d62db7c32d27fb9…2025-12-1514:18:2342766height 927976out−0.00000808in 0.00000000 / out 0.000008080.000179628,887.08887 B / 35548 WUbc1qgzrva028ey…k6qvp 0.00099966
c8d3b5ecf4…4d16d2c8d3b5ecf448753c6308…2025-12-1511:56:0642781height 927961in+0.00000808in 0.00000808 / out 0.000000000.00000192191.0191 B / 764 WU1HcthypT728HEu…K6Q6z 0.00001000
402f6950a3…9138ce402f6950a3f4c0d7809d…2025-12-0611:54:3244076height 926666out−0.00124381in 0.00000000 / out 0.001243810.000179628,898.08898 B / 35592 WUbc1qgzrva028ey…k6qvp 0.07248991
fc441a2116…7da89bfc441a21167086b78b08…2025-12-0607:57:1744102height 926640in+0.00124381in 0.00124381 / out 0.000000000.00000574518.81082 B / 2075 WUbc1qh9aurj233l…2lwlj 0.00024972bc1q3z3vz27xmt…pgt57 0.00004912bc1qds2za6vx8l…gjsxv 0.00061562+3 more
4a0cd7b6bb…cc18294a0cd7b6bb9d8498a2f4…2025-05-1620:48:1573730height 897012out−0.00199265in 0.00000000 / out 0.001992650.000356728,889.08889 B / 35556 WUbc1qgzrva028ey…k6qvp 0.10115820
2aa9a2743b…3a98d92aa9a2743b94a7c0e174…2025-05-1619:21:0173739height 897003in+0.00199265in 0.00199265 / out 0.000000000.00006122383.3786 B / 1533 WUbc1q3ewk458065…lqpjc 0.00047949bc1q9f6rrungrc…pspm4 0.00060000bc1qm723zl8wne…kvhde 0.00009499+1 more
75ef7b655f…3d7a5375ef7b655f74f88b2b96…2024-11-2022:59:2899487height 871255out−0.00070220in 0.00000000 / out 0.000702200.000356728,886.08886 B / 35544 WUbc1qgzrva028ey…k6qvp 0.09303449
1d3a7b9816…05dda71d3a7b9816cddcc0528c…2024-11-2016:02:3399535height 871207in+0.00070220in 0.00070220 / out 0.000000000.00004000180.0342 B / 720 WUbc1q55pfyn5r7n…jm8nc 0.00040564bc1qjt5hcv6d3g…95rw3 0.00033656
c4a1477261…4bfdeec4a1477261d04400d7db…2024-09-2222:45:14108307height 862435out−0.00076338in 0.00000000 / out 0.000763380.000356728,888.08888 B / 35552 WUbc1qgzrva028ey…k6qvp 0.11999158
d79a96bcb9…d1e953d79a96bcb9575c34ad51…2024-09-2220:59:10108318height 862424in+0.00076338in 0.00076338 / out 0.000000000.00000575112.3194 B / 449 WUbc1qje92n6379f…uthn2 0.00076913
32a3802242…20699e32a3802242406604c019…2024-08-2002:41:03113194height 857548out−0.00065120in 0.00000000 / out 0.000651200.000445908,888.08888 B / 35552 WUbc1qgzrva028ey…k6qvp 0.12875323
be30c0899e…1f36d0be30c0899ed1663c37e0…2024-08-2000:30:32113203height 857539in+0.00065120in 0.00065120 / out 0.000000000.00001408248.5331 B / 994 WU3GyYEoKWhjC3Pw…gPSZG 0.00021528
Explorer: https://mempool.space/api · same third-party caveat as above.

Live balance — queried by your browser, right now

This block is filled in by JavaScript running in your browser, contacting public explorers directly. Nothing here comes from this server, which is why it can succeed even when the server has no internet — and why the balance may differ from the one above if a block arrived in between.

Querying block explorers…
P2PKH · mainnet · this address
…
P2SH-P2WPKH · mainnet
…
P2PKH · testnet
…
P2SH-P2WPKH · testnet
…
Total across these addresses—
How it works

What this page does — and where each answer comes from

There are two fundamentally different kinds of question you can ask about an address, and this page keeps them apart on purpose:

QuestionAnswered byNeeds the internet?
Is this string a valid address?Pure arithmetic on this serverNo
Which address type is it, and what script does it stand for?Pure arithmetic on this serverNo
What other addresses share its key?Pure arithmetic on this serverNo
What is its balance and transaction history?A public block explorerYes

The first three are facts derived from the string itself and can never be wrong. The fourth is a claim by a third party, and the page says which explorer made it. If there is no network, the first three still work perfectly and the fourth says so.

1. What a Bitcoin address actually is

An address is not a key, not an account, and not a wallet. It is a short, checksummed encoding of a spending condition — technically, a commitment to a script that a future transaction must satisfy. The blockchain never stores addresses at all: it stores outputs locked by a script, and an address is simply a human-friendly way to write down certain scripts.

That distinction explains most of what confuses people:

2. The two encoding families

Bitcoin has exactly two ways of writing an address down, and telling them apart is the first thing this page does:

Base58CheckBech32 / Bech32m
Looks like1…, 3…bc1q…, bc1p…
Alphabet58 characters — 0, O, I and l removed32 characters qpzry9x8gf2tvdw0s3jn54khce6mua7l
Version byteOne byte prefix (0x00, 0x05, …)Human-readable part (bc) plus a 5-bit witness version
Checksum4 bytes of SHA256(SHA256(payload))A 6-character BCH code over the whole string
DetectsAny single-character error with overwhelming probabilityAny 4 errors; published guarantees for longer runs
CaseCase-sensitiveAll-lower or all-upper; mixed case is invalid by design
IntroducedOriginal client, 2009BIP173, 2017 (SegWit)

The Base58 alphabet excludes 0, O, I and l precisely because they are the characters humans confuse when copying from paper. Bech32 goes further: banning mixed case turns a whole class of transcription error into a hard failure.

3. The address types, and what each one commits to

This is the part that makes some addresses convertible into others and some not. Every address commits to a single 20-byte or 32-byte value, but what that value is depends on the type:

TypePrefixCommits toscriptPubKeySize
P2PKH1…hash160(pubkey)OP_DUP OP_HASH160 <20B> OP_EQUALVERIFY OP_CHECKSIG25 B
P2SH3…hash160(redeemScript)OP_HASH160 <20B> OP_EQUAL23 B
P2WPKHbc1q… (20 B)hash160(pubkey)OP_0 <20B>22 B
P2WSHbc1q… (32 B)SHA256(witnessScript)OP_0 <32B>34 B
P2TRbc1p…x coordinate of the tweaked output keyOP_1 <32B>34 B
Why this page sometimes refuses to go further

A 3… address tells you the hash of a script and nothing else — it might be nested SegWit, a multisig, or a timelock. A bc1q… address with a 32-byte program tells you a script's hash. A bc1p… address tells you a point. None of those can be turned into "the other addresses for the same key", because the key's hash is not in them. Only P2PKH and P2WPKH carry hash160(pubkey) and can therefore be converted into each other.

4. Sibling addresses: one key, several addresses

Because P2PKH, P2WPKH and P2SH-P2WPKH all commit to the same 20 bytes — the hash of the compressed public key — any one of them determines the other two. This is not a security weakness; it is simply the same commitment written in different scripts.

It matters enormously in practice. The classic disaster is a key whose coins sit at the P2PKH address while the wallet in use only ever looks at the P2WPKH address (or the reverse, or testnet vs mainnet). The wallet reports a zero balance and the owner concludes the funds are gone. The coins are usually still there, and looking at the sibling addresses is how you find them.

AddressTypeSame key?
1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMHP2PKH mainnetYes
3JvL6Ymt8MVWiCNHC7oWU6nLeHNJKLZGLNP2SH-P2WPKH mainnetYes
bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4P2WPKH mainnetYes
mrCDrCybB6J1vRfbwM5hemdJz73FwDBC8rP2PKH testnetYes
2NAUYAHhujozruyzpsFRP63mbrdaU5wnEpNP2SH-P2WPKH testnetYes
tb1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsxP2WPKH testnetYes

All six rows above are the same private key. Two of them are on testnet, which is a different network entirely — coins cannot be moved between them, but the same key controls both.

Siblings are a strong hint, not a proof

Deriving siblings tells you which addresses that key would produce. It does not prove that a particular sibling address was ever used, and it does not tell you who controls the key. Watch how the balances differ across the family — an empty mainnet address next to a funded testnet one is completely normal.

5. What validation does — and does not — mean

This page verifies the checksum, the character set, the length, the version byte or witness version, the program length, the case rule and the padding rule. Passing all of that means one thing only: the string is a well-formed address that no Bitcoin node would reject as malformed.

It does not mean:

6. Reading a balance correctly

There is no "balance" field in Bitcoin. What exists is a set of unspent outputs, each locked to a script. An address's balance is computed by summing the unspent outputs that pay it:

balance = Σ(unspent outputs paying this address) = total received − total spent

Three consequences follow, and the page shows the ingredients separately so you can check them:

7. Reading the transaction list

The history this page shows is written from the address's point of view. For each transaction it computes how much the address received, how much it spent, and the net effect:

DirectionMeaning
inOutputs pay this address; no input spends from it.
outInputs spend from this address; nothing comes back to it.
self / netBoth sides involve this address — a consolidation, a change output, or a self-transfer.

Other columns deserve a note:

Why the list may be shorter than the transaction count

Esplora-compatible explorers return at most the 50 most recent transactions per address in one call. This page asks for fewer than that and states the total transaction count separately, so a busy address shows something like "25 of 172 transactions". Paging through years of history is what a full explorer website is for; the links at the bottom of this page go there.

8. Privacy: who learns that you looked

Validation happens entirely on this server. On-chain lookups do not, and there are two separate paths:

Server-side lookups (the summary and the table)

This server makes the request. Your browser's IP is never exposed to the explorer — but this server, and the explorer, both learn which address you were interested in.

Browser-side lookups (the live balance block)

The JavaScript below runs in your browser and contacts the explorer directly, so your IP is visible to that explorer, but this server never sees the query. Turning the on-chain option off disables the first path entirely.

Either way, an address query is a privacy leak: asking about an address links you to it. Reusing one address for every payment publishes your whole financial history to anyone who looks, and asking a public API about your own addresses tells that API's operator what you hold. If that matters to you, run your own node and query it locally.

9. Special and unspendable addresses

Some addresses are famous enough to be worth recognising, and this page labels them:

AddressWhat it is
1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNaThe genesis coinbase output — the first 50 BTC, never spent.
1BitcoinEaterAddressDontSendf59kuEA deliberate burn address whose key nobody has.
1111111111111111111114oLvT2The all-zero hash160. Unspendable in practice: spending it needs a public key hashing to twenty zero bytes.

Burning coins is a real technique — it is how some protocols make a commitment that can never be redeemed. It is also, obviously, irreversible.

10. Quick reference

ItemValue
Mainnet P2PKH / P2SH prefixes0x00 → 1… / 0x05 → 3…
Testnet P2PKH / P2SH prefixes0x6F → m…/n… / 0xC4 → 2…
bech32 hrpsbc mainnet, tb testnet, bcrt regtest
Witness program sizes2–40 bytes; v0 must be exactly 20 (P2WPKH) or 32 (P2WSH)
Checksum constant1 for v0 (bech32), 0x2bc830a3 for v1+ (bech32m)
Address length limit90 characters for bech32, ~34–35 for Base58 mainnet
Sibling-derivable typesP2PKH and P2WPKH only (they carry hash160(pubkey))
Explorer transaction limit50 most recent per address, per request