<p>This is not possible.</p>

<p>The mnemonic words are an encoding of the entropy used in the seed, essentially. A 12 word seed has less entropy than a 24 word one, so you cannot get 24 words out of it. Similarly, you cannot get a 24 word seed to turn into a 12 word one.</p>

<p>Your best bet is to generate a new 24 word seed and move funds over.</p>

CC BY-SA 4.0
2018-06-28T12:27:04.163Z
Ok. So In BitcoinJ, how do i move all my private keys, addresses and balances to a new 24 word seed wallet from 12 words seed wallet without losing the ability to use the 24 words seed to restore the wallet in future?
Bandish
CC BY-SA 4.0
2018-06-28T13:11:33.407Z
You don't move your keys, or addresses. You make a transaction from your old wallet to the new one, so that the coins are now controlled by the 24 word private keys
Raghav Sood
CC BY-SA 4.0
2018-06-29T11:16:25.973Z
Can you please tell me how to export and import private key in bitcoinj?
Bandish
CC BY-SA 4.0
2018-06-25T13:01:21.243Z
2018-06-25T13:01:21.243Z
Raghav Sood
<p>I used bitcoinj library for wallet and it generates 12 word mnemonic seed.</p>

<p>But I made changes in it and created 24 word mnemonic seed.</p>

<p>But I need to convert old 12 word mnemonic seed into new 24 word mnemonic seed.</p>

<p>Please help me with this.</p>

CC BY-SA 4.0
2018-06-25T15:01:34.737Z
By changing the seed, you are changing the private keys.
Tailer
CC BY-SA 4.0
2018-06-28T12:27:26.790Z
Ok. So In BitcoinJ, how do i move all my private keys, addresses and balances to a new 24 word seed wallet from 12 words seed wallet without losing the ability to use the 24 words seed to restore the wallet in future?
Bandish
CC BY-SA 4.0
2018-06-28T20:25:36.780Z
You can't move the private keys but the bitcoins, just create another 24-word seed and make a normal transaction.
Tailer
CC BY-SA 4.0
2018-06-29T11:40:22.013Z
Can you please tell me how to export and import private key in bitcoinj?
Bandish
<bitcoinj><android>
convert 12 word seed into 24 word seed
Bandish
# convert 12 word seed into 24 word seed

(Asked by: username_0 on 2018-06-25)

I used bitcoinj library for wallet and it generates 12 word mnemonic seed.

But I made changes in it and created 24 word mnemonic seed.

But I need to convert old 12 word mnemonic seed into new 24 word mnemonic seed.

Please help me with this.

**Tags:** bitcoinj, android

> **Comments:**
> **username_1**: By changing the seed, you are changing the private keys.  
> **username_0**: Ok. So In BitcoinJ, how do i move all my private keys, addresses and balances to a new 24 word seed wallet from 12 words seed wallet without losing the ability to use the 24 words seed to restore the wallet in future?  
> **username_1**: You can't move the private keys but the bitcoins, just create another 24-word seed and make a normal transaction.  
> **username_0**: Can you please tell me how to export and import private key in bitcoinj?  

---

## 1 answers

### Answer by username_2 on 2018-06-25. Score: 4

This is not possible.

The mnemonic words are an encoding of the entropy used in the seed, essentially. A 12 word seed has less entropy than a 24 word one, so you cannot get 24 words out of it. Similarly, you cannot get a 24 word seed to turn into a 12 word one.

Your best bet is to generate a new 24 word seed and move funds over.

> **Comments:**
> **username_0**: Ok. So In BitcoinJ, how do i move all my private keys, addresses and balances to a new 24 word seed wallet from 12 words seed wallet without losing the ability to use the 24 words seed to restore the wallet in future?  
> **username_2**: You don't move your keys, or addresses. You make a transaction from your old wallet to the new one, so that the coins are now controlled by the 24 word private keys  
> **username_0**: Can you please tell me how to export and import private key in bitcoinj?  

---

