https://github.com/mmdjiji/pdfuck
PDFuck: Remove the password of your PDF file
https://github.com/mmdjiji/pdfuck
password pdf remove
Last synced: 22 days ago
JSON representation
PDFuck: Remove the password of your PDF file
- Host: GitHub
- URL: https://github.com/mmdjiji/pdfuck
- Owner: mmdjiji
- License: gpl-3.0
- Created: 2023-01-24T15:19:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T17:27:19.000Z (over 3 years ago)
- Last Synced: 2025-12-16T16:35:21.228Z (4 months ago)
- Topics: password, pdf, remove
- Language: Python
- Homepage: https://pypi.org/project/pdfuck/
- Size: 21.5 KB
- Stars: 14
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
Awesome Lists containing this project
README

[简体中文](README.md) | [**English**](README.en.md)
---
## Introduction
[PDFuck](https://github.com/mmdjiji/pdfuck) is a tool to remove PDF editing password, which is used in CLI (command line) mode.
## Installation
Before installing, please ensure that you have installed Python (>=3.0) and its matching version of pip, and then enter the following command at the command prompt:
```bash
pip install pdfuck
```
## Usage
### Remove PDF password
For example, if you want to remove the password from the PDF file which is located in `example.pdf`, just enter the following command:
```bash
pdfuck example.pdf
```
The default path of the output file is `example.fucked.pdf`.
### Manually specify the output file path
If you want to specify the path of the output file manually, you can use the `-o` parameter, for example:
```bash
pdfuck example.pdf -o target.pdf
```
### PDF file requires opening password
Use the `-p` parameter to manually specify the opening password, for example:
```bash
pdfuck example.pdf -p password
```
## Credit
Thanks for the following open source projects. The completion of this project is inseparable from the code contributed by these authors.
* [pikepdf](https://github.com/pikepdf/pikepdf)
## Workflow
### Configure development environment
```bash
pip install -r requirements.txt
```
### Build and test
```bash
python -m build
pip install --editable .
```
## License
[GPL-3.0](LICENSE)