Denver, Colorado · Mountain Time

BIP38 encrypted key starting with 6P: what it is and what to do if you forgot the passphrase

David Veksler By David Veksler Nov 18, 2026 1 min read Guides

You have a printed sheet, a text file or a photo with a long string that starts with 6P. It is not a normal private key, a seed phrase or an address. It is a private key that was locked with a passphrase, using a standard called BIP38, and the passphrase is the part that went missing.

This guide explains what that string is, what makes it different from other forgotten-password cases, and what to gather before anyone tries to search for the passphrase. It covers keys you hold. It does not cover coins that were already sent to a scammer's address.

What a 6P string is

Locked out of a wallet like this one?

I repair hardware wallets, crack forgotten passwords, and rebuild broken seed phrases — on my own bench in Denver.

✓ NO FEE UNTIL YOUR CRYPTO IS BACK · FREE ASSESSMENT
Get a free assessment →

BIP38 describes a passphrase-protected private key record. Each record is a 58-character Base58Check string that always starts with 6P (BIP 38). The format was designed for paper wallets and physical bitcoins, where the printed key should be useless to someone who finds the paper.

The key inside is an ordinary Bitcoin private key. The passphrase is what turns the 6P string back into that key. Without it you have a string that no wallet will spend from.

Two types, told apart by the first three characters

The spec defines two ways of building a record, and the prefix shows which one you have (BIP 38):

Prefix Type Address style
6PR Standard, uncompressed Older uncompressed public key
6PY Standard, compressed Compressed public key
6Pf EC-multiplied, uncompressed Older uncompressed public key
6Pn EC-multiplied, compressed Compressed public key

Standard keys let someone encrypt any existing private key with any passphrase. The person who encrypts must know the passphrase.

EC-multiplied keys are made differently. The owner picks a passphrase and produces an intermediate code. A printer or key-generation service uses that code to create encrypted keys and addresses without ever learning the passphrase. These records can also carry a lot and sequence number, so an owner who ordered a batch of keys can tell them apart.

For a recovery attempt the difference matters because the two types use different decryption steps, so the tool has to be told which one it is looking at. The prefix tells it.

Why this is not like a forgotten wallet-file password

Most forgotten-password cases involve a wallet file that sits on a disk, such as a Bitcoin Core wallet.dat. A 6P key has three properties of its own:

That last point decides most cases. If you remember the shape of the passphrase, a search is a bounded job. If you remember nothing, no tool changes that.

Passphrase details that cause failed guesses

The spec says the passphrase is UTF-8 text, normalized with Unicode Normalization Form C before use (BIP 38). In practice, check these before concluding a passphrase is wrong:

A short, organized list gets further than a long brain dump. Write down:

  1. The 6P string, exactly. Check that it is 58 characters and that the prefix is one of the four above. A single wrong character in the string itself fails the checksum, which is a different problem from a wrong passphrase.
  2. The address it should control, if you have it. If the sheet shows a public address, a successful decryption can be confirmed against it.
  3. When and with what it was made. The tool or site, the rough year and whether it was printed or typed.
  4. What you remember of the passphrase: its length, the language, whether it used a phrase, a name, numbers or symbols, and fragments you are fairly sure of.
  5. Old passwords you used in that period. Passphrases are often reused or varied from passwords people had at the time.

Ideas for remembering a forgotten password shows how to mine your own habits for candidates.

Keep the key private and the work offline

A 6P string is protected by the passphrase, but a short or guessable passphrase makes the string weaker than it looks. Treat the string as sensitive.

After the passphrase works

Decrypting yields a private key. That is not the same as having the funds in a wallet you control. Sweep the whole balance to a new wallet in a single transaction, confirm the balance there, and make a fresh backup. Once a key has been decrypted and shown on a screen, treat the old paper as retired. The sweep-versus-import choice and the other redeem mistakes are covered in paper wallet recovery: damage and sweep mistakes.

If the printed sheet itself is damaged and some characters of the 6P string are unreadable, that is a separate step to fix first, and the same guide explains how checksums limit the repair.

When to get help

If you have a 6P key and remember part of the passphrase, describe what you have: roughly when the key was made, what generated it, the prefix of the string, and what you recall about the passphrase. Leave out the key itself.

The assessment is free, the pricing is published, and there is no fee until your crypto is back. The forgotten wallet password recovery page explains the general process.

Get your free assessment →

Sources

BIP38 encrypted key questions

What is a key that starts with 6P?

It is a BIP38 encrypted private key: a 58-character Base58Check string that holds a Bitcoin private key locked by a passphrase. The second character, an uppercase P, marks it as needing a passphrase (BIP 38). It is not a seed phrase and not a normal private key, and a wallet will not spend from it until the passphrase decrypts it.

Can I tell whether a passphrase guess is right without the blockchain?

Yes. Each encrypted key carries a 4-byte hash of its own Bitcoin address. A software tool decrypts with the guessed passphrase, derives the address, and compares the hash. A wrong passphrase fails that check, so guesses can be tested on an offline computer (BIP 38).

Is a BIP38 passphrase the same as a wallet password?

It plays the same role, but the exact characters matter more than people expect. The spec defines the passphrase as UTF-8 text normalized with Unicode Normalization Form C, so an accented character or a different keyboard layout changes what was typed, and extra spaces and capitalization count.

If I find the passphrase, is the crypto recovered?

Finding the passphrase gives you the private key. The coins are recovered once you sweep them to a wallet you control and confirm the new balance. Do the decrypting and the sweep on a computer you trust.

David Veksler

David Veksler

Founder of WalletRecovery.info. Working in Bitcoin since 2013; recovering wallets for clients since 2017 through Veksler Consulting LLC (Colorado, USA). About David →

Locked out of your wallet?

Describe your situation and I'll tell you — for free — whether recovery is realistic. No fee until your coins are back.

Get a free assessment →
☎ +1 214-659-1775 · contact@walletrecovery.info · Denver, Colorado · Mountain Time