Open a Password-Protected PDF
Stuck on a PDF password prompt? How to do it to open a protected PDF the right way, what to do when the password won't work, and how to save a version that
You double-click a PDF and instead of the document you get a grey box asking for a password. It's a small moment of friction that can turn into a real headache, especially if you're on a phone, in a hurry, or opening the file for the tenth time this week. This is a walkthrough of how to open a password-protected PDF, what to try when the password is being stubborn, and how to make the prompt disappear for good.
First, make sure you have the right password
It sounds obvious, but most "the password doesn't work" cases are typos. PDF passwords are case-sensitive and often copied from an email, so the usual suspects are:
- A trailing or leading space picked up when copy-pasting.
- Caps Lock flipping the case of the whole thing.
- A different keyboard layout turning
@into"or swapping symbols. - Zero versus letter O, or one versus lowercase L.
Type it out by hand once, slowly, rather than pasting. If your reader offers a "show password" option, use it and read the characters back before you hit Enter.
Opening it in a standard reader
If you have the password, any mainstream reader will open the file:
- Open the PDF. The password prompt appears.
- Enter the password exactly.
- The document loads normally.
The catch is that this is a one-time unlock. Close the file and reopen it, and you're back to the prompt. For a document you touch often, that gets old fast.
The problem with re-typing every time
Re-entering a password on every open isn't only annoying. It actively gets in the way:
- On mobile, symbol-heavy passwords are fiddly to tap out.
- You can't quickly preview the file in a folder or search tool.
- Merging, compressing or converting the PDF is blocked until it's unlocked.
If the file is yours and you know the password, the sensible fix is to remove the open password once and keep a clean copy.
Save a copy that never asks again
Our Unlock PDF tool turns your one-time password into a permanent open document. You supply the password you already have, and it produces a decrypted copy with the prompt removed. Crucially, it does this in your browser: the file and password are never uploaded, so you're not trusting a server with sensitive material.
To do it:
- Upload the protected PDF.
- Enter the password (use the show/hide toggle to double-check it).
- Click Unlock PDF and download the open copy.
Text stays selectable, links keep working, and the layout is untouched: the only change is that the password is gone.
When the password simply won't open it
If you're certain the password is correct and the file still won't open, a couple of things may be going on:
- The file is damaged. Re-download the original from wherever it came from, or ask the sender to resend it.
- It uses an unusual cipher. A few PDFs use legacy encryption that in-browser tools can't read. Re-saving the file from the application that created it usually produces a standard, readable version.
And if you don't have the password at all, there's no honest shortcut. Reach out to whoever created or sent the PDF. The password is the only key, and that's exactly how it should be for a genuinely protected document.
Unlock once, not every time
Opening a protected PDF is easy when you have the password. The real win is not having to do it repeatedly. Verify the password carefully, unlock the file once in your browser, and save the open copy. From then on, it behaves like any other PDF. No grey box, no interruption.
Where the password goes when you type it
It goes into the pdf.js library running inside your own browser tab, and nowhere else. The decryption happens in a local worker. Type the wrong password and the error you see comes from that worker, not from a server round-trip. This matters because a password-protected PDF is usually protected for a reason, and pasting its password into a random website is exactly the kind of leak the protection existed to prevent. Here the file and the password stay on your machine for the whole operation.
Sources
- pdf-lib, the in-browser PDF engine these tools run on
- PDF (Wikipedia)
Written by
Chandrabhan Shekhawat
Founder of Gigai Kripa Services. Builds the 250+ privacy-first browser tools on this site and writes the guides that go with them.
Never miss a guide
New tools and how-to articles land regularly. Follow along however you like. No inbox required.
Keep reading
pdf-tools
Extract Specific Pages from a PDF
Only need a handful of pages from a long document? Learn how to hand-pick exactly the pages you want and save them as a clean new PDF. No ranges to type, no
4 mins readpdf-tools
Turn PDF Pages into Slides
Convert a PDF into image slides you can drop straight into PowerPoint, Keynote or Google Slides, with tips on aspect ratio, quality and ordering.
4 mins readpdf-tools
Are Online PDF and Image Tools Safe? How In-Browser Processing Protects Your Files
Are free online PDF and image tools safe? Learn how client-side, in-browser processing keeps files on your device, and how to spot a genuinely private tool.
7 mins read