Wallet Seed Recovery with Swapped Seed Words in BTCRecover

Wallet Seed Recovery with Swapped Seed Words (BTCRecover Bitcoin Usage Example)

If you have ever tried to “improve” your backup by rearranging words in your seed phrase, this is the kind of problem I see a lot. People swap pairs of words because they think it adds an extra layer of protection. In practice, that usually just creates a much harder recovery job later — especially if you forget exactly which words were moved.

In this article, I will walk through how to use BTCRecover for a common but insecure backup mistake: swapping pairs of words in a BIP39 seed phrase. If you prefer the visual version, Watch the video.

The goal is simple: show how to recover from swapped seed words using BTCRecover’s word-swap transform, explain how to adapt the example for your own wallet address and best-guess mnemonic, and be clear about what this technique can and cannot do.

Stuck with a wallet recovery?

I maintain BTCRecover and have helped people recover seed phrases, passphrases and wallet passwords since 2019. Book a one-hour video session and I’ll walk you through doing the recovery yourself, without sharing your seed. Or, if you’d rather I run it, a trusted recovery is charged only if it succeeds.

Private sessions: US$100 per hour. Trusted recovery: 10% of recovered funds. I never contact people first and will never ask for your seed phrase over chat or email.

Why Swapped Seed Words Are a Problem

Swapping pairs of seed words does not meaningfully protect your backup from someone who is actually trying to compromise your wallet. It mainly protects you from yourself — in the worst possible way. If you forget which words were swapped, recovery becomes much more complicated than it needs to be.

The important point is this: if you have already done something like this, do not panic. BTCRecover can check for one, two, or more swapped pairs of words in a guessed mnemonic. That makes it possible to recover the correct seed without guessing manually.

Installation and Security Warning

Before doing any recovery work, make sure you are using the right tool from the right place. This is especially important because there are malicious versions of BTCRecover on GitHub. I have asked for them to be removed, but they can still be found. So do not just grab a random fork or unofficial build. Use the official repository and be careful about where you download it from.

Official BTCRecover GitHub repository page
Use the official repository and verify what you are downloading.

I also strongly recommend running recovery in an offline environment. Ideally, the machine you use to run BTCRecover should stay offline until you have moved the funds from the recovered wallet into a new, clean wallet.

This is not just being cautious for the sake of it. Recovery tools work by testing many possible seed candidates against your wallet address or address database. That means the tool may generate and test sensitive material on the machine where it runs. Keeping that process offline reduces the risk of exposing anything to network-based threats.

Basic Recovery with Two Swapped Word Pairs

The example in the video follows a standard usage case from the BTCRecover documentation: checking for two swapped pairs of words in a BIP39 seed phrase. The key part of the command is the transform argument that tells BTCRecover to look for word swaps.

In this basic example, we also set typos to zero because we are assuming there are no other errors in the mnemonic — only swapped word pairs. If you know your backup has misspellings or missing words as well, then a different setup would be needed. But if the only issue is that some pairs of words were switched, setting typos to zero makes the search faster and more focused.

To run this kind of recovery from the command line:

  1. Open a terminal or command prompt on your offline machine.
  2. Navigate into your BTCRecover folder.
  3. Run seedrecover.py with the word-swap transform enabled.
  4. Set the number of swapped pairs you want to check.
  5. Keep typos at zero if you are confident there are no other errors.
Command prompt ready inside the btcrecover folder
Open a command prompt in your BTCRecover directory before running the recovery.

In the example, the tool checks for two pairs of swapped words and finds the correct seed quickly. That is exactly what you want to see when the assumptions are right: the search space stays small enough that the result comes back fast.

BTCRecover checking two pairs of swapped words with a security warning shown
The word-swap transform can check for one, two, or more swapped pairs.

Modifying the Example for Your Own Wallet

If you are doing your own recovery, you usually do not need to build the entire command from scratch. You can start with a simpler command and let the graphical interface prompt you for the details. This is often easier if you want to enter everything manually rather than copy-pasting a full example.

