How to export private keys?

Robert asked 2 years ago

I want to know how I can get my private keys from my Bitcoin wallet to use in another wallet, thanks.

2 Answers
Ofir Beigel answered 2 years ago

Hey Robert, 
the answer to this question really depends on which wallet you’re using. For example, if you’re using Bitcoin Core (also known as Bitcoin QT) you will need to do the following:

  1. launch your bitcoin client as usual and wait for it to load the blockchain and start up
  2. click on ‘help’ in the menu bar (top right)
  3. click on ‘debug window’
  4. select the ‘console’ tab
  5. type: walletpassphrase “your walletpassphrase here” 600
  6. type: dumpprivkey [your Bitcoin address here]
  7. this will return the private key, you can copy it now; ensure you clear your clipboard/history afterwards
  8. type: walletlock

For use these actions:

  1. Login to
  2. Click ‘Import/Export‘ link in the second header
  3. Click ‘I Understand‘ to the advanced warning
  4. On the left side menu click ‘Export unencrypted
  5. Enter your secondary password
  6. Select the ‘Private Key Format‘ of ‘Bitcoin-QT Format
  7. In the window underneath you will see a bunch of json formatted text (text enclosed in {} braces).
  8. Search for the last few lines that look like “addr”:”1Pd3″,”priv”:”……..”
  9. Your private key will be the shown after the “priv” and will start with either the number 5 or the letter K

Hope this helps!

Kaneki answered 1 year ago

If you using wallet then you can use this method to export private key on blockchain since blockchain updates their wallet to HD wallet

Bitcoin Video Crash Course 

Dummy-proof explainer videos enjoyed by over 100,000 students. One email a day for 7 days, short and educational, guaranteed.

We hate spam as much as you do. You can unsubscribe with one click.