inyourbrowser.com

Delete PDF Pages

Delete PDF pages is a PDF tool that removes selected pages from a document and exports the trimmed result. It renders every page as a thumbnail, accepts comma-and-dash page ranges, and previews the kept-versus-removed count before download. The tool runs in your browser.

Drop a PDF here or click to browse

How to delete pages from a PDF

  1. Drop your PDF into the tool, a thumbnail of every page renders automatically.
  2. Click each page you want to remove, a red X appears to confirm. Or type a range like 2-5, 8.
  3. Review the count of pages kept versus pages marked.
  4. Click Download to save the trimmed PDF. The new file contains only the pages you kept; the removed pages' text, images, and form values are not in it.

Common uses

  • Cleaning up scans that include extra blank pages or separator sheets. Rotate PDF first if any pages were scanned sideways.
  • Trimming cover pages, ads, or appendices from a downloaded document before sharing.
  • Removing draft or revision pages from a report. Reorder remaining pages if you also need to change the sequence.
  • Removing an out-of-date page from a document before re-sending, then re-stamp page numbers on the trimmed file.

Technical specification

  • Algorithm or formula: Constructive page filtering using pdf-lib: the tool builds a fresh PDFDocument and copies only the pages whose 1-based index is not in the deletion set. References from kept pages to removed ones (a table-of-contents link, a form field spanning pages, a shared resource dictionary) are cut, so the removed pages' content is not carried along, and the result is saved with only the objects it uses.
  • Browser API or library: pdf-lib for PDF write; pdfjs-dist for thumbnail rendering. Drag-and-drop via standard File API and Blob download.
  • Input limits: PDF up to 100 MB. No page-count cap beyond browser memory.
  • Output: Trimmed PDF (application/pdf) containing only the kept pages in their original order, downloaded via Blob URL. Links between kept pages keep working, and hidden layers stay hidden. The file has empty document properties and a new random file ID; comment authors and dates, page-level XMP, and application data are removed.
  • Known limitations: Links to deleted pages are removed. Bookmarks are not carried over. Form fields keep their values, but the new file has no document-level form, so viewers may no longer let you fill them in. On the kept pages, comment text, form values, attachments, and hidden-layer content stay in the file. In the rare case that kept and deleted pages share one resource dictionary and a kept page's content cannot be decoded, images and fonts only the deleted pages used stay in that dictionary, unseen but readable by a PDF inspection tool.

Frequently asked questions

How do I select pages to delete from a PDF?
Two ways: click any page thumbnail to mark it for deletion, or type a comma-separated range into the input (for example, 2-5, 8 marks pages 2, 3, 4, 5, and 8). Typing a range replaces the current marks; you can then click thumbnails to add or remove pages. Nothing is committed until you click Download, and all processing runs in your browser using pdf-lib.
Is my PDF uploaded to a server?
All page removal runs in your browser using pdf-lib. Our servers are not involved at any point.
Can I undo a deletion before saving?
Yes. Click a marked thumbnail again to keep it, or use Clear marks. Nothing is committed until you click Download.
Will the remaining pages keep their content and order?
Yes. Kept pages are copied to a new PDF in their original order with their text, images, and formatting unchanged, and links between kept pages keep working. Bookmarks are not carried over, and the new file starts with empty document properties (title, author, dates).

Related tools

Split PDF
Extract specific pages or page ranges from any PDF. Download the result instantly.
Reorder PDF pages
Drag PDF pages into any order and download the rearranged PDF. Runs in your browser.
PDF watermark
Add a diagonal text watermark to every page of a PDF. Control opacity, size, and colour.
Edit PDF metadata
View, edit, or strip the title, author, subject, dates, and creator embedded in a PDF. Runs in your browser.

Reviewed and tested September 30, 2026.