What a locked PDF actually is, and what you can and cannot do
A locked PDF is a file where the creator has used password protection or permission settings to restrict what readers can do with it. The two types of locks work differently, and that difference determines whether you can edit the file at all.
Owner password locks prevent anyone from changing permissions, printing, or copying text without entering a password that only the document owner knows. User password locks require a password just to open the file. If a PDF has an owner password but no user password, you can open and read it freely — you just cannot modify it or remove the restrictions yourself.
The practical truth: if the PDF is locked with an owner password, you cannot legally edit it without the password or the owner's permission. If it is locked with a user password only, you can open it with the password and then edit normally. If it has neither password but still shows as locked, the file may have been marked read-only by your operating system, which is a different problem with a different solution.
Key Takeaways
- Owner password locks prevent editing and cannot be removed without the password — asking the document creator for an unlocked version is the legitimate route.
- User password locks only prevent opening the file; once you enter the password, you can edit the PDF normally in most PDF editors.
- If you own the PDF and forgot the password, password recovery tools exist but work only on user passwords, not owner passwords.
- Operating system read-only settings can make a PDF appear locked even when the file itself has no restrictions — check your file properties first.
- Some PDF editors let you work around owner locks by extracting pages or converting to another format, but this may violate the creator's intent or copyright.
How to edit a PDF when you have the password
If the PDF requires a password to open, enter it when prompted. Once the file is open, you can edit it in any PDF editor that supports editing — Adobe Acrobat, Preview (on Mac), or free tools like LibreOffice Draw or PDFtk. The password restriction only controls access, not what you can do once inside.
If the PDF opens but shows a message that editing is restricted, and you have the owner password, open the file in Adobe Acrobat Pro (not the free Reader). Go to File > Properties > Security, then click "Security Settings." Enter the owner password when prompted. You can then change or remove the restrictions and save the file.
For free tools, PDFtk (available for Windows, Mac, and Linux) can remove owner password restrictions if you know the password. Open the command line, navigate to the folder where your PDF is saved, and run: pdftk input.pdf input_pw YOUR_PASSWORD output output.pdf. Replace YOUR_PASSWORD with the actual password and input.pdf with your filename. The output file will have no restrictions.
What to do if you do not have the password
If you own the PDF but forgot the password, password recovery tools can sometimes unlock user passwords (the ones that prevent opening the file). Tools like PDF Unlocker, Online PDF Unlocker, or the command-line utility qpdf can crack user passwords on PDFs created with older encryption standards. These tools do not work reliably on owner passwords, which are designed to be harder to break.
The process is straightforward with qpdf: run qpdf --password='' --empty-password input.pdf output.pdf from the command line. If the user password is weak, this may succeed. If it does not, the password was strong enough that recovery is not practical without the original password.
If you do not own the PDF, you have no legitimate way to remove an owner password lock. Asking the document creator for an unlocked version is the correct approach. If they refuse or are unreachable, you may be able to work around the lock by converting the PDF to another format (printing to PDF, exporting to Word, or using an online converter), but this depends on what restrictions are actually set and may not preserve formatting.
Checking whether the lock is from the file or your computer
Sometimes a PDF appears locked because your operating system has marked the file as read-only, not because the PDF itself has restrictions. Check this before assuming the file is encrypted.
On Windows, right-click the PDF file, select Properties, and look at the bottom of the General tab. If you see a checkbox next to "Read-only" that is checked, click it to uncheck it, then click explore and OK. The file should now be editable in any PDF editor.
On Mac, right-click the PDF, select Get Info, and scroll to the bottom. If you see "Locked" with a checkbox, click it to unlock the file. You may need to enter your Mac password to confirm the change.
If the file is not marked read-only at the system level but still will not let you edit it in your PDF editor, the restrictions are in the PDF itself, and you will need to use one of the methods above.
Using online PDF editors as a workaround
Some online PDF editors like Smallpdf, ILovePDF, or PDF.io offer an "unlock PDF" feature that can remove owner password restrictions without requiring you to know the password. Upload your PDF, and the tool attempts to strip the restrictions. This works on some PDFs but not others, depending on the encryption method used.
Be aware that uploading a PDF to an online tool means the file is temporarily stored on someone else's server. If the PDF contains sensitive information, this is a security trade-off worth considering. Most reputable tools delete files after a few hours, but you are trusting their privacy policy.
These tools are most useful when you own the PDF, forgot the password, and do not want to learn command-line tools. They are not a substitute for asking the document creator for an unlocked version if you do not own the file.
Converting a locked PDF to edit it in a different format
If a PDF is locked and you cannot get the password, converting it to another format can sometimes bypass the restrictions. You can print the PDF to a new PDF (which creates an unlocked copy), export it to Word or Google Docs, or use an online converter to turn it into an image or editable document.
Printing to PDF works like this: open the locked PDF in any viewer, select File > Print, then choose "Print to PDF" or "Save as PDF" as your printer. The new PDF will have no restrictions. This method preserves most formatting but may lose interactive elements like form fields or hyperlinks.
Converting to Word or another editable format is useful if you need to edit text but do not need the PDF format itself. Google Docs can import a PDF and convert it to a document you can edit directly in your browser. The conversion is not perfect — complex layouts may shift — but it works for text-heavy documents.
Keep in mind that converting a locked PDF to another format may violate the creator's copyright or intent. Use this method only on documents you own or have permission to modify.
Why PDF locks exist and when to respect them
PDF locks serve real purposes. A creator might lock a form so readers can only fill in the blanks, not change the template. A publisher might lock a document to prevent unauthorized copying or modification. A business might lock contracts to may support no one alters the terms without permission.
If you receive a locked PDF from someone else, the lock is usually there for a reason. The right first step is to ask the creator for an unlocked version or for the password. If they refuse, that refusal is intentional, and working around it may create legal or professional problems.
If you create PDFs yourself and want to lock them, most PDF editors let you set restrictions when you save. Adobe Acrobat, Preview, and LibreOffice all have options to add passwords and control what readers can do. Set an owner password if you want to prevent editing, and a user password if you want to prevent opening the file at all.
Frequently Asked Questions
Can I edit a locked PDF if I have the password?
Yes. If the PDF requires a password to open, enter it and you can edit normally. If it opens but editing is blocked, use Adobe Acrobat Pro or PDFtk with the owner password to remove the restrictions, then save the unlocked file.
What is the difference between a user password and an owner password?
A user password prevents opening the file. An owner password allows opening but prevents editing, copying, or printing. If you know the owner password, you can remove the restrictions. If you know the user password, you can open the file and edit it freely.
Will password recovery tools work on my locked PDF?
Recovery tools work only on user passwords (the ones that prevent opening), and only if the password is weak or uses older encryption. Owner passwords are designed to resist recovery. If you own the file and forgot the password, try qpdf or an online tool; if neither works, you may need to recreate the document.
Is it legal to unlock a PDF I do not own?
No, not without permission. Removing restrictions from a document you do not own violates the creator's intent and may violate copyright law. Ask the creator for an unlocked version instead.
Why does my PDF show as locked when I open it in my editor?
Check whether your operating system has marked the file as read-only first — this is the most common cause. Right-click the file, check Properties (Windows) or Get Info (Mac), and uncheck the read-only box if it is set. If that does not solve it, the PDF itself has restrictions, and you will need the password or a workaround tool.