# Recover the 15 words wallet with 14 words

**URL:** <https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239>\
**Category:** Community Technical Support\
**Tags:** cardano, yoroi\
**Created:** [30 January 2022 10:26 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239 "2022-01-30T10:26:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![adaloser](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adaloser/32/58632_2.png) [@adaloser](https://forum.cardano.org/u/adaloser)\
**Post date:** [30 January 2022 10:26 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/1 "2022-01-30T10:26:43Z")

</div>

hello  
i had some ADA in my wallet [Yoroi - 15 seeds wallet (I’m not familiar with ADA wallets so idk it was shelley or not)] then i tried to find seeds in Yoroi wallet like other wallets from setting but it has not any recovery method for seeing my seeds again and write them down… when i made that wallet on iOS, i wrote them down on a paper and found it; recently changed my phone (with 100% backup - but Yoroi doesn’t let apple backup of wallet data) and tried to restore the seeds and i realized it is 14 not 15! so i tried to recover from some scripts in Github for only one parameter at the first or at the end! i tried this link: [ByronRevovery · GitHub](https://gist.github.com/ilap/4756099e2ec666b5148e83505c7adc80) but it is for 12 words not 15; so strange it recovered another wallet for me with a single word added for me with the address i pasted to it! its insane idk how it did recovered another wallet.

at the first, thanks in advance.

i have 14 words with \*\* correct order \*\*.  
but i don’t know the 15th word is in 15th section or 1th section.  
so i have 1-14 or 2-15.

lets take words as alphabet:

```auto
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
a b c d e f g h i j k l m n o

```

so idk the “a” is lost or “o”.

so as bip39 words (2048) we have 2 Permutations here on a" and o".

so i need an script or something else (just open source) like [ByronRevovery · GitHub](https://gist.github.com/ilap/4756099e2ec666b5148e83505c7adc80) to recover the a" or o". if someone can help me I’ll really appreciate him/her for help, (and donate him/her some ADA directly to helper.).

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [30 January 2022 11:58 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/2 "2022-01-30T11:58:49Z")

</div>

Hmm… I know there are more scripts… did u checked this topic?

> [@Pleas Help -Lost the last word of 24 seed phrase & 1K](https://forum.cardano.org/t/pleas-help-lost-the-last-word-of-24-seed-phrase-1k/89751):
>
> Pleas Help -Lost the last word of 24 seed phrase it was Nami wallet, I have only the first 23 seed phrase . Is there any way to recover my seed phrase? THANKS

I believe @HeptaSean can give u more details

Cheers,

---

<div class="post-metadata">

**Author:** ![adaloser](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adaloser/32/58632_2.png) [@adaloser](https://forum.cardano.org/u/adaloser)\
**Post date:** [30 January 2022 12:20 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/3 "2022-01-30T12:20:28Z")

</div>

thanks man, so do i need to send dm to sir @HeptaSean or not? is he ping by tagging here?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [30 January 2022 12:21 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/4 "2022-01-30T12:21:39Z")

</div>

Yeah, just wait for his reply

---

<div class="post-metadata">

**Author:** ![NKN4ALL](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/nkn4all/32/48369_2.png) [@NKN4ALL](https://forum.cardano.org/u/NKN4ALL)\
**Post date:** [30 January 2022 12:44 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/5 "2022-01-30T12:44:33Z")

</div>

Hi, @adaloser  
@HeptaSean Script worked for me perfectly…  
If you need more help, contact me.

This one should work for you:

> <https://gist.github.com/HeptaSean/f615f27128be4c1a7a66fe64d08e0b52>

---

<div class="post-metadata">

**Author:** ![adaloser](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adaloser/32/58632_2.png) [@adaloser](https://forum.cardano.org/u/adaloser)\
**Post date:** [30 January 2022 13:23 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/6 "2022-01-30T13:23:42Z")

</div>

Thanks man i used that and tested with a known wallet, but what should i do with 64 HEX strings it provided to me?

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [30 January 2022 13:43 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/7 "2022-01-30T13:43:35Z")

</div>

They are just information, what the result of that seed phrase is. (I’m currently working on a variant, where it will give you the stake key instead, makes much more sense.)

Important are the possible seed phrases before those hex strings. Those are the possibilities that at least have a correct checksum.

So, for one of 15 words missing, the script brings it down from 2048 possibilities to 64. For you, it’s 128 instead of 4096, since you have two possible positions. Still a lot, but doable.

---

<div class="post-metadata">

**Author:** ![adaloser](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adaloser/32/58632_2.png) [@adaloser](https://forum.cardano.org/u/adaloser)\
**Post date:** [30 January 2022 14:07 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/8 "2022-01-30T14:07:40Z")

</div>

Thanks sir, but if you can improve this to check all seeds on IOHK it will be awesome. I personally if reach to my wallet will donate you as well🙏

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [30 January 2022 14:10 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/9 "2022-01-30T14:10:52Z")

</div>

> [@adaloser](#):
>
> Thanks sir, but if you can improve this to check all seeds on IOHK it will be awesome.

Working on it (actually on either you give the stake key you are searching or it will check on [blockfrost.io](http://blockfrost.io) if the stake key has ever been active). But I cannot promise an estimated time of arrival.

If it is urgent: Check manually. If you have time, there will be a more comfortable solution.

---

<div class="post-metadata">

**Author:** ![adaloser](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adaloser/32/58632_2.png) [@adaloser](https://forum.cardano.org/u/adaloser)\
**Post date:** [30 January 2022 18:12 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/10 "2022-01-30T18:12:28Z")

</div>

thank you. is there any telegram related account for business up to you?

---

<div class="post-metadata">

**Author:** ![adaloser](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adaloser/32/58632_2.png) [@adaloser](https://forum.cardano.org/u/adaloser)\
**Post date:** [31 January 2022 12:52 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/11 "2022-01-31T12:52:30Z")

</div>

thanks man for your great script; i recovered all posiblites for 15 words permutations; i want to know is there anyway to convert the HEXs or seeds into keyfile directly? because the permutations made 977 seeds. i need to see the addresses of the HEXs or anything help me to find my balance or staking section. thanks again.

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [31 January 2022 14:11 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/12 "2022-01-31T14:11:52Z")

</div>

> [@adaloser](#):
>
> i want to know is there anyway to convert the HEXs or seeds into keyfile directly?

It is poosible, but I have not found a tool that does it straightforward.

And I have not finished my tool to do it, either.

The hex value is the “entropy” encoded in the seed phrase. From this, a master key and then all the receive addresses and the stake key are derived by a process described in [CIP-1852](https://github.com/cardano-foundation/CIPs/tree/master/CIP-1852) and related documents.

`cardano-wallet` ([GitHub - cardano-foundation/cardano-wallet: HTTP server & command-line for managing UTxOs and HD wallets in Cardano.](https://github.com/input-output-hk/cardano-wallet)) can import wallets and then show you the addresses of these wallets. Could be scripted to automatically import the 977 seeds that you have and then compare the addresses to some target you give it.

---

<div class="post-metadata">

**Author:** ![adaloser](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adaloser/32/58632_2.png) [@adaloser](https://forum.cardano.org/u/adaloser)\
**Post date:** [1 February 2022 02:53 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/13 "2022-02-01T02:53:45Z")

</div>

thank you so much for the information. I will try to make script and then share it here if it worked.

---

<div class="post-metadata">

**Author:** ![adaloser](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adaloser/32/58632_2.png) [@adaloser](https://forum.cardano.org/u/adaloser)\
**Post date:** [2 February 2022 15:57 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/14 "2022-02-02T15:57:05Z")

</div>

btw i inserted them manually all 977 possibilities; didn’t get the right wallet…  
idk what should i do after this…  
i think we need to relate the stake key directly into seeds and check them… i used [this](https://gist.github.com/ilap/4756099e2ec666b5148e83505c7adc80) and it detects all the same seeds as your script without hash (i checked all of them by ultra compare program to be sure its same)… tried them twice and nothing happened.  
if you have any recommendations ill really appreciate that.  
thanks in advance.

🟢and is it possible to recover the wallet from catalysts hashkey and password? I have catalyst hash and pin code

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [2 February 2022 17:39 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/15 "2022-02-02T17:39:50Z")

</div>

Next thing would be to check for typos that lead to other words on the list. There are surprisingly many closely related words like “food”, “foot”, “good”, “hood”, …

I’m really in the process of writing a script that does all that and can compare the result either to given stake keys or look in BlockFrost if the stake key has ever been active. But spare time projects take time. Sorry!

The Catalyst key won’t help, I’m afraid. As far as I know, it is created randomly and independently of your seed and just registered with a transaction.

---

<div class="post-metadata">

**Author:** ![adaloser](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adaloser/32/58632_2.png) [@adaloser](https://forum.cardano.org/u/adaloser)\
**Post date:** [3 February 2022 23:51 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/16 "2022-02-03T23:51:23Z")

</div>

thanks for your recommendations, i will try to find same structure words and check them one by one.  
we will wait for your script.  
yeah about the catalyst i guess tho…  
thanks for your attention again.

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [12 February 2022 13:54 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/17 "2022-02-12T13:54:46Z")

</div>

If you are still searching, I have written a far better usable script and presented it here:

> [@PySeedRecover: Find correct seed phrase in case of missing words, typos, wrong orders](https://forum.cardano.org/t/pyseedrecover-find-correct-seed-phrase-in-case-of-missing-words-typos-wrong-orders/95490):
>
> I just published PySeedRecover 1.0.1: It can be used to find correct seed phrases if a word is missing or a word was misread or misspelled. Partly, it can also help if the order of the words is wrong. (It just checks for exchanges of rows and columns in rectangular notations, because checking all permutations of the words is far too much.) It can probably not help much if you can restore with a seed phrase, but get to a wrong/empty wallet. In this case, other errors (mixed-up with other seed …

---

<div class="post-metadata">

**Author:** ![sjr34](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/sjr34/32/49100_2.png) [@sjr34](https://forum.cardano.org/u/sjr34)\
**Post date:** [19 February 2022 11:11 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/18 "2022-02-19T11:11:25Z")

</div>

@HeptaSean Thank you for your post on GitHub and the script you developed. I am inexperienced with using Python and am having trouble getting the commands to work.

-I downloaded and installed Python.  
-Downloaded PySeedRecover 1.0.1 and extracted all of the contents to one directory

I have been navigating to the file directory where PySeedRecover is located and launching cmd prompt from there. pip install PySeedRecover works no problem. However, after loading the module, none of the script commands work.

I keep getting “is not recognized as an internal or external command, operable program or batch file.”

Any ideas what I might be doing wrong?

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [19 February 2022 14:53 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/19 "2022-02-19T14:53:20Z")

</div>

> [@sjr34](#):
>
> I am inexperienced with using Python and am having trouble getting the commands to work.

Problem is: I haven’t used Windows for 20 years. So, I can just guess.

> [@sjr34](#):
>
> -Downloaded PySeedRecover 1.0.1 and extracted all of the contents to one directory  
> I have been navigating to the file directory where PySeedRecover is located and

This should not have been necessary, because …

> [@sjr34](#):
>
> launching cmd prompt from there. pip install PySeedRecover works no problem.

… `pip` installs packages from the Internet. They don’t need to be downloaded manually before that.

> [@sjr34](#):
>
> However, after loading the module, none of the script commands work.  
> I keep getting “is not recognized as an internal or external command, operable program or batch file.”

That’s strange. [https://stackoverflow.com/a/36160069](https://stackoverflow.com/a/36160069) says that normally the Python installation should add the `Scripts` directory to your path. Did it ask for something like that during installation?

They say that there is a script `Tools\scripts\win_add2path.py` in the Python directory that adds the scripts to the path. Perhaps, a new command prompt has to be started for that to take effect.

And then `seedrecover` should be available on the normal command prompt (or in Powershell).

---

<div class="post-metadata">

**Author:** ![sjr34](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/sjr34/32/49100_2.png) [@sjr34](https://forum.cardano.org/u/sjr34)\
**Post date:** [19 February 2022 15:05 UTC](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239/20 "2022-02-19T15:05:39Z")

</div>

I figured out that some of the install options for Python weren’t enabled. Got it to work now. Running through some code now to try and recover my seed phrase.

Thanks for developing this.

[Next page](https://forum.cardano.org/t/recover-the-15-words-wallet-with-14-words/94239.md?page=2)
