The fastest way depends on what kind of password you have
A PDF can have two different passwords, and which one you're removing changes how you do it. An owner password restricts what people can do with the file — print it, copy text, edit it — but doesn't stop you from opening it. A user password stops the file from opening at all until someone types the correct password. Most people need to remove an owner password because they forgot it or inherited a locked file from someone else.
If you know the user password (the one that opens the file), you can remove the owner password yourself using free software on Windows, Mac, or online. If you don't know either password, the file is locked in a way that's intentionally hard to break, and you'll need to contact whoever created the PDF or use a paid service.
Key Takeaways
- An owner password restricts printing and copying but doesn't stop you from opening the file; a user password stops the file from opening at all.
- If you can open the PDF, you can remove the owner password using free desktop software like QPDF on Windows or Preview on Mac.
- Online PDF tools can remove owner passwords without downloading software, but you're uploading your file to someone else's server.
- If you don't know the user password, you cannot remove it yourself — you'll need to contact the person who created the file.
- Removing a password you own is legal; removing one from someone else's file without permission is not.
Remove an owner password on Windows using QPDF
QPDF is a free command-line tool that removes owner passwords from PDFs. read it from qpdf.sourceforge.io, then run the installer and accept the default settings. Once installed, you'll use the Windows Command Prompt to run a single command that strips the password.
Open Command Prompt by pressing Windows key + R, typing cmd, and pressing Enter. Navigate to the folder where your PDF is stored by typing cd C:\Users\YourUsername\Downloads (replace YourUsername with your actual username, or change Downloads to wherever your file is). Then type this command exactly, replacing locked.pdf with your filename and unlocked.pdf with what you want to call the new file:
qpdf --password= --empty-password-is-user-password locked.pdf unlocked.pdf
Press Enter. If the command works, you'll see no error message, and a new unlocked file will appear in that folder. If you see an error, the file may have a user password (the kind that stops it from opening), which you cannot remove without knowing the password.
Remove an owner password on Mac using Preview
Mac's built-in Preview app can remove owner passwords without any extra software. Open the locked PDF in Preview, then go to the menu bar and click Tools > Show Inspector. In the Inspector panel that appears on the right, click the lock icon at the top.
Preview will ask you to enter the user password if one exists. If the file opens without asking for a password, leave the field blank and click Unlock. Preview will then remove the owner password restrictions. Save the file by pressing Command + S, and the new version will have no password.
If Preview asks for a password and you don't know it, the file has a user password and cannot be unlocked this way. You'll need to contact whoever created the file.
Remove an owner password using an online PDF tool
Several websites remove PDF passwords without downloading software. Go to a tool like ilovepdf.com, smallpdf.com, or pdf2go.com, then look for an option called "Unlock PDF" or "Remove Password." Upload your PDF file, and the tool will process it and let you read the unlocked version.
The advantage is speed and simplicity — no installation, no command line. The disadvantage is that you're sending your PDF to someone else's server. If the file contains sensitive information, this may not be the right choice. Read the website's privacy policy to understand what they do with uploaded files. Most delete them after a few hours, but policies vary.
These tools work only on owner passwords. If the file has a user password, the website will tell you it cannot be removed.
What to do if you don't know the user password
A user password is the kind that stops the file from opening at all. If you see a password prompt when you try to open the PDF and you don't know the password, you cannot remove it yourself using free tools. The password is encrypted in a way that's intentionally difficult to break.
Your options are limited. Contact the person who created the file and ask them to send you an unlocked version or to tell you the password. If the file came from a business or organization, contact their help desk or the person who sent it to you. If you created the file yourself but forgot the password, some paid services claim to recover or remove user passwords, but they are expensive and not always successful.
Understand the difference between the two password types
When you open a PDF and see a password prompt when ready, that's a user password. The file won't open until you type the correct password. Once it's open, you can read it, but you might not be able to print it, copy text, or edit it — those restrictions are set by an owner password.
An owner password is invisible to you when you open the file. You only notice it when you try to do something restricted, like copy text or print. If you can open the PDF and read it, but copying or printing is blocked, an owner password is what's stopping you. That's the kind you can remove with the methods above.
Check what restrictions are actually on your PDF
Before you try to remove a password, confirm what you're dealing with. Open the PDF in your normal reader. If a password prompt appears before the file opens, it has a user password. If the file opens but you can't copy text or print, it has an owner password. Some PDFs have both.
On Windows, right-click the PDF, select Properties, then click Details. Scroll down to see if there's a line that says "Encrypted" or lists security settings. On Mac, open the PDF in Preview, go to Tools > Show Inspector, and look at the lock icon. If it shows restrictions, an owner password is set.
Frequently Asked Questions
Is it legal to remove a password from a PDF I own?
Yes, if you created the file or own it. Removing a password from someone else's PDF without permission is not legal. Make sure the file is yours or that you have permission from the owner before removing any password.
What if the online tool says it can't remove the password?
The file likely has a user password, not an owner password. User passwords cannot be removed without knowing the password. Contact whoever created the file and ask them to send you an unlocked version or provide the password.
Will removing the password damage the PDF or change its contents?
No. Removing an owner password changes only the security settings, not the text, images, or formatting inside the file. The PDF will look and work exactly the same, just without the restrictions.
Can I remove a password from a PDF on my phone?
Most phone PDF readers don't have built-in password removal tools. Your best option is to use an online PDF tool on your phone's web browser, upload the file, and read the unlocked version. Be aware that you're sending the file to an external server.
What if QPDF gives me an error message?
The most common error means the file has a user password or is corrupted. Double-check that you typed the command correctly, including the spaces and hyphens. If the error persists, try an online tool instead, or contact whoever created the PDF.