# Password Protect PDF - Encrypt a PDF Online

> Free online PDF encryption: set an open password and restrict printing, copying, editing and annotating with AES-256. Everything runs on your device.

- URL: https://qilingtools.com/en/pdf/encrypt
- Category: PDF Tools (https://qilingtools.com/en/pdf)
- Tags: [PDF](https://qilingtools.com/en/tags/pdf), [Privacy & Security](https://qilingtools.com/en/tags/privacy)
- Last updated: 2026-10-26
- Price: Free, no sign-up
- Privacy: Runs locally in the browser; files are never uploaded

Put an open password on a PDF so nobody can read it without the password. You can also set a separate permissions password that restricts printing, copying text, changing the content and adding annotations. AES-256 is used by default — the only cipher ISO 32000-2 still recommends — and AES-128 is available for older readers. Encryption happens entirely in your browser: neither the file nor the password is uploaded, which beats sending a confidential contract to someone else’s server.

## How to use

1. Upload a PDF file
2. Type the open password twice, then set a permissions password and allowed actions if you need them
3. Click Encrypt & download to get the protected PDF

## Features

- AES-256 or AES-128 encryption
- Separate open and permissions passwords
- Restrict printing, copying, editing and annotating
- Passwords never leave your browser

## FAQ

### What is the difference between the two passwords?

The open password is needed to open the file at all. The permissions password lifts the restrictions, so whoever knows it can print, copy and edit. Leave it empty and it defaults to the open password.

### Can a forgotten password be recovered?

No. Encryption happens on your machine — we never have your file or your password, and AES-256 cannot be bypassed. Keep the password somewhere safe.

### Can I encrypt a PDF that already has a password?

Remove the existing password first with our Unlock PDF tool (you will need to know it), then encrypt it again.

### Are my files or data uploaded?

No. Everything runs locally in your browser with no network upload, and is discarded when you close the page.

## Related tools

- [Merge PDF](https://qilingtools.com/en/pdf/merge): Free online PDF merger: combine several PDF files into one in the order you choose, with reordering. Processed locally in your browser, no upload, no sign-up.
- [Split / Extract PDF](https://qilingtools.com/en/pdf/split): Free online PDF splitter: extract a page range into a new PDF, or split every page into its own file and download them as a ZIP. Processed locally.
- [Rotate PDF](https://qilingtools.com/en/pdf/rotate): Free online PDF rotator: rotate all or selected pages by 90°, 180° or 270° to fix scanned documents. Processed locally, no upload.
- [PDF to Image](https://qilingtools.com/en/pdf/to-image): Free online PDF to image converter: render every page as a high-resolution JPG or PNG at 72/150/300 DPI, download all as a ZIP. Processed locally, no upload.
- [Image to PDF](https://qilingtools.com/en/pdf/from-image): Free online image to PDF converter: combine JPG, PNG and WebP images into one PDF in order, with A4 or image-sized pages. Processed locally, no upload.
- [Compress PDF](https://qilingtools.com/en/pdf/compress): Free online PDF compressor: re-render pages with compressed images to shrink scanned and image-heavy PDFs, with adjustable quality. Processed locally.
- [Watermark PDF](https://qilingtools.com/en/pdf/watermark): Free online PDF watermark tool: add text watermarks to every page, tiled or centred, with opacity and angle controls. Any language, processed locally.
- [Delete PDF Pages](https://qilingtools.com/en/pdf/delete): Free online tool to delete PDF pages: remove pages by number or range and keep the rest, then download. Processed locally, no upload.
