You cannot edit a locked PDF without removing the restrictions first

A locked PDF falls into two categories: one where you cannot change the content (editing restrictions), and one where you cannot open it at all (owner password). If you can open and read the PDF but cannot edit it, the file has editing restrictions in place. To make changes, you need to remove those restrictions — either by entering the owner password if you have it, or by using a tool designed to strip the restrictions from the file.

The method you use depends on whether you know the password. If the PDF's owner gave you the password, you can remove restrictions directly in most PDF software. If you do not have the password, you will need a separate tool to bypass the restrictions, which works because the restrictions are stored separately from the file's content.

Key Takeaways

  • A locked PDF with editing restrictions can be opened and read, but changes cannot be saved to it.
  • If you have the owner password, you can remove restrictions using Adobe Acrobat, Preview (on Mac), or free online tools like Smallpdf or ILovePDF.
  • If you do not have the password, you can use restriction-removal tools, though the legality depends on whether you own the document or have permission to edit it.
  • After removing restrictions, save the unlocked version as a new file so you keep both versions.
  • Some PDFs have printing or copying restrictions separate from editing restrictions — removing one does not automatically remove the other.

Removing restrictions if you have the owner password

If the person who locked the PDF gave you the password, the fastest route is Adobe Acrobat (the paid version, not the free Reader). Open the locked PDF, go to Tools > Protect > Manage Security, select "Security Method," and choose "Remove Security." Enter the password when prompted, then save the file.

On a Mac, Preview can remove restrictions without needing the password in some cases. Open the PDF in Preview, go to Tools > Show Inspector, click the lock icon, and try to make an edit. If the PDF allows it, the restrictions are not password-protected. If you have the password, you can enter it at the prompt that appears.

Free online tools like Smallpdf (smallpdf.com) and ILovePDF (ilovepdf.com) both have "Unlock PDF" features. Upload your locked PDF, enter the password if you have one, and download the unlocked version. These tools work in your browser and delete files after a few hours, though you should review their privacy policies if the PDF contains sensitive information.

Removing restrictions without the password

If you do not have the password, restriction-removal tools can strip the editing locks from the file. These tools work because PDF restrictions are stored as metadata separate from the actual content — removing the metadata does not change what is in the document. Tools like Smallpdf, ILovePDF, and PDF Candy (pdfcandy.com) all have free "Unlock PDF" or "Remove Protection" options that work without a password.

The legal situation matters here. If you own the PDF or created it, removing restrictions you placed on it yourself is straightforward. If someone else locked it and did not give you permission to edit it, removing the restrictions without their consent may violate copyright law or your agreement with them, depending on your location and the document's purpose. Use these tools only on documents you have the right to modify.

Using desktop software to unlock PDFs

Adobe Acrobat Pro (the paid version) is the most reliable option if you plan to unlock PDFs regularly. Beyond removing restrictions, it lets you edit the text and images directly, add annotations, and manage multiple security settings. A subscription costs around $180 per year, though Adobe sometimes offers discounts for annual plans.

For a one-time unlock, free desktop tools like PDFtk (pdftk.com) work on Windows, Mac, and Linux. PDFtk is command-line software, so you run it from a terminal rather than clicking buttons — it is faster once you learn the syntax, but steeper if you have never used a terminal before. The command to remove restrictions is: pdftk input.pdf output unlocked.pdf

QPDF (qpdf.sourceforge.io) is another free command-line tool that removes PDF restrictions. It is lighter weight than PDFtk and works well for batch processing multiple files at once. Both tools are open-source and do not store your files on a server, so nothing leaves your computer.

Editing the PDF after unlocking it

Once you remove the restrictions, you still need software that can actually edit the PDF. Adobe Acrobat Pro lets you edit text, images, and links directly in the PDF. Free alternatives like LibreOffice Draw (part of LibreOffice, a free office suite) can open PDFs and let you add text and shapes, though the editing experience is less polished than Acrobat.

For simple edits like adding text or highlighting, free online tools like Smallpdf and ILovePDF have built-in editors. Upload the unlocked PDF, make your changes in the browser, and download the result. For more complex edits — moving text around, resizing images, changing fonts — desktop software gives you more control.

If the PDF was created from a scanned image rather than digital text, you cannot edit the text directly without using optical character recognition (OCR) software first. Adobe Acrobat Pro includes OCR. Free alternatives like Tesseract (open-source) or online tools like Smallpdf's OCR feature can convert the scanned image to editable text, though accuracy varies depending on the scan quality.

Keeping both locked and unlocked versions

After you unlock a PDF, save it with a new filename so you keep the original locked version. This protects you if you need to prove the document was originally restricted, or if you want to revert to the locked version later. Use a naming convention like "filename_unlocked.pdf" so it is clear which version is which.

If the PDF contains sensitive information, consider password-protecting the unlocked version yourself before sharing it. You can add a new password in Adobe Acrobat Pro, Preview (on Mac), or free tools like Smallpdf. This way you control who can edit it going forward, even though the original restrictions are gone.

Frequently Asked Questions

Is it legal to remove a password from a PDF I do not own?

It depends on your location and why the PDF is locked. If you own the document or have written permission from the owner to edit it, removing restrictions is legal. If the PDF is someone else's copyrighted work and they locked it to prevent editing, removing the restrictions without permission may violate copyright law. When in doubt, ask the document's owner for the password or permission to unlock it.

What if the PDF has both a user password and an owner password?

The user password protects opening the file; the owner password protects editing and printing. If you have the user password but not the owner password, you can open and read the PDF but cannot edit it. You will need the owner password or a restriction-removal tool to make changes. If you have the owner password, you can remove editing restrictions even if you do not have the user password.

Can I edit a locked PDF on my phone or tablet?

Most phone apps cannot remove PDF restrictions, but you can unlock it on a computer first, then open the unlocked version on your phone. Alternatively, some apps like Adobe Acrobat Reader (free) let you annotate locked PDFs without removing restrictions — you can highlight, add notes, and draw, but cannot edit the original text. For full editing on mobile, unlock the PDF on a computer and use an app like Notability (iPad) or Adobe Acrobat (iPhone/Android) to edit the unlocked version.

What happens if I unlock a PDF and then lose the file?

Once you unlock a PDF, there is no way to re-lock it with the original password — you would need to create a new password from scratch using your PDF software. If you need to restore the original restrictions, you would have to go back to whoever created the locked version and ask them to provide it again. This is another reason to keep the original locked file as a backup.

Do online PDF unlock tools keep copies of my files?

Most reputable tools like Smallpdf and ILovePDF delete files from their servers within a few hours of processing. However, you should review each tool's privacy policy before uploading sensitive documents. If you are uncomfortable uploading to the internet, use a desktop tool like PDFtk or QPDF instead — both run locally on your computer and never send files anywhere.