Remove passwords from PDF files
Project description
pdfstrip
Remove passwords from PDF files.
Install
pipx install pdfstrip
Or with uv:
uv tool install pdfstrip
Usage
# Unlock a single file
pdfstrip secret.pdf -p mypassword
# Unlock to a specific output
pdfstrip secret.pdf -p mypassword -o unlocked.pdf
# Unlock in place
pdfstrip secret.pdf -p mypassword --in-place
# Batch unlock a directory
pdfstrip ./pdfs/ -p mypassword --skip-unprotected
# Dry run
pdfstrip secret.pdf -p mypassword --dry-run
Options
| Flag | Short | Description |
|---|---|---|
--password |
-p |
PDF password |
--output |
-o |
Output file path (single file only) |
--output-dir |
-d |
Output directory for unlocked files |
--in-place |
-i |
Overwrite original files |
--force |
-f |
Overwrite existing output files |
--skip-unprotected |
-s |
Skip files that are not encrypted |
--dry-run |
-n |
Show what would be done without writing |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pdfstrip-0.1.0.tar.gz.
File metadata
- Download URL: pdfstrip-0.1.0.tar.gz
- Upload date:
- Size: 37.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
964cb6ea71ce7f147542a86e5701fedfdddb38c2045857db93d590afa849100d
|
|
| MD5 |
afc8124155c477868bfd31bede27cfb3
|
|
| BLAKE2b-256 |
78d087c40c6f74e367976b645459ee196587267b4b4134906a5863b562749d04
|
Provenance
The following attestation bundles were made for pdfstrip-0.1.0.tar.gz:
Publisher:
publish.yml on mwalterskirchen/pdfstrip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pdfstrip-0.1.0.tar.gz -
Subject digest:
964cb6ea71ce7f147542a86e5701fedfdddb38c2045857db93d590afa849100d - Sigstore transparency entry: 956438986
- Sigstore integration time:
-
Permalink:
mwalterskirchen/pdfstrip@dc02d7a1bba60250b84b1fde333c0a18b9b8390a -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/mwalterskirchen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dc02d7a1bba60250b84b1fde333c0a18b9b8390a -
Trigger Event:
push
-
Statement type:
File details
Details for the file pdfstrip-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pdfstrip-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07649d66cd09167b9bdd8c39e863025d20f624ae83ab1c463a59b80081864285
|
|
| MD5 |
41d4e41da607f65ed2c08d0fa9241194
|
|
| BLAKE2b-256 |
665d10e75c41f1cf54a68d06e571bbbd7fce4da0929f2fdd65cc69105b50189a
|
Provenance
The following attestation bundles were made for pdfstrip-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on mwalterskirchen/pdfstrip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pdfstrip-0.1.0-py3-none-any.whl -
Subject digest:
07649d66cd09167b9bdd8c39e863025d20f624ae83ab1c463a59b80081864285 - Sigstore transparency entry: 956438992
- Sigstore integration time:
-
Permalink:
mwalterskirchen/pdfstrip@dc02d7a1bba60250b84b1fde333c0a18b9b8390a -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/mwalterskirchen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dc02d7a1bba60250b84b1fde333c0a18b9b8390a -
Trigger Event:
push
-
Statement type: