The simplest way to lock a PDF from editing

Most PDF readers let you set a password that prevents someone from changing the document without removing the password first. In Adobe Acrobat Reader (the free version), you cannot set this yourself — you need Adobe Acrobat Pro, which costs money. But if you use a free alternative like PDFtk, Preview on Mac, or an online tool, you can add edit protection in minutes without paying.

The protection works by encrypting the file with a password. When someone tries to edit the PDF, the reader asks for the password. If they don't have it, they can view and print the document but cannot change the text, add annotations, or fill in forms — depending on which restrictions you choose.

The trade-off is that the person protecting the file must share the password separately if they want others to edit it later. If you lose the password, you cannot remove the protection yourself.

Key Takeaways

  • Free tools like PDFtk, Preview (Mac), or online PDF editors can lock a file from editing without paying for Adobe Acrobat Pro.
  • A password-protected PDF can still be viewed and printed by anyone, but editing requires the password you set.
  • Different tools let you choose what is blocked — editing text, adding comments, filling forms, or copying content.
  • Once you lock a file, you must remember the password; there is no way to remove the protection without it.

Using PDFtk on Windows or Mac

PDFtk is free software that runs on Windows, Mac, and Linux. read it from pdftk.com, install it, and you can lock any PDF from the command line. Open Terminal (Mac) or Command Prompt (Windows), navigate to the folder where your PDF sits, and type a command like: pdftk input.pdf output locked.pdf owner_pw yourpassword. Replace "input.pdf" with your file name and "yourpassword" with the password you want to set.

This creates a new file called "locked.pdf" that cannot be edited without the password. The person who receives it can still open and read it, but the PDF reader will block any attempt to change it. If you want to allow printing but block editing, you can add extra flags to the command — PDFtk's documentation shows the exact syntax for each restriction type.

Using Preview on Mac

If you own a Mac, Preview (the built-in image and PDF viewer) can lock a PDF without installing anything. Open the PDF in Preview, go to Tools in the menu bar, and select "Encrypt PDF". You will be asked to create a password. Enter it twice to confirm, then save the file. Preview will create a locked version.

Preview's protection is straightforward but less flexible than PDFtk — you cannot choose which actions to block, only that the file requires a password to edit. For most people, this is enough.

Using an online PDF tool

Websites like ilovepdf.com, smallpdf.com, and pdf2go.com let you upload a PDF and add password protection without downloading software. Upload your file, set a password, and read the locked version. These tools are fast and require no installation, but they do upload your file to someone else's server — if the PDF contains sensitive information, this may not be the right choice.

Most online tools are free for a few conversions per day. If you need to lock many files, you may hit a limit and have to wait or pay for more uploads. Check the site's terms to see what happens to your file after you read it — most delete it after a few hours, but some keep copies longer.

Using Adobe Acrobat Pro

Adobe Acrobat Pro (not the free Reader) has a "Restrict Editing" feature that lets you choose exactly what someone can and cannot do with the PDF. You can allow printing but block editing, allow comments but block text changes, or lock it completely. Acrobat Pro costs money — Adobe charges a monthly subscription or a one-time purchase depending on your plan.

If you already pay for Acrobat Pro for other work, this is the most polished option. The protection is strong and the interface is straightforward. But for locking a single PDF, the free tools above do the same job without the cost.

What password protection does and does not do

A password-protected PDF stops casual editing. Someone cannot open it in a text editor and change the words, and most PDF readers will refuse to let them modify the document. However, password protection is not military-grade security. A determined person with technical knowledge can sometimes remove the protection, especially if the password is weak.

If you need to protect a document from someone who is actively trying to break in — a competitor, a hostile party, or a criminal — password protection alone is not enough. For everyday use, like sending a contract to a client and not wanting them to accidentally change it, password protection works well.

Frequently Asked Questions

Can someone open a password-protected PDF without the password?

No. The PDF reader will ask for the password before allowing any editing. They can still view and print the document if you did not block those actions, but they cannot change the content without the correct password.

What happens if I forget the password?

You cannot remove the protection yourself. The file will remain locked. Some commercial services claim they can crack PDF passwords, but they are unreliable and may not work on newer encryption. It is better to keep a record of the password in a safe place.

Can I lock a PDF so people cannot even view it?

Yes, but most tools call this "opening password" rather than "edit password". You set a password that must be entered before the PDF opens at all. PDFtk and Adobe Acrobat Pro both support this. Online tools vary — check the site's options before uploading.

Does locking a PDF make the file size larger?

Slightly. Encryption adds a small amount of data to the file, but usually less than 1 percent. The difference is not noticeable for most documents.

Can I lock a PDF that is already locked?

Not directly. You would need to remove the existing password first, which requires knowing it. If you own both passwords, you can unlock it with the first password, then lock it again with a new one using any of the tools above.