Protect PDF

Add a password to a PDF with AES-256 encryption.

Password-protect a PDF without uploading it

Short answer: To password-protect a PDF with Scanly, drop the file, type a password twice and select Lock PDF. The file is encrypted with AES-256 on your own device, and the password is never stored or sent anywhere.

Add a password to a PDF free in your browser. AES-256 encryption with optional edit restrictions. The PDF and the password never leave your device. The tool runs in your web browser with JavaScript; your files are never uploaded.

Also called: Encrypt PDF, Lock PDF, Add password to PDF.

How to password protect a PDF online for free

  1. Add a PDF

    Drop the PDF on the page or choose it from your device.

  2. Choose a password

    Type a new password twice. Leave Restrict editing on to stop others editing the PDF or copying its text.

  3. Lock and download

    Select Lock PDF, then download the protected file. Your original stays unchanged.

Why use Scanly to password protect a PDF

  • Free, with no sign-up

    Protect PDF free online: no account, no email, no daily limit and no watermark on your file.

  • Private: nothing is uploaded

    Most online PDF tools upload your file to a server. Here it never leaves your device, so it is safe for contracts, IDs and bank statements.

  • Works on any device

    Windows, Mac, Linux, Chromebook, Android or iPhone, in Chrome, Edge, Safari or Firefox. Nothing to install.

  • Works offline

    Once this page has loaded you can password protect a PDF without an internet connection.

Questions people ask

Are my files uploaded anywhere?
No. The tool runs in your browser with JavaScript and WebAssembly, so the PDF is read and written on your own device. Nothing is sent to a server, and the page keeps working if you go offline after it loads.
How do I put a password on a PDF for free?
Open Scanly Protect PDF, drop the file, type a password twice and select Lock PDF. Anyone opening the new file needs that password, in any PDF reader.
What encryption is used?
AES-256, the strongest standard PDF encryption, which every current PDF reader can open.
Can Scanly recover a forgotten password?
No. If you forget the password of a PDF you locked, it cannot be opened, so keep the password somewhere safe.
Can I password protect a PDF on a phone, Mac or Windows PC?
Yes. It works in Chrome, Edge, Safari and Firefox on Windows, Mac, Linux, Chromebook, Android and iPhone, with nothing to install. The work happens in the browser on your device.
Is it really free, with no watermark?
Yes. The tools are free with no sign-up, no usage limit and no watermark added to your files. Scanly is open source under AGPL-3.0, so anyone can check how files are handled.

Last updated 2026-11-14. Markdown version