How to use the Delete Pages from PDF
- Select or drag a PDF document up to 25 MB into the upload area.
- Mark the pages you want to remove: click individual page cards, use quick filters (Delete Odds, Delete Evens), or type page numbers/ranges (such as 2, 4-6).
- Verify the selection count: the tool confirms how many pages will be removed and how many will remain in your revised document.
- Click Remove Pages & Download PDF. Page deletion executes in a dedicated client-side Web Worker without freezing your browser.
- Download your revised PDF document immediately with original text, fonts, vector paths, and page dimensions preserved.
How it works
The Delete PDF Pages tool selectively eliminates unwanted pages from your document while leaving the remaining pages in their exact original order. When you select pages to delete, the tool parses the document's cross-reference table and reconstructs the page tree.
Instead of rasterizing pages to images or recreating page layouts from scratch, pdf-lib clones the underlying content streams, font dictionaries, embedded vector graphics, and page geometry (including mixed A4, Letter, and landscape dimensions) losslessly into a clean PDF catalog.
Because processing runs entirely within a sandboxed Web Worker on your device, your private files and confidential business reports are never transmitted over the internet or uploaded to remote servers.
Worked example: removing blank separator pages and duplicate covers from a 12-page presentation
A 12-page project slide deck (2.1 MB) contained two unwanted blank divider pages (pages 4 and 8) and an outdated appendix cover (page 11).
By entering '4, 8, 11' into the deletion range field, the 3 unwanted pages were marked for removal and eliminated. The tool generated a revised 9-page PDF (1.6 MB) in under a second with zero visual degradation.
| Source Document | Revised Output |
|---|---|
| 12-page Presentation (2.1 MB) | Revised PDF: 9 pages (1.6 MB) |
| Removed pages: 4, 8, 11 (3 pages) | Preserved original sequence of remaining pages |
| Vector crispness: 100% retained | Zero server uploads; instant local download |
Limitations
- Cannot delete all pages: A valid PDF document must retain at least one page. The tool prevents deleting every page.
- Password-protected PDFs cannot be modified. Remove the password in your PDF reader before deleting pages.
- Resource limits: Processing is bounded to 25 MB per file, 1,000 pages per document, and up to 500 total copied pages to protect device memory.
- Interactive form fields (/AcroForm): Form interactivity is removed. Field appearances are retained only if the source document includes pre-rendered appearance streams.
- Digital signatures are invalidated because modifying document structure alters cryptographic hashes by design.
- Document bookmarks and outlines are omitted to avoid broken pointers to deleted pages.
Frequently asked questions
Can I delete non-consecutive pages from a PDF?
Yes. You can select any combination of non-consecutive pages (for example, pages 2, 5, and 8) by clicking individual cards or typing comma-separated numbers in the input box. The remaining pages stay in their original numerical order.
Can I delete all pages from a PDF?
No. A valid PDF file must contain at least one page. The tool disables the deletion action if all pages are marked, ensuring you never generate an invalid or unopenable document.
What is the difference between deleting pages and splitting a PDF?
Deleting pages removes selected pages and keeps all remaining pages together in a single continuous PDF file. Splitting breaks a document into multiple separate PDF files or divides it into individual single-page files.
Will deleting pages reduce the PDF file size?
Yes. Content streams, fonts, and images associated exclusively with the removed pages are omitted from the new file, typically resulting in a smaller document.
Will my text remain sharp and selectable?
Yes. Page deletion clones the original vector data and embedded fonts without rasterizing or recompressing them, so text remains crisp, scalable, and searchable.
Are my documents uploaded to your servers?
No. All PDF inspection, page cloning, and file generation take place entirely inside your browser's local memory sandbox. Your document never leaves your device.