What does it mean to password protect a PDF?
If you email an invoice, a contract draft or a scan of a form, anyone who gets the file can read it. Adding a password changes that. PDF has two kinds of password. The open password (also called the user password) is needed to view the file. The owner password (the permissions password) controls what a reader may do once the file is open: print it, copy text, edit it, add comments, fill in forms or rearrange pages.
You use this tool in a few clicks. Drop a PDF on the page, pick a security preset or set each checkbox yourself, type your passwords and press Protect & Download PDF. The tool encrypts the file locally with a small library called pdf-encrypt-lite, using the PDF standard security handler with 128-bit RC4. The result opens in Adobe Reader, Chrome, Edge, Firefox and macOS Preview, and is saved as yourfile_protected.pdf.
There are limits to know about. RC4 is an older cipher. It is fine for keeping casual eyes out of an everyday document, but do not rely on it for highly sensitive data. The tool also cannot protect a PDF that is already encrypted. And permission rules depend on the reader app respecting them, so they are a deterrent more than a lock.
How to add a password to a PDF
- Drag your PDF into the box, or click it to browse. The file name must end in lowercase .pdf. A green line confirms the name and size.
- Choose a Security Preset: View Only, Print Only, Read & Copy or Custom. A preset only ticks or clears the permission boxes for you.
- Under Document Open Password, type a password and repeat it in the confirm box. The strength bar rates it from Weak to Very Strong. Leave both blank if people should open the file freely.
- Optionally enter a Permissions Password. Use a different value from the open password.
- Tick or clear the Access Permissions: printing, copying, modifications, annotations, form filling, assembling pages and accessibility.
- Click Protect & Download PDF, then use the green download link. Open the saved file once and test the password before you send it.
What this tool includes
Real encryption
The file is encrypted with the PDF standard security handler using 128-bit RC4. It is not a cosmetic lock layered on top of a readable file.
Open and owner passwords
Set either one or both. You need at least one. The open password has a confirm box and a strength meter.
Seven permission switches
Print, copy text and images, modify, annotate, fill forms, assemble pages and accessibility for screen readers can each be allowed or blocked.
Four presets
View Only, Print Only, Read & Copy and Custom set the checkboxes in one click. You can still adjust them by hand afterwards.
Automatic owner password
If you restrict permissions but leave the owner password empty, the tool makes a random one so that the open password cannot lift the limits. You are not shown it, so the restrictions cannot be removed later.
Works offline in the browser
Encryption runs in JavaScript on your device. The result downloads as _protected.pdf.
Who uses it, and for what
- Freelancers sending invoices or proposals. Make an invoice in the Invoice Generator, then add an open password and send the password by a different channel such as a text message.
- Job seekers sharing a CV. Lock editing and copying on a CV so recruiters can read and print it but not change your details. Leave the open password empty.
- Small businesses sharing price lists. Allow printing but block copying and editing so a price sheet stays readable and harder to repurpose.
- Anyone storing personal paperwork. Put an open password on a scan of a lease or tax form before it goes into cloud storage. Choose a password from the Password Generator.
Tips before you protect a file
- Write down the password somewhere safe before you click the button. If you lose it, the tool cannot recover the file.
- Finish all edits first. The PDF Merge and PDF Compress tools cannot work on an encrypted file, so merge and compress before you protect.
- Do not use the same string for open and owner passwords. If they match, anyone who can open the file can also lift its restrictions.
- Send the password by another route, not in the same email as the file.
- The presets do not set a password. View Only, for example, only clears the print, copy and modify boxes. Type the open password yourself.
- Test the saved copy in the viewer your recipient will use before you send it.
Is it safe? Privacy and limits
The PDF and your passwords are processed in your browser. The tool does not upload the file and does not store the passwords. The encryption library is served from this site, while pdf-lib loads from a public CDN. RC4 is older, so this suits everyday privacy and not highly sensitive data such as legal secrets or financial records. Permission settings depend on the viewer app. This is general information, not security advice.
Password protect PDF FAQ
Yes. It encrypts the file using the PDF standard security handler with 128-bit RC4, through a local library called pdf-encrypt-lite. The open password is needed to view the content, and the owner password governs the permissions you chose. This happens in your browser, so the file never leaves your device. The strength of the result depends on your password and on the cipher. RC4 is older, so it suits everyday privacy and not highly sensitive data. Test the downloaded file by opening it and entering the password.
An open password stops people from viewing the PDF at all. Without it the file will not display. An owner password does not block viewing. It controls permissions: printing, copying text, editing, annotating, filling forms and assembling pages. You can set one, or both. If you set only an owner password, anyone can open the file but the restrictions apply. If you restrict permissions and leave the owner field empty, this tool makes a random owner password so the open password cannot lift the limits.
For casual privacy, yes. For anything serious, no. RC4 is an older cipher and newer PDF encryption such as AES-256 is stronger. This tool uses 128-bit RC4 because it opens in every common reader, including Adobe Reader, Chrome, Edge, Firefox and macOS Preview. It is fine to keep an invoice or a CV from casual readers. For contracts with real consequences, medical records or financial data, use a tool that offers AES-256 and consider a secure file-sharing service. A strong, unique password matters as much as the cipher.
No. If the PDF is already encrypted, the tool stops with a message saying it is already password protected and that you should remove its password first. You then have to take the existing protection off in another program, using the password you already know, and come back with the plain file. A desktop tool such as qpdf can do that with the password you already know. Then return here with the plain file and set the new protection.
Possibly. An owner password is a request to the reader app, not a physical lock. Many apps respect it, but some tools and scripts ignore permission flags and print, copy or edit anyway. Only the open password truly stops viewing. So use an open password when the content is private, and use permission settings to discourage casual copying or editing. If you did not type an owner password, the tool made a random one that you are not shown, so you cannot lift the restrictions later either.
You will most likely lose access to the file. The tool does not store passwords and has no recovery option, and strong encryption is built so that it cannot be read without the key. Keep the password in a password manager, and keep an unprotected original in a safe place. If you only set permissions with a random owner password, remember you cannot change those permissions afterwards, so keep the original file too. Never rely on the protected copy as your only copy.
It should open in the common readers. The tool lists Adobe Reader, Chrome, Edge, Firefox and macOS Preview, and 128-bit RC4 is widely supported, so phone viewers that use the PDF standard handler normally prompt for the password too. Behaviour with permissions can differ between apps, since each decides how strictly to enforce them. The safest step is to open the saved file on the device or app your recipient will use and check the password prompt and the print or copy rules before you send it.
It is free, with no account. The code sets no size limit, but the entire file is loaded into browser memory, so very large PDFs can be slow or fail on weak devices. Only file names ending in lowercase .pdf are accepted. One file is handled at a time. If the PDF is large, reduce it first with PDF Compress, because compression is not possible once the file is encrypted. Add a visible mark first with PDF Watermark if you also want a label on each page.
No. A password controls who can open or change a file. It does not prove who wrote it or that anyone agreed to it. To add a signature to a document, use the eSign PDF tool before you protect the file, since you cannot edit a locked copy afterwards. Whether a signed document is legally binding depends on your country and the type of document. This is general information, not legal advice.