Remove a PDF password
pdf_unlockRemove password protection from a PDF when you know the password, so it opens without prompting. Decrypts and saves an unlocked copy locally; does not recover forgotten passwords.
Instructions
Decrypt a password-protected PDF you know the password for, so it opens without prompting. This does NOT recover, guess, or brute-force a forgotten password. Runs entirely on this machine — the file is read and written locally and never sent anywhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Replace the output file if it already exists | |
| input | Yes | Path to the protected PDF | |
| output | Yes | Path to write the unlocked PDF | |
| password | Yes | The document's current password |