Browser-based PDF tool · PDF → PDF

Delete PDF Pages

Removes the pages you list, such as 2, 5-7, and saves the remaining pages as a new PDF.

Input

PDF files (.pdf), up to 50MB each

Drop your PDF file here or click to choose

.pdf

Files are processed on your device with nothing uploaded. Close the tab and they are gone.

Result

PDF, ready to download

Choose a file to see the result here.

Delete PDF Pages

Operator: Abdulla Al Fahad. How tools are built and checked

A blank back side from a duplex scanner, an appendix that is out of date, a page of someone else's details in a statement you need to forward: each is a reason to take pages out of a PDF without touching the rest. Delete PDF Pages does exactly that. You type the pages to remove, such as 2, 5-7, click Remove pages, and the remaining pages are saved as a new file called report-pages-removed.pdf in their original order, with their text, links, fonts and images intact.

This tool does not run on its own when a file is chosen, because deleting is not something to do by accident: nothing happens until you have typed a list and pressed the button or Enter. The summary then states which pages were removed, how many pages went in and came out, and the size before and after.

Key features

  • Removes any mix of single pages and ranges, including open-ended ones such as 12-, from one PDF.
  • Keeps the remaining pages exactly as they were: text, fonts, images, links and annotations, plus the document's title, author, subject and keywords.
  • Runs only when you click Remove pages or press Enter, never automatically on file choice.
  • Reports exactly what was removed, for example Removed pages 2-3, 5, alongside pages in, pages out and sizes.

How pages are removed

A PDF keeps its pages in a page tree, a structure that lists page objects in reading order; readers count pages by walking it. Rather than unlinking the listed pages from that tree and leaving their objects behind, this tool builds a fresh document and copies only the pages you keep into it, in their original order. Copying follows references outward from each kept page, so the fonts, images, links and annotations those pages use come along and nothing from a removed page does. Title, author, subject, keywords and creator are carried over; bookmarks and the definitions behind interactive form fields hang off the document rather than its pages, so they are not, and form fields on the kept pages are drawn as they were but may no longer be fillable.

Because the output is rebuilt from the kept pages, the file shrinks in step with what was removed: a three-page test file of 2,796 bytes came out at just over 2,100 bytes after its middle page was dropped. Split PDF's Extract a page range into one PDF mode produces the same kind of rebuilt file from the opposite direction, by naming the pages to keep rather than the pages to drop; use whichever list is shorter to type.

How it works

Clicking Remove pages first checks that the Pages to remove box is not blank, then reads the file, verifies the %PDF header and the 50MB limit, and parses it with pdf-lib using an empty password so restricted-but-openable files load. The list is parsed into unique ascending page numbers; any number outside 1 to the page count, or any token that is not a number or a range, stops the run with a message quoting the problem.

If the list would remove every page, the run stops. Otherwise the indices of the pages not on the list are collected, a new document is created, those pages are copied into it in order, and the title, author, subject, keywords and creator of the original are set on it. It is written with object streams and a fresh modification date. The result is named report-pages-removed.pdf; the summary derives pages in from the remaining count plus the removed list, and the Removed pages chip is built by collapsing consecutive numbers into spans.

Common use cases

  • Dropping the blank even pages a duplex scanner inserted after one-sided originals, listed as 2, 4, 6, 8.
  • Removing a superseded appendix from a report before it is circulated.
  • Taking a page with another account holder's details out of a joint statement before it is sent as proof of income.
  • Deleting the cover sheet from a fax-to-PDF file so the document starts at the actual letter.

How to use this tool

  1. Decide which pages go by their position in the reader, where 1 is the first page, then add the file to the upload area.
  2. Type the list in Pages to remove, for example 2, 5-7; ranges and open ends such as 12- are fine.
  3. Click Remove pages or press Enter, and read the Removed pages chip and the pages out count back against your list.
  4. Download .pdf saves report-pages-removed.pdf; the preview above the button shows the new page 1.

