How to delete PDF pages safely in your browser
Why client-side page removal keeps documents private, how thumbnail selection and range typing work, and how to avoid losing pages you meant to keep.
Client-side editing keeps files private
Many online PDF editors upload your document to a server, process it there, and send back a result, which means a copy of your file sits on someone else's machine. This tool takes a different path and does all of the work inside your browser tab using the pdf-lib library. Nothing is transmitted, so contracts, medical records and financial statements never leave your computer. That makes it safe to trim sensitive documents you would never want to hand to a third party.
Two ways to pick pages
The primary flow is visual: the tool renders a thumbnail of every page, and you click the ones to delete while a live counter tells you how many pages will remain. Select all and Clear buttons speed up large jobs. For files that will not rasterize into previews, a text field appears where you type page numbers and ranges. Both paths feed the same deletion engine, so the outcome is identical whether you click or type.
How the tool reads your page ranges
When you type a range spec, the parser splits it on commas and reads each token. A plain number like 3 selects that single page, and a range like 4-6 selects every page in between, counting inclusively. It quietly fixes common mistakes: a backwards range such as 6-4 is flipped, duplicates are merged, and any number beyond the document's last page is dropped. Pages are numbered from 1 as you see them in a viewer, so there is no zero-based counting to trip over.
Avoiding accidental loss
Because deletion is permanent in the new file, the tool adds guardrails. It never lets you remove every page, showing a warning and disabling the button when your selection would empty the document. The running count of selected and remaining pages helps you catch an over-broad range before you commit. Since the download is saved as a new -edited file, your original stays intact on disk, so you can always start over from the untouched source if you remove the wrong page.