Lock PDF
0%
How to Protect PDF with Password Online Free
Secure your PDF documents by adding password protection in just a few steps
Upload
Select the PDF file that you want to protect with a password. Your file will be processed locally in your browser.
Set Password
Enter a strong password that will be required to open your PDF. Choose a password that is easy for you to remember but hard for others to guess.
Download
Download your password-protected PDF file. Your document is now secure and will require the password you set to be opened.
More HatchMyPDF tools
Free, watermark-free, privacy-first. Everything runs in your browser.
Repair PDF Online - Fix broken or corrupted PDFs (FAQ)
Repair runs locally in your browser using WebAssembly and Web Workers. Your PDF never leaves your device. The tool attempts to rebuild the cross-reference table, correct object offsets, rewrite damaged streams, remove minor syntax issues, and optionally linearize the file for faster web viewing.
We do not receive or store your PDFs. Processing happens on your device only. The page may load anonymous Google analytics, but files are never uploaded to servers.
Limits depend on your RAM and browser. Modern desktops handle tens to hundreds of MB. Close unused tabs for large scans. If a file fails, try the Light strategy first, then Aggressive.
Yes. No account and no paywall. The service is funded by ads and optional donations. All processing stays on your device.