A practical setup looks like this:

  1. Run seedrecover.py from your BTCRecover folder.
  2. Set typos to zero if there are no other errors in your mnemonic.
  3. Choose the number of word swaps you want to check.
  4. Select the wallet type, such as a Bitcoin BIP39/BIP44 wallet.
  5. Enter or paste your target wallet address.
  6. Set an address generation limit based on how many addresses your wallet may have used.
  7. Provide your best-guess mnemonic in the prompt.

The address generation limit matters more than people expect. Bitcoin wallets generally generate a new address for each transaction, so older wallets can have many addresses. If you are not sure, start with a modest number and increase it if needed. If you are using an address database instead of a single known address, the default may be enough in many cases because most wallets begin at the first address.

Address limit dialog prompting for how far into the wallet to search
Set the address generation limit based on your wallet’s age and usage.

When you provide your best-guess mnemonic, you are giving BTCRecover a starting point. The tool then applies the word-swap transform and checks whether any rearranged version of that guess matches the target wallet. If it does, it returns the correct seed.

This is where the method becomes especially useful: you do not need to remember the exact original order perfectly. You just need a reasonable best guess and an accurate idea of how many pairs were swapped.

Seed Lists, Token Lists, and Three Swaps

The same approach also works when you are not sure which backup belongs to the wallet you are trying to recover. This is common with people who have multiple seed phrases and may have rearranged words in more than one of them. In that case, you can use a seed list or token list so BTCRecover can test several possible mnemonics at once.

In the second example from the video, the recovery uses a bundled example seed list containing four seeds. The command checks all of those seeds for swapped words against a target Bitcoin address using BIP39 and three word swaps. Because this is being done through the command line with a seed list, you also need to specify the mnemonic length and language explicitly.

The steps are similar in spirit:

  1. Prepare a seed list or token list with your candidate mnemonics.
  2. Run BTCRecover from the command line using that list.
  3. Set the wallet type to BIP39 for this example.
  4. Provide the target address or address database.
  5. Choose how many word swaps to check across all candidates.
  6. Specify the mnemonic length and language, since those are required with lists.
Command line example checking a seed list for swapped words against a Bitcoin address
Seed lists let you test multiple candidate mnemonics in one recovery run.

In that example, the correct seed turned out to have only two pairs of words swapped, even though three swaps were being checked. That is normal: checking for more swaps than necessary still works, but it increases the amount of work the tool has to do. If you already know there are no other errors and you can narrow down the number of swaps, doing so will make recovery faster.

Practical Computational Limits

Now let’s talk about what this technique can realistically achieve — and where it stops being a good security strategy.

The first thing to understand is that a 12-word seed can be de-scrambled very quickly on ordinary hardware. For a 12-word BIP39 mnemonic, there is no number of swaps that makes the backup meaningfully secure against a determined attacker. If someone has your scrambled 12-word phrase, they can brute-force the correct order in a practical amount of time. I demonstrate this elsewhere: even middle-of-the-range hardware can de-scramble a 12-word seed in just a couple of hours.

That means word swapping is not a reliable backup protection method for 12-word seeds. It may slow down casual guessing, but it does not create real security.

For 24-word seeds, the math changes dramatically. A completely random de-scramble of a 24-word seed is not practical in the same way. However, that does not mean swapping words is a good idea either. The number of possibilities grows quickly as you add more swaps, and while one, two, or three swapped pairs may still be recoverable with BTCRecover, you will eventually hit exponential complexity if you go beyond that.

Documentation page showing swap-complexity formula and seed possibility table
The number of possibilities grows quickly as the number of swaps increases.

This is a really good illustration of why tampering with your seed in this way is usually a bad idea. If you want an extra layer of protection, using a passphrase is almost always a better choice than rearranging words and hoping you remember what you did later.

Summary and Conclusion

Swapped seed word pairs are one of those backup mistakes that sound clever but create real problems when recovery time comes. The good news is that BTCRecover has a built-in transform for exactly this situation, so you do not have to manually test every possible rearrangement yourself.

