Bitcoin transaction
decoder.
▸ /notes
▸ /faq
Where do I get raw transaction hex?
From bitcoin-cli getrawtransaction, from a wallet's "export raw transaction" or "copy PSBT/hex" option, or from a block explorer's raw or hex view. Anything that starts with the version bytes (usually 01000000 or 02000000) will decode here.
Why does the txid not match my explorer for a SegWit transaction?
It should. The txid is computed over the transaction with witness data stripped, which is what makes SegWit malleability-proof. The wtxid commits to the witness as well. This decoder computes both from the bytes you paste, so a mismatch means the hex is not the transaction you think it is.
Why can it not show the fee?
A raw transaction lists which previous outputs it spends but not their values; those live in earlier transactions. Enter the summed input value in the optional field and the decoder computes the fee and sat/vB from the vsize it already knows.
Is anything sent to a server?
No. Parsing, hashing, and address encoding all run in the page. A signed transaction is safe to decode anywhere since it contains no private keys, but this tool would not need them either way.