Set a PDF password directly on your device

Password-protect PDF files online

Encrypt your PDF with a password to restrict access

Select or drop a PDF file

browse

PDF files only · Max 100 MB

🔒 Secure connection · Auto-deleted after processing · Free

  • Password encryption
  • Prevent unauthorized viewing
  • Strong protection

On-device processing and file control

Files are not uploaded to CookPDF servers

The main operation runs in the browser on your device.

Keep the original

It's best to save the original before changing the password or flattening the document.

Check the resulting file

Open the file to test it, and check the content, access permissions, and signatures before use.

How to set a PDF password

Follow three steps, keep the original, and check the result.

  1. Choose a PDF file

    Open a document you have the right to protect and keep a safe copy of the original.

  2. Enter the password

    Create a password that is long enough, hard to guess, and confirm it exactly.

  3. Download the protected file

    Try opening the result file with the password before sending or archiving it.

Highlights

Capabilities suited to the right purpose of protecting or finishing a PDF.

Restrict access

Recipients need to know the password to open the encrypted PDF content.

Done right in the browser

No extra software needed to create a password-protected PDF.

Keep the original separate

Export as a new file so you can still return to the original document.

Processed on your device

The main operation happens in the browser and files are not uploaded to CookPDF servers.

Use cases

Common situations when handling access rights and the interaction layer.

  • Send documents to specific recipients

    Set a password before sharing the file over another channel.

  • Archive personal records

    Add a layer of access control to documents on your device or storage drive.

  • Share internal drafts

    Restrict people without the password from opening a document under review.

Ready to set a PDF password?

Choose a PDF file you have the right to use to get started.

Set PDF password

Password-protect PDF files online

Encrypt a PDF with a password to restrict people without the password from opening and reading the document's content.

When should you use it?

  • Send documents to specific recipients: Set a password before sharing the file over another channel.
  • Archive personal records: Add a layer of access control to documents on your device or storage drive.
  • Share internal drafts: Restrict people without the password from opening a document under review.

A safe process

Only process documents you have the right to use, keep the original, and check the result file in a PDF reader before sending or archiving. For documents with digital signatures, verify the signature status again after making changes.

Limitations to know

A password helps restrict access but does not replace controlling recipients, sharing permissions, device security, or storage policies. Do not send the password in the same message or channel as the file if the document is sensitive.

Data and sessions

The main operation is performed on your device and files are not uploaded to CookPDF servers. Your browser may keep a local cache to restore the session; you can clear the session in the interface or clear website data in your browser settings.

Frequently asked questions

Information about passwords, usage rights, limitations, and data.

How should I set the password?
Use a long password that is hard to guess and do not reuse account passwords. You can combine multiple words, uppercase and lowercase letters, numbers, and special characters.
Does CookPDF store the password?
The main operation happens on your device. CookPDF does not need to receive the file or the password to perform this encryption.
If I forget the password, can it be recovered?
Do not rely on recovery. Save the password in a password manager and keep the original in a safe place.
Does setting a password prevent recipients from copying the file?
No. Anyone who already has the file can still copy it; the password mainly controls the ability to open and read the content.

Ready to set a PDF password?

Choose a PDF file you have the right to use to get started.

Set PDF password