2026-05-05 22:37:28 +08:00
2026-05-05 22:20:39 +08:00
2023-01-25 00:31:15 +08:00
2026-05-05 22:20:39 +08:00
2026-05-05 22:20:39 +08:00
2023-01-24 23:19:42 +08:00
2026-05-05 22:37:28 +08:00
2026-05-05 22:37:28 +08:00
2026-05-05 22:20:39 +08:00

English | 简体中文


Introduction

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.8) and its matching version of pip, and then enter the following command at the command prompt:

pip install pdfuck

Or use uv to run directly without installing:

uvx pdfuck

Note: If you use this method, subsequent usage will require adding uvx before the command. You can also set an alias for easier use:

alias pdfuck='uvx 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:

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:

pdfuck example.pdf -o target.pdf

PDF file requires opening password

Use the -p parameter to manually specify the opening password, for example:

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.

Workflow

Configure development environment

uv pip install -e .

Build

uv build

License

GPL-3.0

S
Description
PDFuck: Remove the password of your PDF file. A tool to remove PDF editing password, which is used in CLI (command line) mode.
https://pypi.org/project/pdfuck/ Readme GPL-3.0
125 KiB
Languages
Python 100%