Protect PDF with Password
Protecting a PDF before you share it usually means two things: a visible watermark so people know it is a draft or confidential, and a password so only the right people can open it. This tool does the watermark part directly in your browser with pdf-lib — no upload — and gives you clear, offline instructions for adding a real password using the free tools already on your computer. We do not pretend to encrypt your PDF in the browser: the maintained client-side libraries, including pdf-lib, do not implement PDF encryption, and faking a security feature would be worse than having none.
How to use the Protect PDF with Password
- Add a PDF file.
- Type your watermark text (e.g. CONFIDENTIAL, DRAFT, or a reviewer name).
- Set font size, opacity, position and which pages to mark.
- Click Apply & Download to get the watermarked PDF.
- To add a real password, follow the offline steps shown below for macOS, Windows or Linux.
Supported formats & inputs
Input: PDF. Output: PDF (watermarked). Password locking is done offline with your operating system's built-in tools — see the instructions below.
Features
- Custom watermark text, size, opacity and rotation
- Position presets: center, tiled, corner or diagonal
- Apply to all pages or a page range (e.g. 1, 3, 5-8)
- 100% in-browser watermarking with pdf-lib — no upload
- Honest offline password instructions for macOS, Windows and Linux
Important limitations
This tool adds a visible watermark only. Real PDF password encryption is not performed in the browser because no maintained client-side library implements it; use the OS-specific instructions below to lock the watermarked file. Password-protected PDFs cannot be watermarked here without the password.
Common use cases
- Mark a draft contract as DRAFT before review
- Stamp CONFIDENTIAL on a sensitive report
- Brand a sample file before sending it to a client
- Add a reviewer name to a shared document
Privacy
This tool processes your files entirely in your browser. Nothing is uploaded, and no file contents or filenames are ever sent to a server or included in analytics. The only network requests are the processing libraries (loaded once) and anonymous event pings. You can verify this in your browser's network tab.
Frequently asked questions
Does this tool password-encrypt my PDF?
No. We add a visible watermark in your browser and then give you offline instructions to add a real password using free OS tools (macOS Preview, Microsoft Edge or LibreOffice on Windows, qpdf on Linux). We do not fake encryption in the browser because no maintained client-side library implements PDF encryption.
Is the watermark applied in my browser?
Yes. The watermark is drawn onto each page with pdf-lib, entirely in your browser. Your PDF is never uploaded.
Can the watermark be removed?
The watermark is page content, so it cannot be toggled off in a reader, but a determined editor could remove it. For stronger protection, add a password using the offline steps after watermarking.
How do I add a real password afterwards?
macOS: open in Preview, File → Export, check Encrypt, set a password. Windows: open in Microsoft Edge and save as with password, or LibreOffice Draw → Export as PDF → Security tab. Linux: run qpdf --encrypt USER OWNER 256 -- input.pdf output.pdf.
Related tools
Add Watermark to PDF
Add a text watermark to a PDF online for free. Customize font size, opacity, position and …
Merge PDF
Merge and combine multiple PDF files into one online for free. Drag to reorder, combine un…
Rotate PDF
Rotate individual pages or all pages of a PDF online for free. Preview thumbnails, rotate …
PDF Page Remover
Remove unwanted pages from a PDF online for free. Preview every page, click to mark pages …