<p>The way I go about it is as follows:</p>

<ol>
<li>Login to Blockchain.info and choose <strong>export</strong></li>
<li>Export data as <strong>BITCOIN QT</strong></li>
<li>Note the private key in the form <em>5Hxxxx</em> or <em>5Kxxxx</em> or <em>5Lxxxxx</em>. Copy and paste this string (or hand write it to be safer; it's case sensitive and has no 0/O, l/I)</li>
<li>Open Bitcoin QT; click <em>help>Console</em></li>
<li>Type <em>importprivkey</em> <em>PRIVKEY</em> <em>NAME</em> where <em>PRIVKEY</em> is what was copied and pasted and name is the name for the address eg <em>MAIN1</em></li>
<li>If wallet.dat is encrypted you'll need to type: <em>walletpassphrase PASSWORD 180</em></li>
<li><em>Be sure to encrypt your wallet again</em></li>
<li>Move funds from Blockchain wallets to a new address in case you're concerned about malware monitoring copy/paste</li>
</ol>

CC BY-SA 3.0
2014-08-26T02:13:48.987Z
Anyone want to comment why the above is not right?
Wizard Of Ozzie
CC BY-SA 3.0
2015-01-04T18:01:05.257Z
`Be sure to encrypt your wallet again` What do you mean? It will automatically re-lock after 180 seconds.
Nick ODell
CC BY-SA 3.0
2014-08-21T08:18:24.067Z
2014-09-05T05:33:23.813Z
2014-09-05T05:33:23.813Z
Wizard Of Ozzie
<p>I'd like to convert my Blockchain.info wallet to a local Bitcoin-qt wallet. How can I do that? (I am fine with using command line tools.)</p>

<wallet><blockchain.info><wallet.dat>
How can I convert a wallet.aes.json file from Blockchain.info to a wallet.dat file?
Nathan2055
# How can I convert a wallet.aes.json file from Blockchain.info to a wallet.dat file?

(Asked by: username_0 on 2014-08-18)

I'd like to convert my Blockchain.info wallet to a local Bitcoin-qt wallet. How can I do that? (I am fine with using command line tools.)

**Tags:** wallet, blockchain.info, wallet.dat


---

## 1 answers

### Answer by username_1 on 2014-08-21. Score: 1

The way I go about it is as follows:

1. Login to Blockchain.info and choose **export**
2. Export data as **BITCOIN QT**
3. Note the private key in the form *5Hxxxx* or *5Kxxxx* or *5Lxxxxx*. Copy and paste this string (or hand write it to be safer; it's case sensitive and has no 0/O, l/I)
4. Open Bitcoin QT; click *help>Console*
5. Type *importprivkey* *PRIVKEY* *NAME* where *PRIVKEY* is what was copied and pasted and name is the name for the address eg *MAIN1*
6. If wallet.dat is encrypted you'll need to type: *walletpassphrase PASSWORD 180*
7. *Be sure to encrypt your wallet again*
8. Move funds from Blockchain wallets to a new address in case you're concerned about malware monitoring copy/paste

> **Comments:**
> **username_1**: Anyone want to comment why the above is not right?  
> **username_2**: `Be sure to encrypt your wallet again` What do you mean? It will automatically re-lock after 180 seconds.  

---

