Wallet SSC: 0.00000000 / $0

Bitcoin Transaction Constructor: Build & Decode Offline

Build, decode, and understand standard Bitcoin transactions entirely offline with this step-by-step constructor. Supports all major address types: Legacy (P2PKH, P2SH) and SegWit (P2WPKH, P2WSH). Perfect for learning, auditing, or creating unsigned transactions for cold storage signing

Easy Bitcoin transaction online


version 01000000 Bitcoin version number
input count
01
input output hash Hash of the transaction containing the output we're spending. Reversed automatically.
output index decimal Number transactions. There can be several outputs in the referenced transaction, this identifies which of those outputs we're using (counting from zero). For example 2 = 02000000 (hex and reverse)
script length --- For example: ScriptSig 216 length: 108 bytes, '6c' in hex
scriptSig ScriptSig size | ScriptSig | Hash type | length bytes | Public key
address
amount satoshi (BTC: 0.00000000, 0.00$) Total balance. For Segwit addresses only. To sign a transaction in offline mode, please specify the full amount of the transaction input.
sequence This transaction supports the Replace-By-Fee (RBF) function, which allows you to increase the commission.
output count
01
fees satoshi (BTC: 0.00000000, 0.00$) The fee you will pay for this transaction. Read more below. Example: In the input field, amount = 10000, In the output field, value = 10000 and the checkbox is selected. When fees = 500 is specified, regardless of the value field, the amount there will be 9500.
amount total 0 BTC
output value satoshi (BTC: 0.00000000, 0.00$)
address
script length
---
scriptPubKey
---
block lock time decimal Meaning this transaction was posted after that block. For example block 782987: 8bf20b00 (hex and reverse)
⚠️
does not automatically create change outputs, so you can easily accidentally pay a large transaction fee. Create a multi-output transaction so you can send change to yourself.
* required fields.

The serialized signed transaction is (not broadcast to the Bitcoin Network):
copy
01000000 01 00000000 00 fdffffff 01 0000000000000000 00 00000000
transaction hash
---
size
0 vB
fee (recommended)
0 satoshi
This is the recommended fee calculated in real time. Data from blockchain.info was used
Broadcasting the Raw Transaction Into the Bitcoin Network: blockchair.com mempool.space blockcypher.com etc.
Decoded Transaction: secretscan.org live.blockcypher.com blockchain.com

Understanding Transaction Fees, Outputs, and Change (Simplified)


A Bitcoin transaction must obey a simple rule: Total Input ≥ Total Output.

1.

Outputs:

The amounts you send to recipients plus any change sent back to yourself.
2.

Fee:

The miner fee is the difference left over: Fee = Total Inputs - Total Outputs
3.

Example:

Input: 0.10000000 BTC
Send to recipient: -0.01000000 BTC
Return as change: -0.08950000 BTC
──────────────────────────────
Miner Fee: = 0.00050000 BTC


In short:

In short: You cannot create bitcoins. The total inputs must fund all outputs (to recipients and yourself) plus the miner fee.

⚠️ Crucial Warning:

If you do not explicitly specify a change output back to your own address, the entire leftover amount will be given to the miner as an unexpectedly large fee. Always ensure your transaction includes a change output to yourself, unless you intentionally want to overpay.

About Replace-by-Fee (RBF):

This optional flag allows you to replace an unconfirmed transaction with a new version that has a higher fee, speeding up confirmation. Transaction replacement Bitcoin Wiki
Our website uses cookies (ie. Cookies) for statistical, advertising and functional. Thanks to them, we can customize the site to your needs. Anyone can accept cookies, or has the ability to disable them in your browser, so you will not collect any information.
Got it