<p>You can run bitcoind or bitcoinqt in offline mode (disconnected from the Internet). The client does not need to be synced. Then you can use the console to view transactions using the command. </p>

<p><code>decoderawtransaction &lt;hex string&gt;</code></p>

<p>To check if the signatures are correct, you need to do a </p>

<p><code>signrawtransaction &lt;hex string&gt;</code> without any other arguments. It will output a <code>{complete:true}</code> result if the signature verifies. </p>

<p><b>Edit:</b> I should mention that the signatures cannot be verified if the inputs are not known to bitcoind. In that case you will have to supply the inputs as discussed <a href="https://en.bitcoin.it/wiki/Raw_Transactions#Validate_a_transaction_without_broadcasting_it" rel="nofollow">here</a>.</p>

CC BY-SA 3.0
2013-12-18T07:46:54.350Z
2014-07-28T21:58:47.633Z
2014-07-28T21:58:47.633Z
Jus12
<p>Well, the tool that you are using to create the raw transaction is also the tool that has a viewer that will decode and show (as JSON) the transaction.</p>

<p>So if you had a raw transaction, simply paste it and it will dynamically decode and display the transaction.</p>

<ul>
<li><a href="http://brainwallet.org/#tx" rel="nofollow">http://brainwallet.org/#tx</a></li>
</ul>

CC BY-SA 3.0
2012-09-08T03:45:34.213Z
2012-09-08T03:45:34.213Z
Stephen Gornick
<p>I have found a few ways to create signed transactions offline, one is at <a href="http://brainwallet.org" rel="nofollow">http://brainwallet.org</a>, and another is at <a href="https://www.strongcoin.com/blog/the_easiest_way_to_create_secure_offline_bitcoin_transactions" rel="nofollow">https://www.strongcoin.com/blog/the_easiest_way_to_create_secure_offline_bitcoin_transactions</a>    </p>

<p>after i have created a transaction, is there a way check and see what data is included in it before submitting it to the network? i ask because when a transaction is created, all i see is a long hex string, and (tinfoil hat time) for all i know this could just be an encoded version of my private key that someone could be trying to steal. is there a service that allows you to decrypt/parse that raw string?</p>

<transactions>
Is there a way to parse raw transactions offline?
alexander
# Is there a way to parse raw transactions offline?

(Asked by: username_0 on 2012-09-08)

I have found a few ways to create signed transactions offline, one is at <http://brainwallet.org>, and another is at <https://www.strongcoin.com/blog/the_easiest_way_to_create_secure_offline_bitcoin_transactions>

after i have created a transaction, is there a way check and see what data is included in it before submitting it to the network? i ask because when a transaction is created, all i see is a long hex string, and (tinfoil hat time) for all i know this could just be an encoded version of my private key that someone could be trying to steal. is there a service that allows you to decrypt/parse that raw string?

**Tags:** transactions


---

## 2 answers

### Answer by username_1 on 2013-12-18. Score: 3

You can run bitcoind or bitcoinqt in offline mode (disconnected from the Internet). The client does not need to be synced. Then you can use the console to view transactions using the command.

`decoderawtransaction`

To check if the signatures are correct, you need to do a

`signrawtransaction`  without any other arguments. It will output a `{complete:true}` result if the signature verifies.

**Edit:** I should mention that the signatures cannot be verified if the inputs are not known to bitcoind. In that case you will have to supply the inputs as discussed [here](https://en.bitcoin.it/wiki/Raw_Transactions#Validate_a_transaction_without_broadcasting_it).


---

### Answer by username_2 on 2012-09-08. Score: 2

Well, the tool that you are using to create the raw transaction is also the tool that has a viewer that will decode and show (as JSON) the transaction.

So if you had a raw transaction, simply paste it and it will dynamically decode and display the transaction.

* <http://brainwallet.org/#tx>


---

