<p>Yes, <code>importwallet</code> <a href="https://bitcoin.org/en/developer-reference#importwallet" rel="nofollow">exists</a>.</p>

<p>Coverting a wallet from Electrum to Bitcoin Core is very hard, as both pieces of software have a very different idea of what a wallet is. Electrum relies on servers that provide indexed blockchain information to discover transactions, so its wallet does not store much information. Bitcoin Core needs all your transactions and keys actually available in the wallet so that it can operate independently.</p>

CC BY-SA 3.0
2016-03-05T03:32:53.027Z
2016-03-05T03:32:53.027Z
Pieter Wuille
<p>With Electrum's command line you can dump all your private keys, or only those that are funded. See <a href="http://docs.electrum.org/en/latest/cmdline.html#export-private-keys-and-sweep-coins" rel="nofollow">http://docs.electrum.org/en/latest/cmdline.html#export-private-keys-and-sweep-coins</a></p>

CC BY-SA 3.0
2016-03-05T10:03:56.530Z
2016-03-05T10:03:56.530Z
ThomasV
<p>FWIW, someone created a tool. A cursory examination doesn't show any security issues:</p>

<p><a href="https://electrum2core.github.io/" rel="nofollow noreferrer">https://electrum2core.github.io/</a></p>

CC BY-SA 4.0
2019-05-02T13:12:05.227Z
2019-05-02T13:12:05.227Z
somedude
<p>Seems that many people become scared as soon as they seen 1 week or over and discover they've to download the full blockchain(ca. 60 GB now required), so it's full of question about migrating from bitcoin core to electrum? But what about vice versa? Bitcoin core doesn't support sweeping, but it should support, by command line, importing private addresses. 
First questions, I read there is dumpwallet, is there a importwallet option that allow to import more than 1 private key at time? This could be a simply option, import all keys at time. Import each keys with importprivkey can be a long operation. 
Then, 2nd option, is just send electrum btc to a bitcoin core address right? What about get the electrum wallet, is bitcoin core able of read it in some ways (not with external software)? Is there a way to safely convert? </p>

<bitcoin-core><electrum>
Migrating from Electrum => Bitcoin core
Firstq
# Migrating from Electrum => Bitcoin core

(Asked by: username_0 on 2016-03-05)

Seems that many people become scared as soon as they seen 1 week or over and discover they've to download the full blockchain(ca. 60 GB now required), so it's full of question about migrating from bitcoin core to electrum? But what about vice versa? Bitcoin core doesn't support sweeping, but it should support, by command line, importing private addresses.
First questions, I read there is dumpwallet, is there a importwallet option that allow to import more than 1 private key at time? This could be a simply option, import all keys at time. Import each keys with importprivkey can be a long operation.
Then, 2nd option, is just send electrum btc to a bitcoin core address right? What about get the electrum wallet, is bitcoin core able of read it in some ways (not with external software)? Is there a way to safely convert?

**Tags:** bitcoin-core, electrum


---

## 3 answers

### Answer by username_1 on 2016-03-05. Score: 3

Yes, `importwallet` [exists](https://bitcoin.org/en/developer-reference#importwallet).

Coverting a wallet from Electrum to Bitcoin Core is very hard, as both pieces of software have a very different idea of what a wallet is. Electrum relies on servers that provide indexed blockchain information to discover transactions, so its wallet does not store much information. Bitcoin Core needs all your transactions and keys actually available in the wallet so that it can operate independently.


---

### Answer by username_2 on 2016-03-05. Score: 1

With Electrum's command line you can dump all your private keys, or only those that are funded. See <http://docs.electrum.org/en/latest/cmdline.html#export-private-keys-and-sweep-coins>


---

### Answer by username_3 on 2019-05-02. Score: 1

FWIW, someone created a tool. A cursory examination doesn't show any security issues:

<https://electrum2core.github.io/>


---

