What changes
Encryption requires a password to open the new file. Permission flags are guidance to viewers, not reliable DRM.
Add an open password and PDF access permissions with local AES-256 encryption. Your PDF and password never leave this browser.
Runs locallyNo uploadYou control saved copies
qpdf runs in a disposable browser worker. The PDF and password are never uploaded or stored.
Local qpdf worker · no upload · cancellable
A dedicated qpdf WebAssembly worker applies AES-256 encryption and verifies the result with the owner password before download.
Encryption requires a password to open the new file. Permission flags are guidance to viewers, not reliable DRM.
Open the download in a second trusted viewer before deleting the source. Losing both passwords can make recovery impractical.
Passwords are cleared after every attempt and never stored, so this site cannot recover them. Existing digital signatures can be invalidated by modification.
Create an encrypted PDF with an opening password and optional owner password for full access. Print, change and copy settings express permissions to viewers. The tool applies AES-256 encryption locally and checks the output before download.
Distinguish an opening barrier from control after opening. A person who can view the document can still reproduce its visible content, and some applications ignore usage permission flags. If information must not reach the recipient at all, remove it before sharing rather than relying on print or copy restrictions.
| Your situation | Recommended approach |
|---|---|
| Only intended recipients should open the file | Set an open password that you can store and communicate securely. Use a unique password for the real document; the public example below is only for the synthetic sample. |
| You want a separate full-access credential | Set an owner password different from the open password and keep it to yourself. If left blank, the tool uses the open password for both roles. |
| You want viewers to restrict printing or changes | Choose the relevant permission flags but test the recipient's viewer. These are requests to the application, not dependable controls against copying content. |
| The source is already encrypted | Unlock it with a known authorized password first, then protect the resulting copy with the new settings. This tool does not recover unknown passwords. |
Use device-document-lab.pdf, which contains five synthetic pages. The demonstration passwords are public and must not be used for confidential files.
Expected result. The sample becomes an encrypted five-page PDF that requires an accepted password to open. Its permission settings are stored in the file, but whether a viewer enforces them is a separate check. The original sample remains unencrypted.
Protection accepts 8–127 UTF-8 bytes. Characters outside basic ASCII can use several bytes, so character count and byte count are not always the same.
Try this: Use a sufficiently long password that remains within the byte limit. The minimum is an input requirement, not a measure of whether a password is difficult to guess.
This operation expects an unencrypted input; it does not silently replace existing encryption.
Try this: Use Unlock PDF with the known password, inspect the unlocked copy, then protect that copy with the new credentials and settings.
Permission flags depend on the viewer, and the owner credential grants full access. Leaving Owner password blank makes the open password serve both roles.
Try this: Check which credential was used and test the intended viewer. Do not use these flags as a substitute for removing content the recipient must not receive.
Browser feature support, available memory, file limits or an unsupported PDF can prevent the encryption and verification steps from completing.
Try this: Keep the source, check the displayed limits and retry in a supported browser with a smaller document if appropriate. Do not treat an error as a successful protection operation.
Your files and form values are processed on this device. Downloaded copies remain wherever you save them. See how to check local processing and our privacy policy for site data and optional services.
Maintained by Shakti Prasad Ram. Found a mismatch? Report the tool, browser and steps without sending a sensitive document. Back to the tool