Splits large PDFs into smaller parts — built for Citrix-hosted document systems that freeze or reject oversized uploads.
Each part is capped at a configurable size (default 60 KB). No installation required to use the app.
Double-click pdf_splitter.exe to launch the interface. No Python, no command line, no setup.
| Field | What to do |
|---|---|
| PDF File | Click Browse... and select the PDF to split |
| Output Folder | Click Browse... to choose where parts are saved (defaults to a _chunks folder next to the source file) |
| Max Size (KB) | Size cap per part in kilobytes — set to 60 to match the Citrix limit |
Click Split PDF and wait for the progress bar to complete. The output folder will contain numbered parts ready to upload.
Output naming:
<original_name>_part_001.pdf,_part_002.pdf, … in page order.
- Estimates a starting pages-per-chunk from the file's size-to-page ratio
- Writes each chunk and measures its file size
- Any chunk over the limit is deleted and recursively halved until it fits
- Single pages that still exceed the limit (e.g. high-res scans) are kept as-is — they cannot be split further
Prefer the terminal? Both the exe and the raw script accept arguments.
Executable
"pdf_splitter.exe" input.pdf
"pdf_splitter.exe" input.pdf --output-dir C:\path\to\outputPython script
python PDFpart.py input.pdf
python PDFpart.py input.pdf --output-dir ./chunksArguments
| Argument | Required | Description |
|---|---|---|
input_pdf |
Yes | Path to the PDF to split |
--output-dir |
No | Output folder (default: <filename>_chunks/ next to source) |
Requires Python 3.10+
1. Install the dependency
pip install pypdf2. Run
python PDFpart.py input.pdfProduces a single standalone pdf_splitter.exe with no external dependencies.
1. Install build tools
pip install pyinstaller pypdf2. Build
pyinstaller --onefile --windowed --name "pdf_splitter" PDFpart.py| Flag | Effect |
|---|---|
--onefile |
Bundles everything into a single .exe |
--windowed |
Suppresses the console window when the GUI runs |
3. Collect the output
The finished executable is at dist\pdf_splitter.exe. Copy it anywhere — no other files needed.