Password protect PDF
Choose a password and what others may do, then save the locked PDF.
https://flxcode.com/pdf/protect/
Add the PDF to protect
PDF, JPG, PNG, HEIC, WebP · or
Your files never leave this device. There is no upload, no account and no watermark. How we count What this tool keeps and sends.
Problem or idea? Email us
To password protect a PDF, set a password to open and, if you want, limits on printing, copying and editing. You can lock PDF files or encrypt PDF files with AES-256, and the password stays in your memory and in this tab. It is never stored or sent.
How to use it
- Add the PDF and open Protect.
- Pick a preset, Open with password, No copying, Read only, or Custom.
- Type the password. Use Show to check it. For limits, switch printing, copying and editing off or on.
- Press Download PDF. Open the saved file once to check that the password works.
What each setting does
A password to open is real encryption. The limits are rules that normal readers follow, and other tools can remove them.
| Setting | What it stops | How strong |
|---|---|---|
| Password to open | Anyone without the password cannot read the file | Real encryption (AES-256 by default) |
| No printing, copying or editing | A reader refuses to print, copy text or edit | Respected by normal readers, can be removed with other tools |
| Owner password | Changing the limits later | Needed to change them again |
| Pages as images | Copying text, since there is none | Strongest against copying. The file is bigger and search is gone |
| Remove metadata | Author, dates, software and hidden data going out with the file | Checked after saving, with a list of what is left |
Files are saved with AES-256. Very old readers cannot open AES-256 files at all.
An honest word about limits
Only change files you have the right to change.
A password to open is real encryption. Without it, nobody reads the file. The limits are different: normal readers follow them, and other tools can remove them. Do not rely on the limits for secrets.
To make text truly uncopyable, use Pages as images. The file gets bigger and the text cannot be searched. It also turns off the OCR layer.
AES-256 is checked after saving. Very old readers cannot open AES-256 files at all.
If you forget the password, nobody can recover the file, this site included. Write it down.
Only change files you have the right to change.
Manual
Protect, unlock and metadata
- Open with password is real encryption (AES-256). The password is never stored or sent.
- Limits on printing, copying and editing are followed by normal readers and can be removed with other tools. Pages as images makes text uncopyable.
- Remove all limits works on a file that opens without a password. A password to open is needed to open the file at all.
- Metadata lists title, author, dates, software, XMP, attachments, JavaScript and more. Remove all, or untick items.
- Only change files you have the right to change.
FAQ
How do I password protect a PDF for free?
Add it here, open Protect, type a password and download. There is no account and no watermark.
Where does my password go?
Nowhere. It is used in this tab to encrypt the file and then dropped. It is never in the address, in storage or in any request.
What is the difference between the open password and the owner password?
The open password is needed to read the file. The owner password is needed to change the limits later. Leave the owner field empty and a random one is made and shown once.
Can people still copy text from a limited PDF?
Normal readers will refuse. Other tools can remove the limit. If copying must be impossible, use Pages as images, or only share a file with a password to open.
Which encryption is used?
AES-256. After saving, the editor checks the result and shows the setting.
Can I protect only some pages?
Protection covers the whole file. Extract the pages first, then protect the new file.
What does Remove metadata do?
It lists title, author, dates, software, XMP data, attachments and more, with their values, and removes what you tick. It is checked after saving.
Can I remove the password later?
Yes, with the unlock page and the password.
More from FLXCode
- Unlock PDFRemove print, copy and edit limits from a PDF, or the password once you know it. Nothing is uploaded.
- Redact PDFBlack out text and areas in a PDF so they cannot be read back. Nothing is uploaded.
- Flatten PDFFlatten a PDF so form fields and notes become part of the page. Nothing is uploaded.
- Watermark PDFAdd a text or image watermark to a PDF. Nothing is uploaded.