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.
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:
- There is no wallet around it. The record is the whole secret. No other file, device or account needs to be found.
- It can be checked offline. Each record contains a 4-byte hash of the Bitcoin address it protects. A tool decrypts with a guessed passphrase, derives the address, hashes it and compares. A wrong guess fails the comparison, so candidates can be tested with no internet connection and no blockchain lookup (BIP 38).
- The cost per guess is deliberate. The format uses scrypt, a key derivation function built to be slow to compute, and the spec's parameters are n=16384, r=8, p=8 (BIP 38). Trying every possible passphrase is not realistic. A search works when the candidate list is built from what you remember.
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:
- Capitalization and spaces. A trailing space or a capital letter at the start of a word changes the result completely.
- Accented and non-English characters. Normalization means a composed character and its decomposed form should give the same key, but a character you cannot type on your current keyboard may be the one you used years ago.
- Keyboard layout. A passphrase typed on a different layout produces different characters from the same keystrokes.
- The tool that did the encrypting. Work out which tool or site made the key and what it asked you to type, because that is the string you need to reproduce.
- Typos at creation time. If the passphrase was entered once with no confirmation, the version you remember may never have been the one that was set.
What to gather before any search
A short, organized list gets further than a long brain dump. Write down:
- 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.
- The address it should control, if you have it. If the sheet shows a public address, a successful decryption can be confirmed against it.
- When and with what it was made. The tool or site, the rough year and whether it was printed or typed.
- 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.
- 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.
- Do not paste it into a website that offers to decrypt BIP38 keys. A page that handles your encrypted key and your guesses can keep both.
- Do not send the string in a first message to anyone, including a support form. You do not need to, and a legitimate service does not ask for it up front.
- Run decryption tools offline, on a computer you control, with software whose source you can inspect.
- Do not pay anyone who contacts you first. Offers that appear under forum and social posts are the standard recovery scam. How to tell a legitimate recovery service from a scam is the checklist.
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.
Sources
- BIP 38: Passphrase-protected private key, Bitcoin Improvement Proposals, retrieved 2026-11-17. Source for the 58-character format, the four prefixes, the 4-byte address hash, the UTF-8 NFC passphrase rule and the scrypt parameters.
