PDF Guides
2 min read

Published November 9, 2026

Deleting PDF Page Ranges: Syntax and Edge Cases

Use comma-separated pages and inclusive ranges to remove several sections at once, with notes on reversed ranges and out-of-bounds numbers.

The accepted syntax

Enter individual pages and ranges separated by commas, for example 1, 4-6, 12. Each item is inclusive, so 4-6 removes pages four, five, and six.

Whitespace around items is ignored, and duplicate selections collapse into one, so 3, 3-4 removes pages three and four once.

Reversed and oversized ranges

A range written as 9-6 is treated as 6-9 rather than rejected. That forgiving behavior is useful when you are reading page numbers off a document quickly.

Numbers beyond the last page are clamped to the document length, and page zero is ignored because PDF pages start at one.

Planning before deleting

Write the removal list against the original document, not against the document you are building. Mixing the two is the most common way to delete the wrong section.

For a long appendix, identify the first and last page by content as well as by number. Page numbers printed on the page may differ from the viewer’s page counter if the document starts with unnumbered front matter.

Removing several blocks

A single run can remove a cover, an internal memo, and an appendix at once: 1, 3-4, 20-24. The remaining content keeps its original relative order.

If two removals are separated by content you want to keep, list them as separate ranges rather than one wide span.

After the run

Check the page count and the joins around every removed block. Then scan the table of contents for references to sections that no longer exist.

Keep the edit list with the file if the document will be revised again; it documents exactly what was taken out.

Ranges that overlap or run backwards

The selection field accepts single pages and ranges, separated by commas, such as 4, 9-12, 15. Reversed ranges are normalised, so 12-9 is treated as 9-12, and overlapping entries are collapsed, so 3 and 2-4 remove pages two, three, and four exactly once. Numbers beyond the document length are ignored instead of causing an error.

That behaviour makes it safe to paste a messy list and let the tool sort it out. It also means an accidental range like 1-100 on a twenty-page document will remove every page. When the selection covers most of the document, check the remaining page count before running, because deleting almost everything is usually a sign that the list was malformed.

Next steps

Start with Delete PDF Pages to put this guide into practice, then browse the blog for more pdf guides.