Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 1.33 KB

File metadata and controls

64 lines (45 loc) · 1.33 KB

PDF Password Remover and Decrypter

A powerful Python tool to remove password protection, unlock, and decrypt PDF files using pikepdf. This tool helps you remove passwords from protected PDF documents, unlock secured PDFs, and decrypt encrypted PDF files easily.

Features

  • Remove PDF passwords and security restrictions
  • Unlock password-protected PDF files
  • Decrypt secured PDF documents
  • Simple and easy-to-use command-line interface
  • Works with most PDF security methods
  • Fast and efficient processing

Prerequisites

  • Python 3.x
  • pikepdf library

Installation

  1. Create a virtual environment (recommended):
python -m venv venv
  1. Activate the virtual environment:
  • On Windows:
venv\Scripts\activate
  • On Unix or MacOS:
source venv/bin/activate
  1. Install the required packages:
pip install pikepdf

Usage

  1. Place your password-protected PDF file in the same directory as unlocker.py

  2. Run the script:

python unlocker.py
  1. The unlocked PDF will be saved in the temp folder as unlocked.pdf

Notes

  • Make sure your PDF file is named correctly as referenced in the script
  • The script will create a temp directory if it doesn't exist
  • The unlocked PDF will be saved as unlocked.pdf in the temp directory

License

MIT License

Author

vikflow