Password Protect or Unlock a PDF
Lock status + password and permission controls AES-256 · password stays on your device
Payslips, tax forms, medical results and contracts are often sent as PDFs, and a password keeps them private if the email or the link reaches the wrong person. Banks and employers also send locked PDFs that you have to type a password into every time. This tool adds or removes a PDF password in your browser with qpdf, a well-known open-source PDF tool, compiled to WebAssembly. Neither the file nor the password is uploaded.
How to protect or unlock a PDF
- Drop a .pdf onto the workspace. The tool checks it and says whether it is not protected, locked with a password, or only restricted.
- To protect it: type the password twice. Under “Allow”, switch off printing, copying text or editing if the readers should not do that. Then export.
- To unlock a PDF with an open password: type the password (the one you use to open it) and export. The copy you save opens without asking.
- A PDF that opens without a password but blocks printing or copying is shown as “Restricted”; export saves a copy without those restrictions.
What the protection does
Restrictions are flags inside the encrypted file. Adobe Acrobat, Preview, Chrome and most other readers respect them, but a determined person with the right software can ignore them. Only the open password actually keeps the content secret.
| Setting | Effect | Strength |
|---|---|---|
| Open password | The PDF cannot be read at all without it | Strong: AES-256 encryption; a long password cannot be guessed |
| No printing | Readers hide or disable Print | Advisory: PDF readers are asked to honour it |
| No copying text | Readers block selecting and copying | Advisory |
| No editing | Readers refuse to change pages, forms or comments | Advisory |
Choosing and keeping the password
- Use at least 8 characters, or three or four unrelated words. Short passwords such as a birth date can be tried by a computer very quickly.
- There is no way to recover a forgotten password, on this site or anywhere else. Save it in a password manager before you send the file.
- Send the password a different way from the file, for example the file by email and the password by text message.
- Accented letters work, but the person opening the file must type them exactly the same way.
Protect / Unlock PDF: common questions
- Can it remove a password I do not know?
- No. A PDF locked with an open password can only be decrypted with that password. If you have the password and just want a copy that opens without it, this tool does that. A PDF that only has printing or copying restrictions can be unlocked without a password.
- Is the rest of the PDF changed?
- No. qpdf only encrypts or decrypts the file: pages, text, images, fonts, form fields, links and bookmarks stay exactly as they were, so the quality and the size hardly change.
- Are my file and password sent anywhere?
- No. The file is read into your browser tab and processed by qpdf in a background worker. The password is used for that one job and is not stored.
Related tools
Compress PDF Under 2 MB for Portals & Email
Re-render each page as a JPEG to fit a 1, 2 or 5 MB portal or email limit. Auto-fit measures the real file and steps down until it fits, and a before/after slider with 2× zoom lets you check small print. Pages become images. Nothing is uploaded.
Add Page Numbers & Watermark to PDF
Number the pages of a PDF (position, style, first number, skip the cover) and stamp a text watermark such as CONFIDENTIAL or DRAFT across every page, with a live preview. Text, links and form fields stay as they are. Nothing is uploaded.
Sign & Permanently Redact PDF
Draw or type a signature once, place it on any page and resize it, and black out IDs, SSNs or account numbers for real: redacted pages are rebuilt from pixels, so the hidden text is deleted, not covered. Nothing is uploaded.