LocalExcelTool
Get started

Delete PDF Pages

Remove unwanted pages from a PDF by page number and save the rest.

Runs in your browserNo account neededFree up to 30 MB

What is Delete PDF Pages

The PDF Page Deleter removes pages you no longer need and saves the rest. Enter page numbers such as 2 or 3-5 and every other page is kept. It deletes pages with pdf-lib without touching the ones you keep, so text and images are never re-compressed and quality is unchanged. Nothing is uploaded — everything runs in your browser (up to 50 MB).

File

No file chosen

… up to 30 MB

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Size limit
30 MB free, 50 MB with Pro
Offline
Works with the network disconnected

Deleting pages without breaking the document

Removing a page removes its content and its annotations, and any link or bookmark that pointed to it becomes dead. The remaining pages keep their original numbering internally, so page labels can look non-sequential unless the viewer recomputes them.

If the document has a table of contents with page numbers, those numbers are now wrong. Either remove the TOC page as well, or regenerate it after saving.

Deleting is not redaction. The removed page is gone from the file, but any text that was copied into other pages, attachments or metadata remains. For genuine redaction, the content must be removed before the file is produced.

The usual mistakes

Deleting by page label instead of by page position. A document numbered i, ii, iii then 1, 2, 3 has both a label and a position, and they do not match.

Deleting the blank page that is actually a scanned separator with a faint mark on it. Check the page in a viewer before removing it — and check the page count against the printed document, because a two-sided scan produces a blank back for every page that was single-sided in the original.

Deleting pages to shrink a file. Page count is rarely the main driver of size — images are. Compress instead: one full-page photograph at 600 DPI outweighs twenty pages of text, and removing a paragraph saves nothing measurable.

How to use it

  1. 1.Choose a PDF
  2. 2.Enter the pages to remove
  3. 3.Download the trimmed PDF

How Delete PDF Pages works under the hood

A PDF is a graph of objects plus a cross-reference table that says where each object starts. Merging, splitting and reordering are structural edits to that graph — no page is re-rendered, which is why the output keeps its original quality.

  1. 1

    Load the document

    pdf-lib parses the object graph, following the xref table to every page, font and image stream. Encrypted files are rejected here.

  2. 2

    Copy page dictionaries

    Each selected page is copied into a new document, together with the resources it references (fonts, images, colour spaces).

  3. 3

    Rewrite the cross-reference

    Every object gets a new byte offset, so the xref table is rebuilt. A wrong offset is the classic cause of a 'damaged PDF' — this step is why the tool cannot simply concatenate files.

  4. 4

    Save and download

    The new document is serialised to bytes in memory and offered as a Blob download.

  5. Processing pipeline

Why signatures and forms break

A digital signature covers the exact bytes of the document. Any operation that rewrites the file — even adding a page number — changes those bytes and invalidates the signature. That is the signature doing its job, not a defect. AcroForm fields live in a separate object tree; operations that rebuild the page tree may drop their appearance streams, so test a form-heavy document before relying on the output.

Scanned PDFs have no text

Text extraction reads the text operators inside each page's content stream. A scan is a single image, so there are no text operators to read — the result is an empty or near-empty file. Recognising that text requires OCR, which this site does not provide. If a PDF's text can be selected in a viewer, extraction will work; if it cannot, no converter can invent it.

Compression is re-encoding, not magic

PDF compression re-packs streams with Flate and can downsample embedded images. A PDF that is already mostly JPEG will shrink only slightly; a PDF of scanned pages at 600 dpi can drop by 80%. Text stays sharp because text is not an image. The tool never silently deletes pages to hit a size target.

Verify it yourself

The original file is never sent anywhere. Confirm it in one run.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

Does it reduce quality?

No. Pages are only removed — the pages you keep are never re-encoded.

Can I delete every page?

No. A PDF needs at least one page, so selecting them all returns an error.

Do page numbers start at 1?

Yes. Page 1 is the first page, matching what your PDF viewer shows.

Is this tool free?

Yes — no sign-up and no card. The free tier handles 30 MB. Everything runs in your browser, so your file is never uploaded.

What happens if my file is over the limit?

You see a notice before any processing starts, and nothing is charged automatically. Pro raises the limit to 50 MB. If you'd rather stay free, compress or split the file first.

What this kind of conversion cannot keep

PDF pages are copied as page objects, not re-rendered as images. Text stays selectable, the file size stays close to the sum of the inputs, and nothing is flattened. The one thing that cannot survive is a digital signature: any change to the bytes invalidates it, which is the signature working as designed.

More in PDF