Drag & drop a PDF to split
Separate pages into a new filePrivacy Secured: This utility runs 100% inside your browser. No files, logs, or values are uploaded to any server. Your information stays safe on your device.
About PDF Splitter
The PDF Splitter is a handy utility designed to extract specific pages from a PDF document and save them as a new PDF file. When dealing with heavy PDF ebooks, reports, or contract folders, you often only need a few pages. Our splitter lets you define exact page ranges to extract, processing everything locally in your browser to keep your confidential documents secure.
How it Works
Upload your PDF file. The tool parses the file to detect the total number of pages and provides a text input to enter your target page range. You can type ranges like "1-3, 5" to extract pages 1, 2, 3, and 5. When you click "Extract Pages", the browser renders the selected pages to canvases and compiles them into a new downloadable PDF file.
Key Features
- Flexible Page Selection: Extract ranges (e.g., 1-5) and single pages.
- Secure local splitting: Processes files entirely in browser memory.
- Shows Page Count: Displays the total pages of the uploaded document.
- Fast Generation: Download the split PDF in seconds.
Technical Details
The splitter uses `pdfjs-dist` and `jspdf`. The range input is parsed using regular expressions into an array of page numbers. The script then loads the source PDF, loops through the selected page indices, renders each page onto a canvas, and writes them sequentially to a new jsPDF instance, which is downloaded as a blob.