Extract Pages From PDF
How to extract pages from a PDF
- Drop your PDF in the box above or click to browse. One file at a time.
- Click the thumbnails you want, or type pages in Pages to extract, for example
1-3, 5, 8-. The two stay in step. - Pages come out in the order you type them. Tick Skip repeated pages to keep a page typed twice only once.
- Click Extract pages.
- Download the new PDF, named after your file and pages, such as
report_pages-2_4.pdf. Click Start over to do another.
What this page extractor does
The tool opens a PDF from your disk, copies the pages you choose into a new document and offers it as a download. Your original is never touched. Pages are copied, not redrawn: we read every text-sample output back with a PDF text extractor and the right words sat on the right pages.
A grid shows thumbnails for the first 60 pages. Ticking a page fills the Pages to extract field, and typing in the field ticks the thumbnails. Later pages have no thumbnail but can be typed: 95-100 on a 100-page file gave a 6-page PDF.
Privacy test: headless Chromium, every request logged, 19 in total. Two went to Google's ad server and its tag manager, and 4 to jsDelivr for the libraries, with hash checks. None had a body, so no PDF left the page.
Picking pages and setting their order
Type pages as you would in a print dialog. 1-3, 5, 8- means pages 1 to 3, page 5 and page 8 to the end. -3 is the first three pages, and last works: 2-last gave 4 pages from a 5-page file.
The order you type is the order in the new file. 3,1,3 on a 5-page file gave 3 pages, in that order. With Skip repeated pages ticked it gave 2, page 3 then page 1. Asking for pages 2 and 4 of text-5-pages.pdf produced text-5-pages_pages-2_4.pdf.
What comes out, in numbers
The table shows real runs on the shared sample PDFs, which are generated test files, not people's documents. The new file weighs about what the kept pages weigh: page 2 of the photo-heavy sample came out at 907,542 bytes, a third of the original. Images are not recompressed, so for a result that is still too big, use the PDF compressor.
What does not come along
We built a 4-page PDF with a web link and a link to page 4 on page 1, a text field on page 2 and three bookmarks, plus a 3-page file with a title and author. We read each result back with pdf-lib, qpdf and pdftotext.
- Bookmarks: not kept.
- Title and author: dropped.
- Text field: its box stayed on the page, but the new file had no form definition and a form reader found 0 fields. We did not test other viewers.
- Links: the web link survived. The link to another page survived but pointed at no page of the new file, even when we extracted page 4 too. Expect a dead link.
Page sizes and orientation were kept.
Pages you left out can still be inside the file
This matters if you extract pages to share part of a document. In our test file, page 1 links to page 4. Extracting page 1 alone still left the words of page 4 in the file bytes, as a leftover object the link points to rather than a page. Without such a link, nothing of the dropped pages turned up: in the text and photo samples, the only page labels in the output belonged to kept pages.
For confidential pages, do not count on the tool to keep them out: inspect the kept pages for links to the others, and run the file through an editor that strips hidden data.
Limits and refusals
One PDF at a time, up to 200 MB. Password-protected files are refused, including files that open freely but carry an owner password: we tested both. Page 9 of a 5-page file, an empty field and a backwards range such as 4-2 each get a plain message, and nothing is built.
Six pages out of 100 took 0.1 s, and 60 thumbnails took about 2 s. If thumbnails fail, the typed field still works.
Which page tool do you need?
Count the files you want back. One file from chosen pages is this page. One file with pages dropped is Delete PDF pages. Many files cut by range or count is Split PDF. Straighten sideways pages first with rotate PDF, and join results later with merge PDF.
Measured extractions
| Run | Pages out | Original bytes | New file bytes | Time |
|---|---|---|---|---|
| 5-page text PDF, pages 2 and 4 | 2 | 5,696 | 2,083 | 0.2 s |
| 5-page text PDF, 3,1,3 | 3 | 5,696 | 2,096 | 0.2 s |
| 3-page photo-heavy PDF, page 2 | 1 | 2,721,154 | 907,542 | 0.1 s |
| 3-page scan, page 1 | 1 | 1,280,280 | 427,571 | 0.2 s |
| 100-page text PDF, pages 95-100 | 6 | 69,376 | 4,790 | 0.2 s |
| 100-page text PDF, pages 1-100 | 100 | 69,376 | 69,376 | 0.3 s |
Prefer desktop software?
Use a desktop program when the new file must keep bookmarks, form fields and document properties, when pages come from several PDFs, when the file tops 200 MB, or when the dropped pages must be gone for good. Look in your editor for a command that removes hidden data.
GramFile has download pages for Foxit PDF Editor and Nitro PDF Pro.
Frequently asked questions
Is my PDF uploaded to a server?
No. Your browser builds the new file. In our test the only outside traffic went to Google's ad and tag hosts and to jsDelivr for the libraries, with no PDF in it.
Can I change the page order or repeat a page?
Yes. Pages come out as typed, and a page typed twice appears twice. Tick Skip repeated pages to keep each once.
Does extracting change my original file?
No. The tool builds a separate file, and the original stays on your disk.
Why are my bookmarks, form fields and title missing?
The tool copies page content only. In our tests bookmarks, title and author were not carried over, and a form field arrived without its form definition.
Can the pages I left out still be in the new file?
Sometimes. When a kept page linked to a dropped page, the dropped page's text stayed in the file as a hidden object. For confidential pages, check the links or clean the file in a desktop editor.
Why was my PDF refused?
Password-protected files are refused, owner-password ones included. Remove the password in the program that made the file, then try again.