The key points are:

  • Swapping pairs of seed words adds almost no real security against a determined attacker.
  • Use the official BTCRecover repository and run recovery on an offline machine until funds are moved to a new wallet.
  • The word-swap transform can check for one, two, or more swapped pairs in a guessed mnemonic.
  • If you know there are no other errors, setting typos to zero makes the search faster.
  • BTCRecover can verify candidate seeds using a known address, an address database, and an address generation limit.
  • Seed lists and token lists are supported when multiple possible mnemonics need to be checked at once.
  • 12-word seeds can be de-scrambled quickly on ordinary hardware, so word swapping is not a reliable backup protection method.

If you are trying to recover from swapped seed words, start with your best-guess mnemonic, decide how many pairs may have been switched, and let BTCRecover test the possibilities for you. If you get stuck or want one-on-one support or a trusted recovery, you can request help through my wallet recovery services page.

The safest takeaway is simple: keep your backup standard, use a passphrase if you need extra protection, and avoid “improvements” that make recovery harder than it needs to be.

Full video transcript

Auto-generated from the video and lightly corrected; timestamps open that moment on YouTube.

Introduction 0:00

One of the big challenges with self-custody is I often see people come up with all sorts of different schemes that they think will help provide an extra layer of security to their backups, but oftentimes actually don't. One of the schemes like this that I see pop up from time to time is when people have swapped pairs of words in their seed phrase, something that adds almost no security against someone who's actually trying to compromise your wallet, but also is a big inconvenience if you forget the words you switched. So in this video, I'll just be running through how to use BTCRecover to recover in a situation like this where you might have swapped a few pairs of words in a seed phrase. And if you haven't already done so, hit subscribe. That way you can stay in the loop for content I make to help you find your way in the crazy and often hostile environment that is cryptocurrency.

Installation note and BTCRecover Security Warning 0:36

So first things first, this video assumes you have a working installation of BTCRecover running. So if you haven't got that, you can follow the documentation online here as well as video tutorials for a variety of different operating systems. The last thing I will say is there are malicious versions of BTCRecover in the wild. They are on GitHub. I've asked them to be removed. They are still there. So you need to make sure you're downloading the version from my repository and make sure that you're running BTCRecover in a totally offline environment. Ideally, the system you run the recovery on would stay offline until you have moved the funds off the wallet onto a new one.

Basic Seed Recovery with Two Pairs of Swapped Words 1:10

In terms of the example in this video, I'll actually just be following a usage example that I wrote for this type of recovery and a few different situations that we've got here. So basically, we'll just start with this very standard recovery example. Now, these usage examples in the documentation are basically made. So you can literally just copy and paste them and they will just work straight away. So I'll just copy this command and then I'll actually just put it in command prompt and explain what it's doing. So basically we'll just open a command prompt in whatever system we're on, navigate to our BTC recover and I'll just paste that command in there. So this command has a bunch of stuff in there so it'll just run straight away without asking for any information but the key things we want here are this argument here. So that's transform word swaps. That's the argument used. And what we're checking for in this instance is two pairs of words that have been swapped. And in this example, we actually just set typos to zero because we're sure that there are no other errors in this mnemonic. So if I just hit enter, and there we go. And that ran and found the correct seed very quickly. If you're doing your own recovery for

Modifying Usage Example for your own recovery 2:12

this, basically what we can do is we can get rid of most of this command line stuff, and it will prompt us for it in the graphical interface so if you were doing your own recovery and we're happy to enter everything in on the graphical interface you could just say you know python seedrecover.py you can set typos to zero assuming there are no other errors in the seed and just choose number of word swaps that you want and basically then it will just prompt you for all the other information as well as give you the security warning so we would just say cancel and just to recreate what we just did before we would choose that we have a Bitcoin wallet. We don't have the extended public key in this instance so we'd say cancel. The wallet address in the previous example that we used was this one here so we just paste that there. So the address generation limit is how far into your wallet it will search in terms of Bitcoin which generally generates a new address for every transaction that you have. So depending on how new or old your wallet is you might need to increase that to a larger number you know maybe 10 maybe 20 maybe 50. You want to find one of the earliest addresses you can for this if you're using an address database instead of providing the actual address you can just leave that at one because most wallets will start at the first address in the wallet but we'll just leave that as 10 the default is pretty sensible and here's where we put our best guess for the mnemonic so in this instance we're providing this guess here which has these three words that are actually incorrect so originally we started with this seed here and swapped bulk and enrich and then after we had made that swap we also did a second swap where we swapped the word in this position and this position. So we need to check for two swaps in this one. So we'll put that in as our guess. We'll say okay and then that's just going to run and there we go and because we started it with the graphical interface it pops up with the result in a graphical text box too. This functionality also works with seed lists and token lists and other

