OnDevicePDF logoOnDevicePDFPrivate by Design
← Back to Blog

Guide • July 14, 2026

Forgot Your PDF Password? How to Recover It On Your Device

You protected an important PDF months ago and now the password won’t come to mind. Before you resign yourself to re-creating the document, here’s how PDF password recovery actually works — and how to do it without uploading your file to anyone.

First, which lock are you dealing with?

A PDF can carry two different passwords, and they lead to two different solutions:

  • An owner (permissions) password restricts printing, copying, or editing but still lets the file open. If your PDF opens fine and only blocksprinting or copying, you don’t need to recover anything — you can strip those restrictions instantly.
  • A user (open) passwordis the one that stops the document from opening at all. This is the one people mean by “I forgot my PDF password.” Recovering it means finding the password itself.

If you knowthe password and just want an unprotected copy, that’s not recovery — that’s unlocking. Use Remove PDF Password instead. This guide is for the case where the password is genuinely lost.

How password recovery actually works

There is no secret “master key” and no back door. Recovery is simply guessing well: a tool generates candidate passwords in a smart order and checks each one against the PDF’s encryption until one fits. The art is in the ordering — trying the likely candidates first so the answer turns up in seconds instead of centuries.

A good on-device recovery pass works through, roughly in this order:

  1. Owner-strip first. If it’s only a permissions lock, it’s removed immediately — no guessing needed.
  2. Passwords you remember. Fragments you type in (a pet’s name, a company, a favourite word) get expanded with common variations — capitalisation, a year on the end, a !, leetspeak.
  3. Dates and PINs. Birthdays and anniversaries in every common format (DDMMYYYY, YYYYMMDD, and so on) and short numeric PINs.
  4. Common passwords. A built-in list of the passwords people actually reuse.

Adding what you remember — even a vague hint like “it started with my dog’s name” or “it was 8 digits” — dramatically narrows the search and is usually the difference between a two-second recovery and no recovery at all.

Why you should never upload the PDF to recover it

A locked PDF is almost always something private — a bank statement, a contract, tax paperwork, medical records. Most “online PDF password recovery” services work by uploading that file to their servers, which means handing your confidential document (and its password, once found) to a company you know nothing about.

OnDevicePDF does the whole thing in your browser. The candidate passwords are generated and tested on your own machine; the PDF is never sent anywhere. You can confirm it yourself: open your browser’s developer tools, watch the Network tab, and run a recovery — you’ll see no upload of your file. On the recovery page we go further and switch off analytics entirely, so nothing about your session leaves the device.

It’s also faster for the common cases: no round-trips to a server, and the search runs on a background thread so the page stays responsive while it works.

What can — and can’t — be recovered

Honesty matters here, because the encryption is real. Whether a password can be recovered depends on two things: how you chose it and how the PDF was encrypted.

  • Very recoverable: a password you picked yourself — a word, a name, a date, a PIN, or a small variation of one. This is the vast majority of forgotten passwords.
  • Sometimes recoverable: a short numeric or simple password on an older (RC4 / AES-128) PDF, which can be searched quickly.
  • Not recoverable on any device: a long, truly random password on a modern AES-256 (revision 6) PDF. The maths that protects it also puts brute force out of reach — for us and for the “professional” cloud crackers alike. If a tool promises to crack that, be sceptical.

For the last case, the honest options are to try hard to remember (a recovery tool lets you feed in every fragment you can recall) or, if you have the original source, re-export the document.

Recover your PDF password — in your browser

Free, on-device, no upload and no sign-up. Add any hints you remember to speed it up.

Open Recover PDF Password

Step by step

  1. Open the Recover PDF Password tool and drop in your locked PDF. Nothing uploads.
  2. Confirm you own the document. This is a tool for your own files.
  3. Add any hints — words, names, dates, a length, or “starts/ends with”. All optional, but they help a lot.
  4. Press Start recovery. Watch the live progress; press Stop any time.
  5. When it finds the password, your unlocked PDF downloads automatically and the password is shown so you can save it.

Related tools & guides

Forgetting a password isn’t the end of the document. Most of the time it’s something you half-remember, and the right ordering finds it fast — on your own machine, with the file never leaving your device. Start with the Recover PDF Password tool and add every hint you can.