https://github.com/jromero132/pdf-splitter
PDF Splitter is a Python tool that takes a multi-page PDF file and splits it into individual PDF files, one for each page of the original document.
https://github.com/jromero132/pdf-splitter
aspect-ratio command-line-tool content-center cross-platform custom-page document-management document-processing file-conversion file-organization image-processing image-to-pdf multi-format-support open-source pdf-merger pdf-splitter pdf-tools productivity-tool python python-utility python3
Last synced: 6 months ago
JSON representation
PDF Splitter is a Python tool that takes a multi-page PDF file and splits it into individual PDF files, one for each page of the original document.
- Host: GitHub
- URL: https://github.com/jromero132/pdf-splitter
- Owner: jromero132
- License: mit
- Created: 2025-04-02T14:00:47.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-04-02T14:03:53.000Z (6 months ago)
- Last Synced: 2025-04-02T15:22:25.087Z (6 months ago)
- Topics: aspect-ratio, command-line-tool, content-center, cross-platform, custom-page, document-management, document-processing, file-conversion, file-organization, image-processing, image-to-pdf, multi-format-support, open-source, pdf-merger, pdf-splitter, pdf-tools, productivity-tool, python, python-utility, python3
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Funding: .github/funding.yml
- License: license
Awesome Lists containing this project
README
# PDF Splitter
[]( "Buy Me a Coffee - jromero132")
[]( "Go to Python homepage")

---PDF Splitter is a `Python` tool that takes a multi-page `PDF` file and splits it into individual `PDF` files, one for
each page of the original document.## Features
- Split a multi-page `PDF` into individual single-page `PDFs`
- Maintain original page quality and formatting
- Simple command-line interface
- Fast and efficient processing## Requirements
- `Python 3.6`
- `PyPDF2`## Installation
To set up this project, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/jromero132/pdf-splitter.git
cd pdf-splitter
pip install -r requirements.txt```## Usage
To split a `PDF` file, use the following command:
`python main.py path/to/your/file.pdf`This will create the output directory if provided, otherwise it will use the current directory. Each page of the original
`PDF` will be saved as a separate PDF file in this new directory.Example:
`python main.py documents/my_large_document.pdf output_folder`This will create a directory `output_folder` containing files like `page_1.pdf`, `page_2.pdf`, etc.
## Support
If you encounter any problems or have any questions, please open an issue in the GitHub repository.
## Contributing
Contributions are welcome! Please feel free to submit a pull request.
## License
This project is licensed under the terms of the license file included in this repository.
### Happy Coding! 🚀