home / bitcoin / bitcoin-script-decoderlocal
Bitcoin Script Decoder (scriptPubKey to Address)
Turn Bitcoin script hex into readable opcodes, name the type and get the address for P2PKH, P2SH, SegWit and Taproot outputs.
bitcoin-script-decoderready · runs in this browser
Runs locally in your browser. Nothing you type is sent anywhere.
bitcoin tools · free · runs in your browser · no sign-up · no wallet
01 // about this tool
Bitcoin outputs are locked by a small script. Paste the scriptPubKey hex to see it as opcodes, which standard type it is and the address it pays, or the text inside an OP_RETURN.
02 // how to use it
- Paste the script hex.
- Pick the network.
- Press Run.
03 // faq
Where do I find a scriptPubKey?
In a block explorer's raw transaction view, or from bitcoin-cli decoderawtransaction.
Why no address for some scripts?
Bare multisig, P2PK and custom scripts have no standard address form.