← All tools
PDF ToolBuilt into the unified PDF editor

Encrypt a PDF

Lock your PDFs with a password and finely manage permissions: printing, copying, modifying. Directly in DocuNest's unified PDF editor.

Encrypt a PDF in DocuNest: 100% local processing on Windows, macOS, and Linux. Automatable via the docunest CLI.

Encrypt a PDF
Preview of Encrypt a PDF in DocuNest, offline PDF app

Built into the unified PDF editor. This tool is used directly within the DocuNest editor: open your PDF, apply the action, undo with Ctrl+Z if needed, then move on to any other tool — without ever reloading your file.

Discover the PDF editor →

Features

Choice of AES-128 or AES-256 encryption
User password required upon opening
Fine-grained permissions: allow or deny printing, copying, and modification
No data sent to a server
Undo available (Ctrl+Z) and revert to the original document

Use cases

1

Sensitive documents

Protect contracts or personal data before emailing them.

2

Controlled distribution

Allow reading but deny printing and copying of your documents.

3

Secure archiving

Encrypt your PDF archives to prevent unauthorized access.

Command line

Same result as the interface, in one command. Nothing leaves your machine.

docunest — zsh

local
# Encrypt a PDF
❯ docunest pdf encrypt -i document.pdf --user-password "secret" --strength aes256 -o result.pdf
✓ Done — file written locally, no network upload

Complete CLI documentation →

Frequently asked questions

What security level is used?
You choose between AES-128 and AES-256. AES-256 is the highest standard for PDF protection.
Can I prevent printing or copying?
Yes. In addition to the opening password, you set permissions: allow or deny printing, copying, and modifying the content.
Can I remove the password later?
Yes, provided you know the document's current password.
Is the encryption done locally?
Yes. Everything happens on your machine, no data is transmitted.

Stop sending your PDFs to the cloud.

Download DocuNest: the complete editor, 7-day trial, no credit card, no files leaving your machine.

Download for free

Download DocuNest

No account required, no data collected.

Linux

Install a system package, or use the AppImage if you prefer a portable version.

Windows 10+, macOS 12+ (Apple Silicon), Linux (deb / rpm / AppImage)