Delete Pages from PDF
Pick the pages you don't want and save the PDF without them. The file stays on your device.
https://flxcode.com/delete-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. Every page gets a row with its number and size.
- Tick the pages to remove, or type a range such as 3, 7-8 and press Select these. Press Delete, or use the Delete button on a single row.
- Check the page count, then press "Delete selected pages and save". pages-removed.pdf downloads.
Worked example: deleting pages 3, 7 and 8 from 12
The file keeps 9 pages in their old order, so every page after a deleted one moves up. The table shows where each old page ends up.
| Old page numbers | New page numbers |
|---|---|
| 1-2 | 1-2 |
| 3 | deleted |
| 4-6 | 3-5 |
| 7-8 | deleted |
| 9-12 | 6-9 |
A reference to "page 9" in an email or a table of contents now points to what was page 12. Check numbered references after you delete.
Worked example: what is left
How many pages stay for a few common jobs.
| Job | Pages in | Pages deleted | Pages out |
|---|---|---|---|
| Remove the cover page | 24 | 1 | 23 |
| Remove blank pages 2, 4 and 6 of a scan | 8 | 3 | 5 |
| Keep only page 1 of 5 | 5 | 4 | 1 |
| Delete every page | 3 | 3 | not possible, a PDF needs one page |
Numbers this uses
- Page numbers start at 1 and count the pages as they are now, after any earlier deletion or move.
- A PDF needs at least one page, so the last remaining page can't be deleted.
- Output name: always pages-removed.pdf. Up to 200 MB for the input file.
- Undo all changes puts every page back, as long as you haven't started over or chosen another file.
What happens to your file
The PDF is read in this tab and its pages listed. When you save, a new document is built from the pages you kept, in the order you see. The deleted pages are not copied into it, so their text and images are not in the new file. Your original on disk is untouched.
Deleting a page to hide private data is a real use of this tool. It is also a reason to keep the file local: the page with the data never passes through someone else's server.
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.
Before you save
- Numbers in the rest of the document, such as "see page 9" or a printed table of contents, don't change. Check them.
- Bookmarks, form fields and links to other pages may not carry over. A signature on the original is no longer valid.
- The same list lets you move pages with the arrows or by dragging and turn them, so you can fix the order in one pass.
FAQ
How do I delete a page from a PDF?
Choose the file, press Delete on the page you want gone, then press "Delete selected pages and save". The new PDF has the other pages in their old order.
How do I delete several pages at once?
Tick them, or type a range such as 3, 7-8 in the box and press Select these. The count shows how many are selected. Then press Delete. This works for a mix of single pages and ranges.
Can I undo a deletion?
Yes, until you save or start over. Undo all changes brings every page back in its first order. Nothing happens to your original file either way.
Are the deleted pages really gone from the file?
The new file is built from the pages you kept only. The deleted pages' text and pictures are not copied into it. If you need proof, open the new file in a PDF reader and search for a word that was on a deleted page.
Does deleting pages make the PDF smaller?
Usually yes, because images and fonts used only on the deleted pages are not copied. A file with one big image per page shrinks about in step with the page count.
Can I delete all the pages except one?
Yes. Select the pages you want to drop, but leave one. A PDF with no pages can't exist, so the last page can't be deleted. To keep a single page as its own file, use Split PDF.
Why does a password-protected PDF not open?
The page can't read a protected file and says so. Open it in a PDF reader with the password, print it to a new PDF, and use that copy.
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.
Rotate PDFNew
Rotate PDF pages by 90, 180 or 270 degrees and save the 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.