Password protect a PDF
Your files stay on your device.
Add a password to your PDF so that only it can open the file, without the file ever leaving your device.
Drop your PDF here
or choose it
Choose your PDF
From your files or your phone
Your files never leave your device
How to do it
- Add your PDF.
- Choose a password and type it again in “Confirm the password”.
- Allow printing and copying the text or not, then protect and download the file.
To password protect a PDF, drop it above, type the password you chose twice and download the result. The file you get asks for that password every time it is opened, and it never leaves your device.
What the tool does
- The whole PDF is encrypted with AES-256, the strongest encryption in the PDF standard. Without the password, its content cannot be read.
- Everything else in the document stays as it was: pages, bookmarks, links and form fields.
- The password is neither saved nor put in the page address. It is only used to encrypt the file, in your browser.
- The protected file opens with its password in common readers: we checked it in Preview on Mac, in Acrobat and in the Firefox PDF viewer.
Choosing a good password
The tool accepts letters without accents, numbers, spaces and keyboard symbols, up to 127 characters. Accented letters, as in “café”, are refused as soon as you type them: some PDF readers, including Preview on Mac, would then refuse the right password, and the file would no longer open. Capital letters count, and so do spaces. You type the password twice to catch a typo, and the “Show the password” switch lets you read it back. Keep it safe: no one can recover it, not even PDFrelax.
Blocking printing or copying
By default, whoever opens the file can print it and copy its text. Turn off “Allow printing” or “Allow copying the text” to prevent that. PDF readers respect these restrictions, but they are only instructions written in the file, not a lock: someone who knows the password can remove them, for example with the Unlock tool. The real protection is the password needed to open the file. Screen readers can always read the text, for people with visual impairments.
Special cases
A PDF that already asks for a password is refused: remove the old one first with the Unlock tool. A PDF that opens freely but already blocks printing or copying simply takes your new settings. Finally, a PDF/A file, the archiving format used for some invoices and official documents, does not allow encryption: the tool removes the PDF/A label from the file before protecting it. Its content and appearance do not change, but it is no longer declared as PDF/A.
PDFrelax processes files in your browser. No file is sent to a server.
Frequently asked questions
Are my files sent anywhere?
No. PDFrelax processes files in your browser. No file is sent to a server: the document never leaves your computer or phone. To check, wait a few seconds after the page has loaded, then cut your connection: the tool still works.
Is the password sent or saved?
No. It stays in your browser, just like the file. It is not saved anywhere and does not appear in the page address.
I forgot the password. Can PDFrelax recover it?
No. PDFrelax does not know your password and never tries to guess one. Without it, no one can open the file. So keep an unprotected copy of the document, or write the password down somewhere safe.
Why are accented letters refused?
Because some PDF readers, including Preview on Mac, refuse the right password if it contains an accent. So that your file opens everywhere, the tool only accepts the characters of an English keyboard: letters without accents, numbers, spaces and symbols.
Is blocking printing enough to protect my document?
No. PDF readers respect this restriction, but someone who knows the password can remove it. For a confidential document, what matters is the password needed to open it: only give it to the right people.
Can I protect several PDFs at once?
No, one file at a time. To protect several documents with the same password, you can first combine them into one with the Merge tool.