Using this with Seedlists/Tokenlists and up to Three Pairs of Swapped Words 4:05

things like that and I'll just show you what that looks like in this next example here. So basically here we are using a seed list. So this might be a situation where someone has maybe four seeds and they've gone swapping the words around in them, but they're actually not sure which seed backup corresponds to the wallet they're trying to recover. The example seed list we are using are these four seeds here. And look, we'll just copy this command again. And because we're using a seed list, this actually is all going to happen through the command line. So pretty much we specify the seed list here this example just uses a seed list that's bundled with the repository this here disables the security warning i'm just checking the address limit of one just for the sake of this example i've got the address there this could also just be an address database again we're just using wallet type BIP39 and this time we're actually going to check for three possible word swaps in all of these because we're using a seed list we have to specify the mnemonic length and the language just like with a token list so i'll just hit enter and that's going to run and there you go there is the correct seed and you can see in this instance basically it was just two pairs of words that had been swapped so we actually could have easily gotten away with only worrying about checking up to two pairs of words that were swapped and even three swaps doesn't take a meaningful amount of time to solve anyway in terms of the practical limits about how many

Practical Computational Limits 5:32

swaps you can compute the first thing to say is that a 12 word seed can be de-scrambled in a very short amount of time anyway. So for a 12-word seed, there is no number of swaps that makes a backup secure. I demonstrate how to de-scramble a 12-word seed here. Even middle-of-the-range hardware can de-scramble a 12-word seed in a couple of hours. So it really provides no real security. Though in terms of a 24-word seed, obviously the math involved means that just de-scrambling one of those that's completely random is not practical. And I essentially give you a quick formula here just to give you an idea of working out how many possibilities there are for an n number of swaps and essentially you know you've got one two and three swaps here that you can look at which are all quite doable though you will start to hit a wall of exponential complexity once you go past more than say three or four swaps for a 24 word seed so there you go a really good

Summary and Conclusion 6:21

illustration of why tampering with your seed like this is often a really bad idea and you're almost always better off just using a passphrase just like most of the features in btc recover this feature to be able to check you know swaps of words is available for pretty much all wallets and chains and coin types that are supported by btc recover for seed recovery if you have any questions about this specific type of recovery or btc recover in general just leave a reply in the comments and if you're totally totally stuck and want either one-on-one support or a trusted recovery you can request one of those through my website anyway best of luck and stay safe thanks for watching i hope that was helpful hit like if you think that other people would find this video useful and hit subscribe if you'd like to be kept in the loop about future content I make that helps people stay safe in the crypto space and to recover if they get into trouble. If you have any questions about this video or a topic that you'd like me to cover, just leave a reply.

Related guides

Stuck with a wallet recovery?

I maintain BTCRecover and have helped people recover seed phrases, passphrases and wallet passwords since 2019. Book a one-hour video session and I’ll walk you through doing the recovery yourself, without sharing your seed. Or, if you’d rather I run it, a trusted recovery is charged only if it succeeds.

Private sessions: US$100 per hour. Trusted recovery: 10% of recovered funds. I never contact people first and will never ask for your seed phrase over chat or email.

Found this useful?

These guides are free and ad-free. You can support them by sharing them, subscribing on YouTube, or sending a tip.

Stuck on this?

Book a one-hour session and I’ll walk you through it, or ask about a trusted recovery.

Recovery guides

More guides