Skip to main content

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

Metadata

Release files for pdfuck 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdfuck 1.1.2
File Size Uploaded
pdfuck-1.1.2.tar.gz 91.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pdfuck 1.1.2
File Interpreter ABI Platform
pdfuck-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 106.6 kB

Release files / pdfuck-1.1.2.tar.gz

Download URL pdfuck-1.1.2.tar.gz
Size 91.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cd0c2dbe43a94a1f8eb2d3ea0d1846942d9a14113165a3f99a53100a2e7adba7
BLAKE2b-256 checksum
How to use checksums
40907efab926d4fefd30123ef5581a1c5a59af301da45cb32ce906a1ea7334ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release files / pdfuck-1.1.2-py3-none-any.whl

Download URL pdfuck-1.1.2-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00fb87570107c681ff3e342a53543caa4a170395eab80de9cd3c7300a54af16b
BLAKE2b-256 checksum
How to use checksums
ea6fbde5629c3eb846de7ed85fc3156d3df9dd38530f60cb8e9c32f44374af35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page