You can edit a locked PDF in three ways: use a tool that edits PDFs despite the lock, remove the password if you know it, or convert the PDF to another format first
A locked PDF usually means one of two things. The file may have owner restrictions, which prevent editing, printing, or copying but don't require a password to open. Or it may have a user password, which requires you to enter a password before you can open the file at all. The method you use depends on which type of lock you're dealing with and whether you know the password.
If you own the PDF or have permission from the owner, you have straightforward options. If the PDF has owner restrictions only (no password to open it), many standard PDF editors can edit it directly. If it has a user password and you know it, you can remove the password and then edit normally. If you don't know the password, you'll need a tool built to handle that situation, or you can convert the file to a different format and edit it there.
Key Takeaways
- Owner-restricted PDFs (locked but no password required to open) can often be edited in Adobe Acrobat, Preview on Mac, or free tools like PDFtk or QPDF without removing any password.
- If you know the user password, removing it first in Adobe Acrobat or an online password remover makes the file fully editable in any PDF editor.
- Converting a locked PDF to Word, Google Docs, or an image format bypasses the lock entirely, though formatting may shift.
- Free command-line tools like QPDF and PDFtk can strip owner passwords on Windows, Mac, and Linux without requiring you to know the password.
- Online PDF editors like Smallpdf and ILovePDF can edit some locked PDFs directly, but results vary depending on the lock type.
Editing owner-restricted PDFs in Adobe Acrobat
If the PDF opens without asking for a password but won't let you edit it, it has owner restrictions. Adobe Acrobat (the paid version, not the free Reader) can edit these files directly without removing the lock. Open the PDF in Acrobat, click the pencil icon in the toolbar, and edit text, images, and links as you would in any document. The lock remains in place; Acrobat simply ignores the restriction.
If you don't have Acrobat, this approach won't work. But the restriction is often weak enough that other tools can bypass it. Try opening the PDF in Preview on Mac (select the PDF, press Space to open Quick Look, then click the edit button), or use free online editors like Smallpdf or ILovePDF, which sometimes succeed where others fail.
Removing a user password you know
If the PDF requires a password to open and you know it, the fastest route is to remove the password in Adobe Acrobat. Open the file (you'll be prompted for the password), then go to File > Properties > Security. Click the "Security Method" dropdown, select "No Security", and save. The file is now fully editable in any PDF editor.
If you don't have Acrobat, use an online tool like Smallpdf's password remover or ILovePDF's unlock feature. Upload the PDF, enter the password when prompted, and download the unlocked version. These tools work in your browser and don't require installation. Be aware that you're uploading the file to a third-party server, so only use this method if you're comfortable with that.
Stripping owner passwords you don't know
If the PDF won't let you edit it and you don't know the password, you can use command-line tools to remove the owner password. QPDF and PDFtk are free, open-source programs that work on Windows, Mac, and Linux. They can strip owner-level restrictions without requiring you to know the password.
To use QPDF on Windows or Mac, download it from the QPDF website, open a terminal or command prompt, and run a command like qpdf --decrypt input.pdf output.pdf. Replace "input.pdf" with your file name and "output.pdf" with the name you want for the unlocked version. The new file will have no restrictions and can be edited in any PDF editor. PDFtk works similarly; the command is pdftk input.pdf output output.pdf. These tools are free but require some comfort with the command line.
Converting the PDF to edit it in another program
If you can't or don't want to remove the password, convert the PDF to a different format. Microsoft Word, Google Docs, and other programs can often open locked PDFs and let you edit them, even if the PDF editor can't. Open Word or Google Docs, select "Open" or "Upload", and choose the locked PDF. The program will convert it to an editable document.
Formatting usually shifts during conversion—spacing, fonts, and page breaks may not match the original. This method works best for PDFs that are mostly text. For PDFs with complex layouts, images, or forms, the result may be messy. If you need to preserve the exact look, this isn't the right approach. But if you just need to extract and edit the text, it's often the fastest option.
Using online PDF editors for locked files
Several online tools claim to edit locked PDFs directly without removing the password. Smallpdf, ILovePDF, and PDFEscape all have editors that work in your browser. Upload the locked PDF, and the tool will either let you edit it or prompt you for the password. Success depends on how the PDF is locked—some tools handle owner restrictions well, while others don't.
The advantage of online editors is that you don't install anything and don't need to use the command line. The disadvantage is that you're uploading your file to someone else's server. If the PDF contains sensitive information, this may not be acceptable. Also, these tools sometimes fail silently—you upload the file, but the editor can't actually unlock it, and you won't know until you try.
Editing locked PDFs on Mac with Preview
Mac's built-in Preview app can edit some owner-restricted PDFs without any extra steps. Open the PDF in Preview, click the toolbox icon in the toolbar, and select the text or markup tools. You can add text, draw, highlight, and make basic edits. If Preview can't edit the file, try the same conversion method: open it in Pages or Google Docs instead.
Preview is less powerful than Adobe Acrobat for PDF editing, but it's free and built in. For simple edits—adding a signature, highlighting text, or filling in a form—it's often enough. For complex edits or when Preview refuses to open the file, move to one of the other methods.
What to do if nothing works
If the PDF is heavily encrypted or uses a strong user password you don't know, the tools above may not work. At that point, your options narrow. You can try screenshotting the PDF page by page and rebuilding it in another program, but that's slow and loses any text you might copy. You can contact the person who created or sent you the PDF and ask for an unlocked version. Or you can accept that the file is locked and move on.
If you created the PDF yourself and forgot the password, some online services claim to recover or remove passwords, but they're often scams or ineffective. Your best bet is to recreate the document from scratch or restore it from a backup if you have one.
Frequently Asked Questions
Is it legal to remove a PDF password?
If you own the PDF or have permission from the owner, yes. If someone else locked it to prevent editing and you're removing the lock without permission, that's a legal gray area that depends on your location and the reason. Always assume you need permission from the document owner before removing a password.
Will removing a password damage the PDF?
No. Removing a password or owner restriction doesn't change the content, layout, or quality of the PDF. The file itself remains intact; you're only removing the lock that prevents editing.
Can I edit a locked PDF on my phone?
Some mobile PDF editors can handle owner-restricted PDFs, but most can't remove user passwords on a phone. Your best option is to use an online tool like Smallpdf on your phone's browser, or convert the PDF to Google Docs and edit it there. For serious editing, a computer is usually easier.
What's the difference between a user password and an owner password?
A user password prevents anyone from opening the file without entering it. An owner password lets anyone open the file but prevents editing, printing, or copying. Some PDFs have both. If you know the user password, you can remove it and then edit freely. If there's only an owner password, many tools can bypass it without knowing it.
Do online PDF editors keep my files?
Most reputable tools like Smallpdf and ILovePDF delete files after a few hours, but you should check their privacy policy before uploading sensitive documents. If you're uncomfortable uploading to the cloud, use a desktop tool like QPDF or Adobe Acrobat instead.