Back to HomeWeConvertFiles Guide

Extract Selected Pages Into a New PDF File

Select & Reorder

A sixty-page report contains the four pages someone actually asked for. Sending the whole thing is lazy; printing and rescanning is worse. Type the page numbers you want, something like 1,3-5, and this tool builds a new document from just those, saved as extracted-pages.pdf. A detail people miss and then find genuinely useful: the output follows the order you type, so extraction and reordering happen in the same step.

Open Extract Pages

When this is the right tool

  • Sending one section of a long report: a finance team needs pages 12 to 18, not the full document and not a note telling them where to look.
  • Isolating a form from a pack: an application bundle contains one page that needs completing, signing, and returning.
  • Building a sample: a few representative pages of a proposal or portfolio, shared with someone who does not need the whole thing.
  • Beating a size-limited upload: a portal that rejects large attachments will often accept the handful of pages that matter.
  • Reordering while you extract: putting a summary page ahead of the detail it refers to, in one operation.

How pages are copied, not redrawn

The tool uses pdf-lib, a JavaScript library that reads and writes PDF files in the browser. Your document is parsed, a new empty document is created, and for each page number you entered, in the order you entered it, the matching page is copied from the source into the new file. The new document is then written out for download.

The key word is copied. Pages are transferred as PDF pages, not redrawn as images, so selectable text stays selectable, vector diagrams stay sharp, and image quality is unchanged. Nothing about the visible content of a page is altered by extracting it, and no compression is applied. Before any copying happens, your input is validated, with page numbering starting at 1 — the first page of the document is page 1, not page 0.

The page selection rules

Accepted

  • Single pages separated by commas: 2,7,9
  • Ranges written low to high: 4-11
  • A mixture of both: 1,3-5,20
  • Spaces around commas are tolerated: 1, 3-5

Rejected

  • Blank input; you must specify something.
  • Descending ranges: 9-4 is invalid.
  • Non-integer values; decimals and text.
  • Out-of-range numbers, such as page 40 of a 30-page file.

Order: the sequence you type is the sequence you get. 10,2,6 produces a three-page document in exactly that order.

Duplicates: if you enter the same page twice, the repeat is dropped. 3,1,3 gives pages 3 and 1 — the first occurrence sets the position, and the second mention of page 3 is ignored. A page cannot appear twice in the output.

Reverse order: descending ranges are rejected, but listing numbers individually works: 9,8,7,6,5,4.

Step by step

1

Count actual positions

Identify pages by their position in the file, counting from the first page. Printed numbers often begin after a cover and contents section.

2

Enter the selection

Commas separate numbers, a hyphen makes a range: 1,3-5 gives pages 1, 3, 4, and 5. Type them in the sequence you want them.

3

Generate and check

Download extracted-pages.pdf and open it to confirm the pages are the ones you meant, in the order you meant.

Extracting versus splitting

WeConvertFiles has two tools that sound similar and suit opposite situations.

Extract Pages, this tool, is selective. You name the pages you want and receive one new PDF containing them, in your chosen order. Use it when you know which pages you need and want them together.

Split PDF is exhaustive. It produces a separate one-page file for every page in the document, delivered as a ZIP archive, with no selection. Use it when a document is really a stack of individual items, such as batched certificates or combined invoices, that each need to exist as their own file.

A quick way to decide: if you would end up deleting most of the files that Split produces, you wanted Extract.

Limitations worth knowing

  • Text is not extracted: this produces a PDF, not editable text. For wording, the PDF to Word / TXT tool extracts text from PDFs that contain it.
  • Whole pages only: you get complete pages with their surrounding text and layout, not the individual images inside them.
  • Document-level features may not transfer: bookmarks, outlines, attachments, metadata, form fields, and cross-page links live at document level and may not survive into the new file. Check any document where those matter.
  • Selection only: pages cannot be rotated, cropped, or altered here, only chosen.
  • One source at a time: one PDF in, one PDF out. To combine pages from two documents, extract from each and join the results with Merge PDF.
  • Unreadable files fail: encrypted, restricted, or damaged PDFs may not open, and long documents hold both the source and the new file in browser memory.

Privacy and data handling

File contents are processed in browser memory and are not sent to WeConvertFiles for conversion. pdf-lib is downloaded from a third-party CDN when needed, so the workflow is not described as fully offline.

Zoho PageSense may collect consented site-usage data such as visits, clicks, scrolling, referrer, device information, and conversion events. PageSense is not given the selected PDF contents.

Troubleshooting

The wrong pages came out

Almost always printed page numbers versus actual positions in the file. A page labelled "1" is often the fifth page of the document. Count from the beginning of the file.

My input was rejected

Check for a descending range like 12-8, a decimal, a page number beyond the end of the document, or an empty field. Ranges must run low to high.

A page I listed twice only appears once

Duplicates are removed by design; the output cannot contain the same page twice. To repeat a page, extract it separately and merge the results.

Links inside the extracted PDF no longer work

Cross-page links point to pages that may not exist in the new document, and document-level structures do not always transfer. Keep the original for anything link-dependent.

The PDF will not load

It may be password-protected, use unsupported encryption, or be damaged. Confirm it opens normally in a PDF viewer, and remove any password first.

Frequently asked questions

How do I extract pages in reverse order?

List them individually in the order you want, such as 8,7,6,5. Descending ranges like 8-5 are rejected, but nothing stops you typing the numbers out in descending sequence.

Does extracting reduce quality?

No. Pages are copied as PDF pages rather than redrawn, so text stays as text and images keep their original data. The extracted pages are visually identical to the originals.

Can I pull pages from two different PDFs into one file?

Not in a single step. Extract from each document separately, then combine the two results using Merge PDF.

Will the new PDF renumber its pages?

The document's internal page order restarts at 1, but any page numbers printed on the pages themselves are part of the page artwork and stay as they were. An extracted page 12 still shows "12" printed on it.

What if I want every page except a few?

Listing dozens of numbers to exclude three is tedious. The Remove Pages tool is designed for exactly that: you name what goes, and everything else stays.

Can I extract a single page?

Yes. Enter just that number, and the result is a one-page PDF named extracted-pages.pdf.

Related tools

Remove Pages

The inverse approach, better when you want to keep most of a document and drop a few pages.

Split PDF

Produce one file per page when a document is a stack of separate items rather than one you want to sample from.

Merge PDF

Combine extracted sets from different source documents into a single file.

Related guides

Merge PDF Guide

Combine multiple PDF files into one document in the order you choose.

Compress PDF Guide

Create a rasterized PDF copy using selectable JPEG quality levels.

Split PDF Guide

Separate every page of a PDF into individual PDF files bundled in a ZIP.

Pull out exactly the pages you need

Type a selection like 1,3-5, keep your chosen order, and download extracted-pages.pdf with the source document left untouched.

Use Extract Pages