inyourbrowser.com

Split PDF by Page Range

Enter a page range to split out from your PDF. Type ranges like '1-5' or combine them like '1-3, 7, 9-12'. The selected pages are downloaded as a new PDF.

Drop a PDF here or click to browse

How it works

The range field accepts shorthand like '1-5' or '1-3, 7, 9-12'. The tool expands that into an ordered array of page indices and feeds it to pdf-lib's copyPages(), which clones the referenced page objects from the source document. addPage() then drops them into a new document in the exact sequence you specified, so the output respects the order you typed.

Processing runs in your browser

All processing happens inside your browser tab. pdf-lib handles everything in memory, with no network requests. You can verify this yourselfin your browser's DevTools Network tab.

Related operations

For rejoining selected pages later, try merge PDF. To export each page as an image, use PDF to image. For straightening pages before splitting, see rotate PDF.

Frequently asked questions

How do I split a PDF by page range?
Load your PDF, then type a range like '2-6' or '1, 3-5, 8' in the range field. Click Extract to download a new PDF containing only those pages.
Can I specify multiple ranges at once?
Yes. Use commas to separate ranges. For example '1-3, 6-8' gives you pages 1, 2, 3, 6, 7, and 8 in the output PDF.
Does the page order in the output match my range input?
Yes. Pages appear in the output in the order you specified in the range field.
What happens if I enter a page number that doesn't exist?
Invalid page numbers (higher than the total page count or less than 1) are silently ignored. Only valid page numbers are included in the output.
Can I use this on mobile?
Yes. Tap the upload button to select a PDF from your device. The range input and Extract button work the same on mobile and desktop.

Related tools

Merge PDF
Combine multiple PDF files into one downloadable PDF. Drag, drop, reorder. Runs in your browser.
Delete PDF pages
Remove specific pages from a PDF and download the result. Thumbnail preview included.
Reorder PDF pages
Drag PDF pages into any order and download the rearranged PDF. Runs in your browser.
Compress PDF
Reduce PDF file size in your browser. Lossless optimisation or image re-rendering.