Document splitting
File Upload:
You can upload a PDF file by dragging and dropping it onto the upload area or clicking to select a file.
The system accepts PDF files up to 50MB in size.
Once a file is uploaded, it will be processed and displayed in the PDF viewer.
PDF Viewer:
The left side of the screen displays the uploaded PDF document.
You can navigate through the pages using the viewer controls.
Splitting Controls:
On the right side, you'll find two tabs: "Split by Range" and "Extract Pages".
Split by Range:
In this tab, you can define page ranges to split the PDF.
For each range, enter the "From" and "To" page numbers.
Click the green save icon to split and download that specific range as a new PDF.
Click the red delete icon to remove a range.
Use the "Add Range" button to add more ranges.
The "Save" button at the bottom will process all defined ranges and generate separate PDFs for each range.
Extract Pages:
In this tab, you can enter specific page numbers or ranges to extract.
Use comma-separated values and hyphens for ranges (e.g., "1-3, 5, 8-10").
Click the "Extract" button to process your selection and download the extracted pages as a new PDF.
Back Button:
Clicking the "Back" button at the bottom will reset the interface, allowing you to upload a new PDF.
Backend Processes:
When you upload a file, it's temporarily stored in the browser for processing.
The PDF splitting and extraction operations are performed client-side using the pdf-lib library.
When you split or extract pages, the system creates new PDF documents containing only the specified pages.
The resulting PDFs are generated in the browser and immediately prompted for download.
No data is sent to or stored on the server during these operations, ensuring privacy and quick processing.
Last updated