user72842: I have an old wallet from 2013 with some BTC in it possibly. I have guesses for what the passphrase could be but not 100% sure on it. Everything I find online is to use pywallet but I unfortunately am a total scrub when it comes to python scripts. So really I am confused exactly what I need to do to obtain the btc out of this wallet. Do I need to extract the private keys from my corrupted wallet and import them into a new wallet? or can I simply merge the corrupted wallet with a new one and the merged wallet will read right? I know pywallet can do all these functions but have no idea myself on how to go about it. Thanks for any help.

user63569: Install Bitcoin Core and they can do all this work to import your old wallet. 
Bitcoin Core's -salvagewallet try to recover a broken wallet database (wallet.dat file).

user4901: I wrote a guide to corrupt Bitcoin Wallet recovery.  Yes, you should use pywallet. It can dump the private keys from your wallet to a file even if Bitcoin Core fails to salvage it.  You can then import them into a new wallet.
Dump the wallet with pywallet to extract the private keys:
python pywallet.py –dumpwallet > wallet.text --passphrase= PASSPHRASE

Now find the address containing your Bitcoins and sweep the private key.

72842: <p>I have an old wallet from 2013 with some BTC in it possibly. I have guesses for what the passphrase could be but not 100% sure on it. Everything I find online is to use pywallet but I unfortunately am a total scrub when it comes to python scripts. So really I am confused exactly what I need to do to obtain the btc out of this wallet. Do I need to extract the private keys from my corrupted wallet and import them into a new wallet? or can I simply merge the corrupted wallet with a new one and the merged wallet will read right? I know pywallet can do all these functions but have no idea myself on how to go about it. Thanks for any help.</p>
 63569: <p>Install Bitcoin Core and they can do all this work to import your old wallet. </p>

<p>Bitcoin Core's -salvagewallet try to recover a broken wallet database (wallet.dat file).</p>
 4901: <p>I wrote a <a href="https://walletrecovery.info/how-to-recover-your-corrupt-or-deleted-bitcoin-core-wallet/" rel="nofollow noreferrer">guide to corrupt Bitcoin Wallet recovery.</a>  Yes, you should use <a href="https://github.com/jackjack-jj/pywallet" rel="nofollow noreferrer">pywallet</a>. It can dump the private keys from your wallet to a file even if Bitcoin Core fails to salvage it.  You can then import them into a new wallet.</p>

<p>Dump the wallet with pywallet to extract the private keys:</p>

<pre><code>python pywallet.py –dumpwallet &gt; wallet.text --passphrase= PASSPHRASE
</code></pre>

<p>Now find the address containing your Bitcoins and sweep the private key.</p>
