What "locked" means for a PDF, and your options

A locked PDF usually means one of two things: the file is password-protected, or it has restrictions set by the creator that prevent copying, printing, or editing. These are different problems with different solutions.

If you have the password, opening the file is straightforward — you enter it when prompted. If you don't have the password, your options depend on what kind of lock is in place and whether you have a legitimate reason to open it. Some locks are easy to remove with free tools; others are designed to be permanent.

The most common scenario is a PDF with a user password (the one that stops you from opening the file at all) or an owner password (which restricts what you can do once it's open). Owner passwords are often weaker and easier to remove than user passwords.

Key Takeaways

  • If you know the password, most PDF readers will open the file when you enter it at the prompt.
  • Owner passwords (which restrict printing or copying) can often be removed with free online tools or desktop software like QPDF.
  • User passwords (which prevent opening the file) are harder to remove and usually require the original password or specialized software.
  • If the PDF came from your employer, school, or a service you use, contact them first — they can often send you an unlocked version or the password.

Opening a PDF when you have the password

When you try to open a password-protected PDF in Adobe Reader, Preview (on Mac), or most other PDF readers, a dialog box appears asking for the password. Type it in and click Unlock or Open. The password is case-sensitive, so check your caps lock.

If you're not sure whether you have the right password, try it a few times — most readers allow multiple attempts. If the password doesn't work after three or four tries, you likely have the wrong one. Write down exactly what you're typing (including spaces or special characters) and double-check it against wherever you received it.

If you've lost the password but you're the document's owner, contact whoever gave it to you. If it's your own document and you set the password years ago, you may need to use a password recovery tool (see the section below on removing owner passwords).

Removing owner passwords with free tools

Owner passwords restrict what you can do with a PDF — usually printing, copying text, or editing — but they don't prevent you from opening it. If you can open the file but can't copy text or print it, an owner password is in place.

The easiest method is an online tool like ilovepdf.com or smallpdf.com. Go to the site, find the "Unlock PDF" or "Remove Password" option, upload your file, and download the unlocked version. These tools work because owner passwords are often lightly encrypted. The process takes seconds and requires no software installation.

If you prefer not to upload files to a website, use QPDF, a free command-line tool that runs on Windows, Mac, and Linux. Download it from qpdf.sourceforge.io, then open your terminal or command prompt and run a command like qpdf --password= --empty-password input.pdf output.pdf. This removes the owner password and saves a new, unlocked file. The tool is reliable and keeps your file on your computer.

Another option is PDFtk (PDF Toolkit), which has a free version and a graphical interface on some systems. It works similarly to QPDF but may be easier if you're not comfortable with the command line.

When you don't have the user password

A user password prevents the file from opening at all. If you don't have it, removing it is much harder than removing an owner password. The encryption is stronger, and there's no reliable free method.

Your best option is to contact whoever created or sent you the PDF. If it's from your employer, school, bank, or a service you subscribe to, they can send you an unlocked version or provide the password. Explain that you need to open the file and ask them to help.

If you absolutely need to open it and can't reach the creator, paid password-recovery services exist, but they're expensive (often $50 to $200) and not may provide to work, especially if the password is long or complex. These services use brute-force attacks or dictionary attacks, which take time and may fail.

Some older PDFs with weak encryption can be cracked with free tools like John the Ripper or Hashcat, but these require technical knowledge and work only on PDFs created with older encryption standards. Most modern PDFs are encrypted well enough that these tools won't help.

Using Adobe Reader or Preview to check what's locked

If you're not sure what kind of lock is on your PDF, open it in Adobe Reader (Windows or Mac) or Preview (Mac). Go to File > Properties (Adobe Reader) or Tools > Show Inspector (Preview). Look for a Security tab or section that lists restrictions.

If it says "User Password" or "Document Open Password", the file requires a password to open. If it says "Owner Password" or lists restrictions like "Printing: Not Allowed" or "Copying: Not Allowed", you have an owner password lock that can usually be removed with the tools mentioned above.

On Mac, Preview shows restrictions under Tools > Show Inspector, then click the Security icon. On Windows, Adobe Reader shows them under File > Properties, Security tab.

When the PDF is locked for a good reason

Some PDFs are locked because the creator wants to protect their work or control how it's used. Legal documents, contracts, and confidential reports are often locked to prevent unauthorized copying or editing. If you received a locked PDF from someone else, respect that restriction unless you have explicit permission to remove it.

If you need to use the document but can't open it or copy from it, ask the creator or sender for an unlocked version. Most people will provide one if you have a legitimate reason. If it's a document you own or created, you can remove the lock yourself using the methods above.

If the PDF is from a website or service and you're having trouble accessing it, check the site's support or FAQ — they may have instructions for downloading an unlocked version or may need to resend it to you.

Frequently Asked Questions

Can I remove a password from a PDF I didn't create?

Technically, yes, using the tools described above — but whether you should depends on why it's locked. If it's your own document or you have permission from the creator, go ahead. If it's someone else's work and they locked it intentionally, removing the password without permission may violate copyright or terms of use.

Is it illegal to remove a PDF password?

In most places, removing a password from a PDF you own or have permission to modify is legal. Removing passwords from someone else's work without permission may violate copyright law or the Digital Millennium Copyright Act (DMCA) in the US, depending on the circumstances. When in doubt, ask the creator first.

Why does my PDF open but won't let me copy text?

That's an owner password lock. The file isn't protected from opening, but the creator has restricted copying, printing, or editing. Use one of the free tools mentioned above (ilovepdf.com, QPDF, or PDFtk) to remove the restriction.

What if the online unlock tool doesn't work?

Online tools work best on PDFs with standard owner passwords. If it doesn't work, try QPDF or PDFtk instead — they handle more encryption types. If those don't work either, the PDF likely has a user password (not an owner password), which requires the actual password to open.

Can I unlock a PDF on my phone?

Yes, using an online tool like ilovepdf.com or smallpdf.com in your phone's browser. Upload the file, unlock it, and download the result. Some PDF reader apps (like Adobe Reader for iOS or Android) can open password-protected files if you enter the password, but they can't remove passwords.