Example

Source and list

scan-bundle.pdf — 8 pages
(pages 2, 4, 6 and 8 are blank backs)
Pages to remove: 2, 4, 6, 8

Result

scan-bundle-pages-removed.pdf — 4 pages
New page 1 ← old page 1
New page 2 ← old page 3
New page 3 ← old page 5
New page 4 ← old page 7
Summary: 8 pages in · 4 pages out · Removed pages 2, 4, 6, 8

Tips for best results

  • Printed folio numbers often start after a cover and a contents page, so the number on a page can be two behind the number your reader shows; the tool uses the reader's count.
  • Use ranges and open ends to keep the list short: 12- removes page 12 and everything after it, and 1, 3-5, 9 mixes singles and spans.
  • Press Enter in the Pages to remove box to run without reaching for the button, and read the Removed pages chip to confirm the list was understood as you meant it.
  • The preview shows the new first page, so deleting page 1 puts the old page 2 there; it is a quick check that the right page went.

Common pitfalls

There is no blank-page detection: the tool removes exactly the positions you list, so find the blank or unwanted pages in a viewer first.

Removing every page is refused. A list that covers the whole document produces 'That would remove every page. Keep at least one.' rather than an empty file.

Page numbers refer to the file as it is now. After one deletion the pages renumber, so a second pass on the downloaded file needs the new numbers, not the ones from the original.

Common errors and how to fix them

Choose which pages to remove.
The Pages to remove box is empty. Type at least one page number or range, then click Remove pages again.
That would remove every page. Keep at least one.
Your list covers all the pages, for example 1- or all. A PDF needs at least one page, so shorten the list; if you meant to discard the document, simply delete the file.
This PDF has 8 pages, so page 9 does not exist.
A number in the list is past the last page. The message gives the true count; correct the number or use an open range such as 6- for 'to the end'.
"2;4" is not a page or a range. Use numbers like 1-3, 5, 8.
Separators other than commas are not understood, and neither are words such as 'last'. Rewrite the list with commas between entries and hyphens inside ranges.

Best practices

  • Make the list in one pass from the current file, then delete once; successive passes need renumbering and multiply the chance of taking out the wrong page.
  • There is no undo in the tool, only the untouched original on your disk; keep it until the recipient has confirmed the new file.
  • After removing a confidential page, open the result and search for a phrase from that page before sending it; the rebuilt file should return no match.

Removing pages in two passes

Every run starts from the file you chose, not from the last result, so changing the list and clicking Remove pages again applies the new list to the original. That is convenient for correcting a mistake, because nothing accumulates. It also means a true second pass needs the download: add report-pages-removed.pdf as a new file and type a new list, remembering that its pages have been renumbered. If the first pass took out pages 2 and 5 of an eight-page file, old page 7 is now page 5, and a list written against the original would remove the wrong pages.

The simplest safeguard is to write the complete list from the original in one go, which the range syntax makes easy: 2, 5, 9-11, 14- covers scattered pages and a tail in one line. Then read the Removed pages chip against it before downloading. Consecutive pages are collapsed into spans, so 2, 3, 4 shows as 2-4, and a page typed twice is counted once, so 2, 2-3 is reported as 2-3 and the pages out count drops by two, not three.

Frequently asked questions

Will the remaining pages be renumbered?

Readers always number pages by position, so after removing page 2 the old page 3 is shown as page 2. Numbers printed on the pages themselves are part of the content and do not change; add fresh ones with Add Page Numbers to PDF if needed.

Are the removed pages really gone?

Yes. The output is a new document built from the kept pages only, so a removed page's text and images are not written into it, and the file shrinks accordingly.

Can I delete pages from a password-protected PDF?

Not while it is locked. The tool reports that the file is password-protected and points to Unlock PDF; delete the pages from the unlocked copy. A PDF that opens without a password but restricts editing is accepted. A warning in the summary says that the result has no such restriction.