How to remove duplicate pages from a pdf document
- Step 1Find the duplicates and note the copy to delete — Open the PDF in thumbnail view. Visually identical thumbnails are your candidates. Decide which copy to keep — usually the earlier one — and record the page number of the later copy you'll delete. For a duplicated section, note its full range.
- Step 2Drop the PDF into the tool — Load the file into PDF Delete Pages. The header shows the page count read locally. Nothing is uploaded — useful when the document was assembled from several confidential sources.
- Step 3Enter the duplicate page numbers — Type the numbers of the copies to remove:
23, 24for two single duplicates, or23-28for a repeated section. You can combine:12, 23-28, 40. Order and duplicates in your entry don't matter — the tool sorts and de-duplicates the list. - Step 4Mind the counting when deleting many at once — All your numbers refer to the original page positions — they're applied together, so you don't have to adjust for pages already removed earlier in the list. Just read the page numbers off the original document's thumbnails.
- Step 5Click Process and check the count — Press Process. The result panel shows the input page count; subtract the number of duplicates you removed to confirm. If the drop is smaller than expected, you likely listed an out-of-range number that was ignored.
- Step 6Download and spot-check the kept copy — Open the
*.delete-pages.pdfand confirm exactly one copy of each formerly-duplicated page remains. If you deleted the wrong copy, the original is intact on disk — re-run with the other number.
Where duplicates come from and what to delete
Identify the pattern, then list the later copy. The tool does not detect duplicates for you.
| How the duplicate appeared | Typical pattern | What to type (keep the first copy) |
|---|---|---|
| Same file added twice in a merge | The entire document repeats from a midpoint | The whole second copy's range, e.g. 21-40 |
| Same appendix pulled from two reports | A multi-page section appears twice | The later section's range, e.g. 23-28 |
| Cover page kept twice during assembly | Page 1 and, say, page 2 are identical | The second copy, e.g. 2 |
| Scanner double-fed a sheet | One page repeats immediately | The repeated page, e.g. 15 |
| Manual copy/paste of a few pages | Scattered single duplicates | Each later copy, e.g. 12, 31, 47 |
Page-number entry — quick reference
How your entry is interpreted when removing duplicate copies.
| You type | Effect | Note |
|---|---|---|
23, 24 | Removes the duplicate copies at pages 23 and 24 | Singles, comma-separated |
23-28 | Removes a repeated six-page section | Inclusive range |
12, 23-28, 40 | Removes scattered + sectioned duplicates together | Mix freely; one pass |
40, 23, 23 | Removes pages 23 and 40 | Sorted and de-duplicated automatically |
21-9999 | Removes pages 21 to the end | End clamps to the last real page |
28-23 | Removes nothing | Reversed range — write 23-28 |
Cookbook
Common deduplication jobs with the exact entries and outcomes.
An entire file merged twice
A 20-page report was added to the merge list twice, so the document is 40 pages and the second half repeats the first.
Input: merged.pdf — 40 pages (21-40 duplicate 1-20) Type: 21-40 Result: merged.delete-pages.pdf — 20 pages (the unique copy)
A duplicated appendix section
The same six-page appendix appears at 23-28 after being pulled from two source reports. Keep the first set; drop the second.
Input: combined.pdf — 50 pages (17-22 and 23-28 identical) Type: 23-28 Result: combined.delete-pages.pdf — 44 pages
A cover page that survived twice
Assembly kept the title page on both page 1 and page 2.
Input: doc.pdf — 31 pages (page 2 duplicates page 1) Type: 2 Result: doc.delete-pages.pdf — 30 pages
Scattered single duplicates in one entry
Three pages got copy/pasted and now repeat at 12, 31, and 47.
Input: doc.pdf — 60 pages
Type: 12, 31, 47
Result: doc.delete-pages.pdf — 57 pages
(one copy of each remains)Deleted the wrong copy — easy reversal
You removed the first copy (page 17) but wanted to keep it and drop the later one (page 23). Re-run on the untouched original.
Original is unchanged on disk. Re-open it, type 23 instead of 17, Process again. Result: keeps page 17, drops the page-23 duplicate.
Edge cases and what actually happens
You expected the tool to find duplicates automatically
By designThere is no content comparison or duplicate detector. The tool removes the page numbers you type. Use a viewer's thumbnail panel to spot identical pages, then enter the numbers of the copies you want gone.
Pages look identical but aren't
Verify requiredTwo pages can share a layout but differ in one figure or a date. The tool can't tell them apart — it deletes exactly what you list. When two pages are 'almost' the same, open both at full size before deciding which to delete; the original stays on disk if you guess wrong.
Off-by-one when picking which copy to keep
Verify requiredDelete the later copy and keep the earlier one, so the numbers before your kept page don't shift. If you instead delete the earlier copy, the document still has one copy left — just verify the output to be sure you kept the version you wanted.
Out-of-range duplicate number ignored
No pages matchedIf a number you typed exceeds the page count, it's skipped silently. A duplicate you meant to remove will remain. Confirm the output page count dropped by exactly the number of copies you intended to delete.
Reversed range removes nothing
No pages matchedA range like 28-23 is empty, so the duplicated section survives unchanged. Always write the smaller page first: 23-28.
The box was left empty
errorAn empty entry, or one with only invalid numbers, stops with 'Enter at least one page number to delete.' rather than producing an unchanged copy. Enter the duplicate numbers and run again.
Bookmarks point at a removed duplicate
Not remappedDeleting duplicate pages doesn't rewrite the outline. A bookmark that targeted the deleted copy becomes dangling, and bookmarks after it may shift. For documents that rely on bookmarks, repair the outline afterward in a desktop editor.
File over the free size or page limit
blockedFree allows up to 2 MB and 50 pages — and merged documents are often the ones that breach both. The block message names the limit; Pro raises it to 50 MB / 500 pages, with higher tiers above.
You'd be deleting more than half the document
Use a sibling toolIf a whole second copy makes deletion a long list, consider PDF Extract Pages to keep just the unique first copy (e.g. 1-20), which is shorter to type than the duplicate range.
Frequently asked questions
How do I spot duplicate pages in a large PDF?
Use the thumbnail/page-panel view in your PDF viewer. Duplicate pages render as visually identical tiles, so a side-by-side scroll surfaces them quickly. Note the page numbers of the copies you want to delete (usually the later ones), then type them into the tool. There's no automatic detector — you identify the duplicates, the tool removes them.
Can the tool detect duplicate pages for me?
No. It deletes the page numbers you type — there's no content hashing or thumbnail comparison built in. You decide which pages are duplicates and which copy to keep. This keeps you in control: an automated guess could delete a page that merely looks similar but differs in one important detail.
Which copy should I delete — the first or the second?
Usually delete the later copy and keep the earlier one. That way the pages before your kept copy don't shift position. Either choice leaves a single copy, so it mainly affects how the surrounding numbering reads. Whatever you choose, verify the output.
How do I remove a whole duplicated section at once?
Use a range. If the same appendix repeats at pages 23-28, type 23-28 and all six duplicate pages go in one pass. You can combine a section with scattered single duplicates: 12, 23-28, 40.
If I delete several duplicates at once, do the page numbers shift mid-operation?
No. Every number you enter refers to the original document's page positions, and they're all applied together in a single rebuild. So you read the numbers straight off the original thumbnails — you don't need to mentally re-number after each deletion.
What if I delete the wrong copy?
Your original file is never modified, so just re-open it and run again with the other page number. Because the output is a separate *.delete-pages.pdf, the source is always available to redo the operation correctly.
Will deduplicating re-render or shrink the kept pages?
No. The remaining pages are copied across exactly — same text, fonts, vectors, and images, still selectable. The file isn't recompressed; only the duplicate pages are removed, which naturally reduces the page count and usually the size.
Is the document uploaded anywhere?
No. Page counting and the rebuild happen in your browser via pdf-lib. Documents assembled from multiple (possibly confidential) sources never leave your device; only an anonymous run counter is recorded when you're signed in.
Why didn't the page count drop as much as I expected?
Most likely one of your numbers was out of range and was silently ignored, or you typed a reversed range (like 28-23) that matched nothing. Re-check your entry against the page count shown in the header, and confirm the output dropped by exactly the number of duplicates you listed.
Do bookmarks survive deduplication?
Page content is preserved, but the document outline isn't remapped, so a bookmark pointing at a deleted duplicate becomes dangling and later bookmarks can shift. For most documents this is cosmetic; if bookmarks matter, fix the outline in a full PDF editor afterward.
What if the whole second half of the file is a duplicate?
You can delete the duplicate range (e.g. 21-40 of a 40-page file), or — often shorter to type — keep only the unique copy with PDF Extract Pages by entering 1-20. Both give you the deduplicated document.
How large a merged PDF can I deduplicate for free?
Free handles up to 2 MB and 50 pages. Merged documents frequently exceed both because they combine several sources. If you're blocked, the message names the limit; Pro raises it to 50 MB / 500 pages, and Pro + Media to 500 MB / 2,000 pages.
Privacy first
All PDF processing runs locally in your browser using PDF-lib and pdf.js. No file is ever uploaded — only metadata counters are saved for signed-in dashboard stats.