DEV Community

Cover image for How to Split a PDF and Keep Only the Pages You Need
Tehseen Shahzad
Tehseen Shahzad

Posted on

How to Split a PDF and Keep Only the Pages You Need

Last month someone sent me a 200-page PDF. A whole handbook. And all I needed was three pages from the middle of it — for a form.

My first instinct was the usual one: open the PDF, screenshot the three pages, paste them into a new document. It works, sort of. But screenshots are blurry, the text is no longer text, and the whole thing looks like a photocopy of a photocopy.

There is a much simpler way. You split the PDF. You tell the tool which pages you want, and it hands you back just those pages — as a real PDF, text and all.

The only thing you need to know: page ranges

Splitting a PDF sounds technical. It is not. It is one text box, and you type the pages you want.

The format is exactly what you would expect:

  • 1-3 — pages 1, 2 and 3
  • 5 — just page 5, on its own
  • 1-3, 5, 8-10 — three separate chunks in one go

Each range becomes its own output file. So if I type 1-3, 5, 8-10, I get three files: one with pages 1–3, one with page 5, and one with pages 8–10. That is the whole trick. No page-by-page clicking, no dragging thumbnails around.

Page ranges: type 1-3, 5, 8-10 to pull out exactly the pages you need

One ZIP, or separate files — pick before you download

After you type the ranges, there is one choice to make, and it depends on what you are doing with the pages:

  • One ZIP file (the default) — all the ranges packed into a single download. I use this when I am splitting for myself, or sending everything to one person.
  • Separate PDFs — each range downloads as its own PDF. I use this when the pages are going to different people, or different forms.

Output choice: one ZIP file, or each range as its own PDF

I have made the wrong choice here before — downloaded a ZIP when I needed separate files, then unzipped and re-attached everything by hand. Ten seconds of thinking first saves that.

Does splitting hurt quality?

This is the question I get asked most, and the answer is simple: no.

Splitting does not re-render anything. The pages are copied from the original PDF into the new files, exactly as they were. Same text, same images, same quality. It is not like compressing, where something has to give. A split page is the same page.

That is also why splitting is my first step when a PDF is too big to do anything else with. Split out the part you need, then work on that small file instead of wrestling with the whole 200 pages.

How I do it now (takes about a minute)

I use the free tool I built for this, because it runs entirely in the browser — the file never uploads anywhere, which matters when the PDF is someone's contract or application form:

  1. Open Split PDF and drop in the PDF (one file at a time).
  2. Type the pages you need, like 1-3, 5, 8-10. One page only? Just type its number, like 5.
  3. Pick ZIP or separate PDFs, then download.

No signup, no upload, no watermark. The pages come back as real PDFs — text still selectable, nothing re-rendered.

Two related tools if the job is slightly different: Extract PDF Pages when you want pages out without thinking in ranges, and Delete PDF Pages when it is easier to say which pages to remove than which to keep.

The 10-second check

Before you send the split file anywhere, open it and check two things: the first page is the page you expected, and the last page is too. Page ranges are easy to mistype — 8-10 when you meant 8-11 — and the file will look perfectly fine while quietly missing a page. That one glance catches it.

One more thing: if the PDF is password-protected, split it after unlocking it first — browser tools cannot open a locked file. Keep the original safe, and work on a copy.


That is the whole method: type the ranges, pick ZIP or separate files, download. A 200-page PDF becomes the three pages you actually needed, and nothing about those pages changes.

When did you last need just a few pages out of a big PDF — and what did you end up doing with them?

Top comments (0)