Skip to main content

Password Protect a PDF

Upload a PDF, enter a password that will be needed to open it, optionally set an owner password and permissions, then click Encrypt PDF. PDFYork encrypts the file with 256-bit AES in your browser, so neither the document nor your passwords are sent to our server.

Before you start

Where your file is processed
In your browser. The file is read and processed on your device and is not uploaded to PDFYork.
Account
Not required. Without an account you can run 3 tasks per day across all tools. A free account raises the limit.
Cost
Premium tool. Free accounts get 3 premium tasks per day. After that, each task uses 100 credits, deducted when you download the result.

How limits and credits work Β· How we handle files

How to Use

  1. Upload the PDF

    Drop the file you want to protect onto the upload area.

  2. Set the open password

    Type the User Password. Anyone opening the file will need it. You can leave it empty if you only want to restrict actions.

  3. Optionally set an owner password and permissions

    The Owner Password controls changes to permissions. Untick the actions you want to restrict, such as printing, copying or modifying.

  4. Encrypt and save

    Click Encrypt PDF, download the protected file and store the passwords somewhere safe.

User password and owner password: what each one does

SettingWhat it controlsWho needs it
User passwordOpening and viewing the document. The content is encrypted with it.Everyone you want to read the file.
Owner passwordChanging permissions or removing protection in software that respects PDF permissions.Only you or the document owner.
PermissionsWhether printing, copying text, modifying, annotating, filling forms, assembling pages and accessibility tools are allowed.Applied automatically when the file is opened.

How strong is the protection?

PDFYork uses qpdf to apply 256-bit AES encryption, the strongest method defined in the PDF standard and supported by current versions of Adobe Acrobat, Preview, Chrome and most other readers. The real strength depends on your password: a long passphrase is much harder to guess than a short word.

Permission restrictions are a different matter. They rely on the reading software to honour them, and some tools ignore them. Treat permissions as a deterrent and the open password as the actual protection.

Before you encrypt

  • Make every other change first. Merging, compressing or editing an encrypted file requires unlocking it again.
  • Keep the password somewhere safe. PDFYork does not store it and cannot recover it for you.
  • If the file contains hidden information such as author names, run Remove Metadata or Sanitize PDF before encrypting.

Use Cases

Emailing payslips or tax documents

Protect a PDF before sending it by email, and share the password by phone or another channel.

Sharing drafts for review only

Allow viewing but turn off modifying and copying on a draft contract sent to the other party.

Storing records on shared drives

Add an open password to HR or medical PDFs kept in shared folders.

Troubleshooting

The recipient cannot open the file

Very old PDF readers may not support AES-256. Ask them to update their reader or open the file in a current browser.

I forgot the password

The file cannot be opened without it. Use your unencrypted original if you still have it.

The PDF is already protected

Remove the existing protection with Decrypt PDF first, then apply new settings.

Frequently Asked Questions

Are my file and password sent to PDFYork?

No. Encryption runs in your browser with qpdf compiled to WebAssembly. The file and passwords stay on your device.

What encryption does PDFYork use?

256-bit AES, applied through qpdf.

Can I restrict printing without requiring a password to open?

Yes. Leave the User Password empty and set only an Owner Password plus the permissions you want. The file opens without a password, and readers that respect PDF permissions block the restricted actions.

Is Encrypt PDF free?

It is a premium tool. Free accounts can run 3 premium tasks a day, and further tasks cost 100 credits each, charged when you download.

How do I remove the password later?

Use Decrypt PDF and enter the password.