2026-05-07 · 7 min read
How to Split a PDF: Extract Specific Pages or Ranges
Splitting a PDF is the inverse of merging, and there are surprisingly many situations where you need it. You want to send your dentist just page 4 of a 12-page insurance form. Your bank statement has six months in one file and the only one your landlord wants is March. The 80-page annual report is too big to email — chop it into chapters. Below are five ways to do it and a few non-obvious tips.
What “splitting” usually means
Splitting is overloaded. People mean at least four different things:
- Extract a page — pull out one page as its own file.
- Extract a range — e.g. pages 5–12 as one file.
- Split into N files — every page becomes its own PDF.
- Split at intervals — every 10 pages a new file.
Different tools handle these with different ease. Pick the one that matches your job, not just “a PDF splitter.”
Method 1 — Browser-based splitter
For one-shot splits, an in-browser tool is fastest. Drop the PDF in, pick which pages you want, download. The good ones do this without uploading anything — important if your PDF contains anything sensitive. Our PDF split tool runs entirely on-device.
Look for a tool that lets you specify ranges using a syntax like 1-3, 7, 9-12 rather than forcing you to click each page individually. For a long document, that’s the difference between five seconds and five minutes.
Method 2 — macOS Preview
Preview can split PDFs in two clean ways:
- Drag a thumbnail to your desktop. View → Thumbnails, select the page(s) you want, drag to the desktop. Preview creates a new PDF with just those pages. The original is untouched.
- Print range to PDF. File → Print → choose the page range → click the PDF dropdown in the bottom-left → Save as PDF.
Method 1 is faster and lossless. Method 2 re-renders, which can lose bookmarks and form fields, but it works for any range you can type into the Print dialog.
Method 3 — Edge or Chrome
Both browsers offer print-to-PDF with a page range, which works as a rough split:
- Open the PDF in Edge or Chrome.
- Ctrl-P → choose “Save as PDF” as destination.
- Set Pages to a custom range (e.g.
5-12). - Save.
Same caveats as Preview’s print method — re-rendering, no bookmarks, but free and ubiquitous.
Method 4 — Command line (best for batch and scripts)
Once again, qpdf is the workhorse:
# Extract a single page qpdf input.pdf --pages input.pdf 7 -- page7.pdf # Extract a range qpdf input.pdf --pages input.pdf 5-12 -- chapter2.pdf # Multiple ranges into one file qpdf input.pdf --pages input.pdf 1-3,7,9-12 -- selected.pdf # Split every page into its own file qpdf --split-pages input.pdf out.pdf # Produces out-001.pdf, out-002.pdf, ... # Split every 10 pages qpdf --split-pages=10 input.pdf out.pdf
pdftk has similar capabilities with a slightly different syntax:
# Extract pages 5-12 pdftk input.pdf cat 5-12 output range.pdf # Burst into one file per page pdftk input.pdf burst
Method 5 — Programmatic splitting
For pipelines — say, a service that splits invoices into individual files for each customer — pypdf or pdf-lib handle it cleanly:
# Python with pypdf
from pypdf import PdfReader, PdfWriter
reader = PdfReader("statements.pdf")
for i in range(0, len(reader.pages), 4): # split every 4 pages
writer = PdfWriter()
for j in range(i, min(i + 4, len(reader.pages))):
writer.add_page(reader.pages[j])
writer.write(f"chunk_{i//4}.pdf")Splitting by content (chapter, invoice number)
Sometimes you don’t want to split by page number — you want to split each time a heading like “Invoice #” appears, or each time the PDF outline reaches a top-level entry. This is harder. Two approaches:
- Bookmark-based split. If the PDF has a proper outline, tools like PDFsam Basic offer “Split by bookmarks” out of the box — one output file per top-level bookmark.
- Text-pattern split. Extract text per page (with pdftotext or pypdf), regex-match for your delimiter, group pages, then split. About 20 lines of Python.
Things to watch out for
- Bookmarks and links. A naïve split breaks all internal links pointing outside the new range. qpdf preserves the outline subtree by default; some online tools strip bookmarks entirely.
- Form fields and signatures. Splitting a signed PDF breaks the signature — by design, since the signature covers the whole document. Sign after splitting, not before.
- Encryption. You generally need to decrypt before splitting and (optionally) re-encrypt the parts.
- Page numbering. Splitting doesn’t change visible page numbers in the document — if your PDF says “Page 12 of 80” in a footer, it’ll still say that after extraction. Page numbers are usually baked into the page content, not generated live.
- Privacy. If you split sensitive documents online, your individual pieces have all been uploaded somewhere. On-device tools avoid this entirely.
Quick decision matrix
| Situation | Best tool |
|---|---|
| Pull out one or two pages, fast | Browser splitter or Preview drag |
| Sensitive content | On-device browser tool |
| Burst into one-page files | qpdf --split-pages |
| Split at chapter bookmarks | PDFsam Basic |
| Inside automation | pypdf / pdf-lib |
After splitting, the inverse operation is sometimes still useful — if you want to reorder a few pieces and re-combine, see our guide to merging PDFs. Or get going right now with our browser-based PDF splitter — drop a file in, pick a range, get the result without uploading anything. For other PDF tasks, our full set of tools runs the same way.