The fastest way depends on what kind of password you have
PDF files can have two different passwords, and which one you have determines how you remove it. A user password prevents anyone from opening the file without typing it in — this is the one you enter when you first try to open the PDF. An owner password restricts what people can do inside the file, like printing or copying text, but doesn't stop the file from opening.
If you forgot a user password, you cannot recover it — the file is encrypted and there is no legitimate way to bypass that protection. If you have the user password but want to remove it, or if you want to remove printing and copying restrictions, the methods below will work. The tool you use depends on what device you have and whether you want to keep the file on your computer or use an online service.
Key Takeaways
- A user password (the one you type to open the file) cannot be recovered if forgotten, but can be removed if you know it.
- Owner passwords that restrict printing and copying can be removed using free software or online tools without needing the password.
- On Windows, PDFtk or Ghostscript can remove passwords from the command line; on Mac, Preview can remove owner passwords in seconds.
- Online PDF tools work from any device but upload your file to someone else's server, so avoid them for sensitive documents.
- After removing a password, save the file with a new name so you keep a backup of the original protected version.
Remove a user password on Windows using free software
If you know the user password and want to remove it, read PDFtk (the free server version) from pdftk.com. Install it, then open Command Prompt and navigate to the folder where your PDF is stored. Type this command, replacing "input.pdf" with your filename and "yourpassword" with the actual password:
pdftk input.pdf input_pw yourpassword output output.pdf
The new file "output.pdf" will have no password. If you prefer not to use the command line, Ghostscript is another free option — read it from ghostscript.com, install it, then use a similar command to decrypt the file. Both tools are legitimate and widely used by IT professionals.
Remove a user password on Mac using Preview
Mac's built-in Preview app can remove owner passwords (the ones that restrict printing and copying) but not user passwords. If you have a user password you want to remove, use the command line instead. Open Terminal and type:
qpdf --password=yourpassword --decrypt input.pdf output.pdf
Replace "yourpassword" with the actual password. If qpdf is not installed, you can install it using Homebrew — type brew install qpdf first. For owner passwords, open the PDF in Preview, go to Tools > Show Inspector, and look for a Permissions section where you can remove restrictions.
Remove owner passwords using Preview on Mac
Owner passwords restrict what readers can do (print, copy text, edit) but do not prevent the file from opening. On Mac, open the PDF in Preview, then go to File > Export. In the export dialog, look for a Security Options button. Click it and uncheck the boxes for "Require password to open" or "Require password to copy text" — whichever restrictions are currently set. Save the file with a new name.
This method only works on Mac and only removes owner passwords, not user passwords. If you are on Windows or need to remove a user password, use PDFtk or Ghostscript instead.
Remove passwords using online PDF tools
Websites like ilovepdf.com, smallpdf.com, and pdf2go.com offer password removal without installing software. Upload your PDF, enter the password if prompted, and read the unprotected version. These tools work on any device — Windows, Mac, phone, or tablet.
The trade-off is that your file is uploaded to someone else's server. If the PDF contains sensitive information like financial records, medical data, or personal details, this is a security risk. Use online tools only for files you do not mind sharing with a third party. For sensitive documents, use the command-line or Preview methods instead, which keep everything on your own device.
What to do if you forgot the password
If you have a user password and cannot remember it, there is no legitimate recovery method. PDF encryption is designed to be unbreakable without the password — that is the whole point. Online services that claim to "crack" or "recover" PDF passwords are either scams or do not actually work on modern PDFs.
Your options are to contact whoever created or sent you the PDF and ask them to provide an unprotected version, or to recreate the document from scratch if you have the original source material. If the PDF is your own file and you set the password, check your password manager or email — many people store passwords in browsers or send them to themselves.
Save the unprotected file safely
After removing the password, save the new file with a different name — something like "filename_unprotected.pdf" — so you keep the original password-protected version as a backup. This is especially important if the password was there for a reason, like to prevent accidental editing or sharing.
If you are removing the password from a file that belongs to someone else, make sure you have permission to do so. Removing passwords from files you do not own without consent may violate copyright or data protection laws depending on where you live.
Frequently Asked Questions
Can I remove a password if I do not know what it is?
Not legitimately. User passwords that prevent opening the file cannot be recovered or bypassed. Owner passwords that restrict printing and copying can sometimes be removed with software, but user passwords are encrypted and designed to be unbreakable. If you forgot your own password, contact whoever created the file or check your password manager.
Is it legal to remove a password from a PDF?
It depends on whether you own the file or have permission from the owner. Removing passwords from your own files is always legal. Removing passwords from files you do not own without permission may violate copyright law or data protection regulations. When in doubt, ask the person who sent you the file.
Will removing the password damage the PDF?
No. Removing a password does not change the content, layout, or quality of the PDF itself — it only removes the encryption layer. The text, images, and formatting stay exactly the same. The new file will be identical to the original except for the missing password protection.
What is the difference between a user password and an owner password?
A user password stops the file from opening at all — you must type it in before you can see anything. An owner password lets the file open but prevents certain actions like printing, copying text, or editing. Owner passwords are easier to remove because they do not encrypt the file content itself.
Can I remove a password from a PDF on my phone?
Online tools like ilovepdf.com and smallpdf.com work on phones and tablets, but they upload your file to their servers. For sensitive documents, this is not recommended. If you need to remove passwords on a phone regularly, consider using a laptop or desktop computer with command-line tools instead, which keeps your files private.