<p>First of all, a <code>wallet.dat</code> file does not contain a single public key; it contains multiple keypairs. You can use PyWallet as Meni says, but if it's too technical for you, you can install the wallet but don't have to download all the blocks. Your public keys will show up under "Receive coins" (even if the blockchain is not downloaded), and you can copy each of them into <a href="https://blockchain.info/" rel="nofollow">Blockchain.info</a> to check the balance of each address. Adding them all up will give you your total balance.</p>

CC BY-SA 3.0
2014-03-27T04:41:21.177Z
2014-03-27T04:41:21.177Z
Tony
<p>Is there a way to get the public key of a given wallet.dat to check the balance in the blockchain to avoid having to install the wallet and read all blocks?</p>

CC BY-SA 3.0
2014-03-26T22:11:52.630Z
PyWallet can be useful for this.
Meni Rosenfeld
CC BY-SA 3.0
2014-03-27T03:33:10.627Z
You're going to need programming knowledge to do this task either way. I don't believe there is a simple tool out there to accomplish this...
John T
<blockchain><wallet.dat><public-key>
get public key from wallet.dat
Egidi
# get public key from wallet.dat

(Asked by: username_0 on 2014-03-26)

Is there a way to get the public key of a given wallet.dat to check the balance in the blockchain to avoid having to install the wallet and read all blocks?

**Tags:** blockchain, wallet.dat, public-key

> **Comments:**
> **username_1**: PyWallet can be useful for this.  
> **username_2**: You're going to need programming knowledge to do this task either way. I don't believe there is a simple tool out there to accomplish this...  

---

## 1 answers

### Answer by username_3 on 2014-03-27. Score: 1

First of all, a `wallet.dat` file does not contain a single public key; it contains multiple keypairs. You can use PyWallet as username_1 says, but if it's too technical for you, you can install the wallet but don't have to download all the blocks. Your public keys will show up under "Receive coins" (even if the blockchain is not downloaded), and you can copy each of them into [Blockchain.info](https://blockchain.info/) to check the balance of each address. Adding them all up will give you your total balance.


---

