Extract Pages from PDF
Keep the pages you need and save them as one new PDF. You see the pages first. The file stays on your device.
https://flxcode.com/extract-pages-from-pdf/
or drop a PDF here
Up to 200 MB together. Password-protected PDFs can't be opened.
Your files never leave this device. There is no upload, no account and no watermark. How we count
Problem or idea? Email us
How to use it
- Choose a PDF. The page previews show every page with its number.
- Type the pages to keep, for example 2-4, 9. The previews outline them in blue.
- Press Extract these pages. extracted.pdf downloads with those pages, in the order you typed them.
Worked example: what you type and what you get
In a 10-page file, the pages box is read left to right. The new PDF takes the pages in that order, so you can also reorder while you extract.
| You type | Pages in the new PDF, in order | How many |
|---|---|---|
| 2-4, 9 | 2, 3, 4, 9 | 4 |
| 5, 1-2 | 5, 1, 2 | 3 |
| 1-3, 2 | 1, 2, 3, 2 | 4 |
| 8- | 8, 9, 10 | 3 |
A page named twice is copied twice. Split PDF would make one file for every part between commas; here all the parts go into one file.
Worked example: extract or delete?
Both tools give the same result. Pick the one where you type the shorter list.
| Job | Pages | Extract: type | Delete: select |
|---|---|---|---|
| Keep the first 3 of 40 | 40 | 1-3 | 37 pages (4-40) |
| Keep page 12 of 200 | 200 | 12 | 199 pages |
| Drop the cover of 24 | 24 | 2- | 1 page (1) |
| Keep 5 scattered pages of 60 | 60 | 3, 17, 18, 40, 59 | 55 pages |
Numbers this uses
- Page numbers start at 1. "5" is one page, "2-4" is pages 2 to 4, "8-" is page 8 to the end, "-3" is pages 1 to 3.
- Order: the new PDF follows what you typed. A page you name twice is copied twice.
- Output name: always extracted.pdf. Up to 200 MB for the input file.
- Pages are copied, not redrawn, so text stays text and images are not compressed again.
What happens to your file
The PDF is opened in this tab. The pages you chose are copied into a new document in memory and saved. The previews are small pictures drawn by pdf.js in the same tab. Nothing about the file is sent; pdf.js may fetch a fixed font or decoder file from this site; that request does not contain your file or its name. Your original file is not changed.
Nothing is sent anywhere. The page numbers you type are not stored or counted.
Counts of events such as "merge" or "download" are kept without cookies, and never a file name, size or page count (details). The PDF code is pdf-lib (MIT licence) and pdf.js (Apache-2.0 licence): open source used on this site.
What may not carry over
- Bookmarks, form fields and links to other pages of the original may not work in the new file. A digital signature on the original is no longer valid.
- Numbers in the text, such as "see page 9", point at the old numbering. Check them.
- To cut a file into several parts, use Split PDF. To remove a few pages instead, use Delete pages from PDF.
FAQ
How do I extract pages from a PDF?
Choose the file, type the pages you want, such as 2-4, 9, and press Extract these pages. All of them go into one new PDF called extracted.pdf.
How do I extract one page from a PDF?
Type just that number, for example 12. The new PDF has one page. The preview shows it outlined in blue before you save.
Can I change the order of the pages while I extract?
Yes. The new PDF follows the order you type. 5, 1-2 gives page 5 first, then pages 1 and 2.
What is the difference to Split PDF?
Split PDF makes a separate file for every part between commas. This page puts all the parts in one file. For separate files, use Split PDF.
Does extracting reduce the quality?
No. Pages are copied as they are. Text stays selectable and images are not compressed again. The file is smaller because the other pages are not in it.
Can I extract pages from a password-protected PDF?
No. The page tells you the file is protected. Open it in a PDF reader with the password, print it to a new PDF, and use that copy.
Is there a limit on the number of pages?
The input can be up to 200 MB. The page previews are drawn for the first 300 pages; you can still type any page number beyond that. If the browser runs out of memory it says so.
Is my PDF uploaded?
No. The page reads the file with your browser and builds the result in this tab. There is no server step. To check it, open the page, wait a second, choose a file, then switch to airplane mode and run the job. It still works. The one exception is the pdf.js reader on pages with previews, images or text: for a PDF with unusual fonts or image types it may load a fixed font or decoder file from this site first. That request does not contain your file or its name.
More from FLXCode
Split PDFNew
Split a PDF by page ranges, every N pages or one file per page. Runs in your browser, nothing is uploaded.
Delete Pages from PDFNew
Remove pages from a PDF, reorder the rest and save a new file. Runs in your browser, nothing is uploaded.
Merge PDFNew
Combine PDF files into one, in the order you choose. It runs in your browser and nothing is uploaded.
JPG to PDFNew
Turn JPG photos into one PDF, one image per page. A4, Letter or fit to image. Nothing is uploaded.