inyourbrowser.com

Delete Pages from PDF

Type the pages you want gone as a list such as 2-5, 8, and those thumbnails are marked in red. Typing replaces the current marks, and clicking a thumbnail adds or removes a single page afterwards. Download saves a new PDF without the marked pages. All processing runs in your browser.

Drop a PDF here or click to browse

How it works

This tool uses pdf-lib, a pure JavaScript PDF library that runs entirely in your browser. Thumbnails are rendered with pdfjs-dist so you can see every page. When you download, pdf-lib creates a new document and copies only the pages you kept. References to deleted pages (links, form fields, shared resources) are cut, so their content is not carried along, and the result is saved as a fresh PDF.

Processing runs in your browser

All page removal happens locally in your browser tab. pdf-lib rebuilds the document in memory and the resulting file is downloaded directly to your device. Our servers are not involved at any point.

Frequently asked questions

How do I delete pages from a PDF?
Drop your PDF onto the upload area. Click any page thumbnail to mark it for deletion, or type a page range like 2-5, 8 in the range input. Then click Download to save the trimmed PDF.
Is my PDF uploaded to a server?
All processing runs in your browser. Pages are removed locally with pdf-lib; our servers are not involved at any point.
Can I select pages by typing a range?
Yes. The range input accepts comma-separated values and dashes, for example 2-5, 8 will mark pages 2, 3, 4, 5, and 8 for deletion. Typing a range replaces the current marks; you can then click thumbnails to add or remove pages.
What happens if I type a page that does not exist?
A range is cut to the pages the PDF has, so 3-99 on a 5-page file marks pages 3 to 5, and a range written backwards, such as 7-2, works too. A number or entry that names no page, such as 0, 99 on a short file, or 2abc, is listed below the range box after the word Ignored, so you can see it was skipped.
Will the remaining pages keep their order and content?
Yes. The pages you keep are copied to a new PDF in their original order. Page content, text, and images are preserved without re-encoding. The deleted pages' text, images, and form values are not copied, even when a kept page links to one of them; such links are removed.

Last reviewed September 30, 2026

Other pages for this tool

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.