Protect a PDF with a password
Password protection
Require a password whenever this PDF is opened.
Uses PDF 1.7 AES-128. PDF/A files stay archival and are not encrypted.
Protecting your PDF
Protection complete
Details
Add an open password to a PDF so it asks for one before it shows a page. The work happens in this browser tab. The password stays in the tab, never travels to a server, and never reaches analytics. The protected copy is opened again with that password to prove it works.
How to protect a PDF
-
Choose a PDF
Press Choose a PDF, or drop one on the page. The file stays in this browser tab.
-
Leave Protect selected
Protect is selected when this page opens. Use Unlock only when you want to remove protection using a password you know.
-
Enter the new password
Use at least six characters and enter the same password twice. The password stays in this tab and is excluded from analytics and diagnostics.
-
Protect, check and download
The output is opened again. Its pages, page sizes, selectable text and password requirement must pass before Download appears.
What an open password does, and what it does not
An open password is the one a reader asks for before it draws a page. Without it the file is encrypted bytes. That is the protection this page writes, and it is the only PDF password a viewer cannot choose to ignore.
The other kind is a permissions password, often called an owner password. It marks a file as no printing, no copying or no editing. Those flags are advice. Adobe Reader follows them, many other readers do not, and any tool that can open the file can clear them. pdfpix does not offer a control it cannot prove, so this page sets the open password and nothing else.
The encryption is standard AES-128 inside a PDF 1.7 file. That is what the browser library can write today. It is not AES-256, and this page says so instead of leaving you to guess. Six characters is the minimum it accepts, and a long passphrase protects the file better than any standard named here.
Two kinds of file refuse a password. A PDF/A file forbids encryption, because an archive format has to open in fifty years without a key, so the original comes back unchanged. A PDF that already carries protection has to be unlocked first, with the password you hold, before a new one can go on.
Questions
- Does the password ever leave this tab?
- No. The PDF, password, protection and verification stay in this browser tab.
- What protection does this add?
- It writes a PDF 1.7 file with standard AES-128 open-password protection. It does not claim AES-256.
- Why will it not protect a PDF/A file?
- PDF/A forbids encryption. Adding a password would break the archival format, so the original stays unchanged.
- Can I remove protection here too?
- Yes. Choose Unlock, or open the focused Unlock page, and enter a password you know. The tool does not guess or crack passwords.
- What does the protect check cover?
- It opens the output again, compares its pages, page sizes and selectable text with the source, then confirms that the new password is required. A failed output is not offered for download.
- Can I stop people printing or copying instead?
- Not here. This tool sets the open password, the one a reader must type before any page appears. Permission flags are honoured by some viewers and ignored by others, so pdfpix does not offer a control it cannot prove.
The other pdfpix tools
All 30 of them run in a browser tab like this one. Each reads its own output back and checks it before offering the download, and none of them needs an account.
- Merge PDFs Several PDFs into one
- Organize pages Split, reorder, delete
- Rotate & crop Pages upright, margins cut
- Images to PDF JPG and PNG
- HEIC to PDF Open iPhone photos
- TIFF to PDF Open multi-page scans
- WebP to PDF Open images saved from the web
- BMP to PDF Open bitmap images
- Privacy scan Remove private metadata
- Repair PDF Rebuild a broken file
- Compress PDF Hit a size target
- PDF size breakdown See where every byte goes
- Print preflight Check a PDF before press
- PDF to images Export JPG or PNG
- PDF to TIFF One multi-page image file
- Extract images Save original pictures
- PDF to Markdown Keep the document structure
- Markdown to PDF Make a verified document
- PDF to CSV Extract a table
- PDF to Excel One table per sheet
- Sign PDF Draw, type or upload
- Stamp PDF Number, label, watermark
- Compare PDFs Words and pages that changed
- Flatten PDF Make fields and marks permanent
- Fill PDF form Complete existing fields
- Create PDF form Add fillable fields
- N-up & booklet Print several pages per sheet
- Comic archive CBZ to PDF and back
- Redact PDF Destroy marked content
- Redaction checker Find text under black boxes
Where to go next
- Unlock PDF Save a copy of a PDF you can already open, without its password.
- Remove metadata from PDF Strip the author, software and timestamps out of a PDF before sending it.
- Open a password protected PDF Open a PDF that asks for a password.
- Save a PDF without its password Keep a copy you can open without typing the password each time.