BTC Script Decoder
Use this BTC script decoder to inspect Bitcoin locking or unlocking scripts in ASM form and break the script into readable opcodes and pushed data chunks.
Example Usage
- Decode a standard P2PKH scriptPubKey into ASM form.
- Inspect which opcodes and pushed data appear inside a script.
- Compare script hex from a transaction parser with a readable representation.
BTC Script Decoder Explained
A BTC script decoder helps you inspect the actual contents of a Bitcoin script without reading raw hex by eye. You paste a script hex string and the tool converts it into an ASM-style representation while also listing the underlying opcodes and pushed data chunks. This is useful for transaction debugging, script learning, wallet development, and low-level Bitcoin analysis. Since scripts are a core part of how Bitcoin defines spending conditions, being able to decode them quickly makes it much easier to understand what an output or input script is doing.
FAQ
What kinds of scripts can this decode?
It can decode any valid Bitcoin script byte sequence into opcodes and data pushes, including standard script templates.
What does ASM mean here?
ASM is a readable script form that shows opcodes and pushed data instead of only raw hex bytes.
Does decoding tell me whether the script is spendable?
Not by itself. It shows script structure, but spendability depends on matching Bitcoin script rules and the right unlocking data.
Related Tools
EVM Address Checker
Validate Ethereum and EVM addresses, including checksum formatting.
EVM Checksum Converter
Convert an EVM address into its EIP-55 checksum format instantly.
Token Decimals Converter
Convert token display amounts to raw integer units using token decimals.
Wei Eth Converter
Convert between wei, gwei, and ETH amounts instantly.
Gas Fee Calculator
Calculate total gas cost from gas limit and gas price inputs.