These are pdf tools for splitting or merging PDF files. Code was generated via ChatGPT AI. No personal data is stored in the cloud. PyPDF2 library is required to run the script.
- Split a specific page range
- Merge multiple PDFs
- Remove pages
- Rotate pages
- Password-protect a PDF
- Extract text from a PDF
========
- You provide the folder path containing PDFs.
- Script finds every .pdf file inside that folder.
- Files are merged alphabetically (so rename your PDFs if you need a specific order).
- A single merged file is created.
========
- Reads all PDFs in a folder
- Compresses each using Ghostscript
- Saves compressed files to a separate folder
- Leaves originals untouched
========