toolgarden.xyz
中文
extract PDF pagesPDF page rangePDF tools

How to Extract Selected Pages from a PDF: Syntax, Order, and Checks

Want to save just a few pages of a PDF as a new file? Learn the page syntax, how order and duplicates are handled, what to check afterwards, and when to use extract, split, or organize.

ToolGarden tools prioritize browser-local processing, so files and text do not need to be uploaded to a server.

Published July 2, 2026Updated October 14, 202610 min readBy ToolGarden

You have an 80-page contract and the other side only needs page 1, the signature page at 12, and the attachment on pages 40 to 43. Or a scanned bundle where only page 5 is the proof you must submit. You should not have to send the whole file, or install desktop software: extract the pages you need into a new PDF. This article shows how with ToolGarden's Extract Pages tool, what its rules are, where people go wrong, and how to check the result. Everything runs locally in your browser and the file is not uploaded.

What extracting pages is for

Extracting means picking the pages you name from the source file and copying them into a brand-new PDF document that you then save. The source stays untouched; you get a new file containing only those pages. Typical uses:

  • Submitting only the pages a contract or application asks for, so the rest is not disclosed.
  • Pulling one chapter out of a long report for a colleague.
  • Taking one certificate or one invoice out of a scanned bundle.
  • Isolating the signature page so someone can print, sign, and scan it back.
  • Preparing material for another step, such as extracting 3 pages and then exporting them as images.

If you need several different files at once, use split. If you also need to reorder, duplicate a page, or delete a few, use Organize PDF. The comparison table below spells out the differences.

Steps: the full procedure

  1. Open the Extract Pages tool and click the upload area or drop a PDF on it. The tool reads the file and shows its size and page count.
  2. The page input is pre-filled with an example (for documents longer than 2 pages, 1,3-last). Replace it with the pages you want.
  3. Click Extract pages. The right side shows a summary (page count, size, time) and a preview of the extracted PDF.
  4. Flip through the preview to confirm the content, then download. The output file is named original-name-extracted.pdf.

Page syntax: rules and examples

The input accepts three building blocks: single pages, hyphenated ranges, and commas that join them. Full-width commas and enumeration commas used in Chinese text are treated as ordinary commas, so a pasted "1,3、5-7" still works.

InputPages extracted (in output order)Output pages
551
1,3,51, 3, 53
5-85, 6, 7, 84
1,3,5-71, 3, 5, 6, 75
7,2,57, 2, 5 (typed order is kept)3
1-3,2-41, 2, 3, 4 (the repeated 2 and 3 appear once)4
12-10Invalid: rejected as a bad range—
0 or 100 (in a 48-page file)Invalid: outside 1-48—

Three rules follow from this, and they are the key to understanding the tool:

  • Page numbers are 1-based physical positions, meaning the Nth page in the file, not the number printed on the page. In scans and in books with a cover and contents, the printed number and the physical position often differ by several pages.
  • Output order equals input order. Type 7,2,5 and the first page of the new file is the original page 7. That doubles as a quick reorder, but if you want original order, write the numbers ascending.
  • A repeated page number is kept only at its first position. If you need the same page twice, Extract Pages cannot do it; use Organize PDF, which can duplicate pages.

Example 1: three parts from an 80-page contract

A contract needs to be submitted with the cover (page 1), the signature page (page 12), and attachment 3 (pages 40 to 43). The input:

Page input: 1,12,40-43

Result:
  output page 1    <-  original page 1 (cover)
  output page 2    <-  original page 12 (signature page)
  output pages 3-6 <-  original pages 40-43 (attachment 3)
  6 pages total, file name: contract-extracted.pdf

In the preview, go to output page 2 and confirm it is the signature page, then look at the top of page 3 for the attachment 3 heading. If the heading is a page off, you typed printed page numbers instead of physical positions. Go back to your reader and recheck using its "page N of total" figure.

Example 2: printed numbers and physical positions disagree

This is the most common source of mistakes. Take a 200-page scanned manual with a 1-page cover and 3 pages of contents, after which the body starts at printed page 1. You want "body pages 25 to 30". The physical positions to type are 25 + 4 = 29 to 34.

SectionPhysical positionPrinted number
Cover1none
Contents2-4i - iii
Body page 151
Body page 252925
Body page 303430

The conversion is simple: physical position = printed number + number of front pages. Readers display it differently, but most show something like "4 / 204" at the bottom or in the page box, and the first number is the physical position.

Advanced use: deleting and reversing with Extract Pages

Extract Pages has no delete button, but listing the pages to keep amounts to deleting the rest. To drop pages 3 and 8 from a 10-page file, type 1-2,4-7,9-10 and you get 8 pages. A quick check: 2 + 4 + 2 = 8, which should match the count in the preview.

