pdftoolskit.org
PDF (Portable Document Format) utilities, in the browser
Say hi →

Lock / unlock PDF

strip owner-password protections · user passwords are not cracked

Drop PDFs that have an "owner password" set (which restricts printing / copying without an open-password) and the tool re-saves them without the restrictions. PDFs encrypted with an open-password require the password and aren't supported here.

Drop PDF files here or click to select

Multiple files allowed

    no files
    Ready.

    When to use this tool

    Use the unlock mode when a PDF you legitimately have access to refuses to print, copy, or let you fill in form fields — those are owner-password restrictions, and many PDFs ship with them set "for show." Use lock mode (placeholder, see below) if and when pdf-lib ships encryption support; for true password protection today you'll want a desktop tool.

    Two kinds of PDF passwords

    PDF supports two passwords:

    Sometimes both are set, often only one. The unlock tool here strips the owner-password's restrictions; it does not bypass an open-password (which would be cracking, requiring the password itself or brute force).

    Step by step (unlock)

    1. Drop the PDFs with owner-password restrictions.
    2. Set mode to "Unlock".
    3. Click "Process & download". Each file produces a name-unlocked.pdf in the output list.
    4. Verify by opening the result — the printer dialog should now be available, copy/paste should work.

    About the lock mode (placeholder)

    The library this site uses (pdf-lib) does not currently support adding password encryption. The "Lock" option re-saves the file without changes; the button is kept here so it can become functional the moment pdf-lib ships encryption support. For true locking today, use a desktop tool: Adobe Acrobat, qpdf --encrypt, or macOS Preview's "Export → Encrypt."

    Common use cases

    What this tool can't do

    Acceptable use

    Only use this on PDFs you own or have explicit permission to modify. Bypassing access controls on someone else's document is a violation of the terms of use and likely a violation of relevant local computer-misuse laws.

    FAQ

    Why does the "owner password" exist if it's so easy to bypass?

    It was designed as a "polite request" rather than real protection. Most viewers honour it; a savvy user with the right tool can ignore it. If you actually want enforcement, you need an open-password.

    Can I unlock a PDF if I don't know any password?

    Only the owner-password kind. If the PDF won't open at all without a password, you need that password — there's no legitimate way to "unlock" it without it.

    Will this tool ever support locking?

    When pdf-lib ships encryption support. The button is wired up so it'll become functional automatically once the library does.

    Is the unlocked output identical apart from the password flag?

    Functionally, yes — page contents are preserved. Some metadata (the encryption dictionary) is dropped. Run a diff if you need to confirm specifics.