Because output order follows input order, you can also do simple reordering. To reverse a 5-page file, type 5,4,3,2,1. It cannot be written as 5-1, since ranges must go low to high, so each page is typed on its own. To bring the last page to the front, write 5,1-4. With many pages this gets long, and the drag interface in Organize PDF is a better fit.

Extract, split, or organize: which one?

NeedToolWhy
A few pages saved as one fileExtract PagesOne step, one PDF out, with a preview
Cut into several files by sectionSplit PDFSeveral PDFs at once, bundled as a ZIP
Every page as its own fileSplit PDF (Split every page)Generated automatically per page
Reorder, duplicate pages, delete a fewOrganize PDFVisual page management, supports duplication, one-click restore of the original order
Delete a few pages and keep the restOrganize PDF or Extract PagesFor long files, deleting is easier in Organize; in Extract you must list every page to keep
Pages for chat or a documentExtract, then PDF to ImageNarrow the range first, then export PNG or JPG for smaller files

"Delete a few pages" deserves its own note. Extract Pages has no delete concept; you list the pages to keep. When you keep far more than you drop, typing the page list is tedious, and a few clicks on delete buttons in Organize PDF is faster. In the opposite case, keeping very few pages, extraction is quicker.

Checks to run after extraction

  1. Page count: the summary should match what you expect. Input 1,12,40-43 should give 6 pages, not 7 or 5.
  2. First and last page: confirm in the preview that they are the content you wanted.
  3. Orientation and size: page orientation and dimensions come across as they were; mixed landscape and portrait pages stay mixed.
  4. Sensitive content: the new file only contains the pages you chose, but those pages are kept whole. Names, amounts, and ID numbers on them are not hidden. If something must be covered, handle it first in Edit PDF and verify that the text can no longer be selected and copied.
  5. Document properties: the new document is created fresh, so the original's bookmarks, form fields, and title or author metadata are not carried over automatically.

Common problems and diagnosis

SymptomCauseFix
Message asking you to enter pagesThe input box is emptyType pages such as 1,3,5-7
Message: page not recognizedThe input has letters or other symbols, like 3 to 5 or p3Use digits, commas, and hyphens only
Message: page N is outside 1-MPage number is above the total or is 0Use the page count shown under the file name
Message: could not be read; may be damaged or encryptedThe file has an open password or is damagedDecrypt it first in the PDF Encrypt / Decrypt tool
Everything is off by a few pagesPrinted numbers confused with physical positionsConvert: front pages + printed number
A page you wanted twice appears onceRepeated numbers are kept onceUse Organize PDF and duplicate the page
Form can no longer be filled after extractingForm field definitions are not copied with pagesFlatten the form to PDF first, or re-add fields afterwards

When not to use Extract Pages

  • As a redaction method: it keeps unwanted pages out of the new file, but does nothing about sensitive content on the pages you keep.
  • On a file with a valid digital signature: extraction produces a new file and the signature stops being valid. If the recipient must verify it, send the original.
  • When you must keep bookmarks, fillable forms, or accessibility tags: those document-level structures are not carried over.
  • When you need the same page several times or a different order: extraction de-duplicates, and Organize PDF is the better fit.
  • When the file has an open password: decrypt first, extract, and re-encrypt afterwards if needed.

Privacy

Extraction takes place entirely in your browser: the file is read into memory, the chosen pages are copied into a new document, and the result is offered as a local download. No request carrying the file contents is made during processing, and you can verify that in the developer tools Network panel. For contracts, IDs, and medical records, extracting locally is far safer than uploading to a site first.

Frequently asked questions

Q.How do I write the pages to extract?

Use digits, hyphens, and commas, so 1,3,5-7 means pages 1, 3, 5, 6, and 7. Numbers are physical positions in the file, and ranges must go low to high. Full-width commas are recognized too.

Q.Can I change the order of extracted pages?

The output follows your input order, so 7,2,5 puts original page 7 first. For heavier reordering, duplication, or deletion, use Organize PDF.

Q.Can the same page be extracted twice?

No. A repeated page number is kept only at its first position. To get a page twice, use the duplicate function in Organize PDF.

Q.Does extraction change my original file?

No. The tool reads the original and builds a brand-new PDF, leaving the source unchanged. The output is named original-name-extracted.pdf.

Q.Does extraction keep bookmarks and forms?

Not automatically. Pages are copied into a new document, so page content stays, but bookmarks, form field definitions, and document properties are document-level structures and are not carried over.

Q.Does the tool upload my file?

No. Reading the file and generating the new PDF both happen in your browser, and nothing is sent to a server.