Skip to content

Delete Pages from PDF

Remove specific pages from a PDF file. Upload a PDF, specify page numbers or ranges to delete, and download the trimmed document.

Category: documents
Use Case: Document Cleanup, Removing Blank Pages, Redacting Content
Privacy: 100% browser-based

Click to upload a PDF file

Your file is processed entirely in your browser

Recommended Settings

Pro Tips

  • Enter individual page numbers, ranges, or a mix - like 1, 3-5, 8 to delete pages 1, 3, 4, 5, and 8
  • Page numbers are 1-indexed, matching what you see in a PDF viewer, not 0-indexed array positions
  • You can't delete every page - at least one page must remain in the resulting document
  • The whole file is processed locally in your browser using pdf-lib - nothing is uploaded anywhere

Most Popular

Most users remove a single blank or unwanted page from a scanned document

When to Use This Tool

Document Cleanup

Remove unwanted cover sheets, blank pages, or duplicate scans from a PDF before sharing or archiving it.

Removing Blank Pages

Delete blank pages that were accidentally included when a document was scanned or exported.

Redacting Content

Remove entire pages containing sensitive or outdated content from a PDF before distributing it.

Trimming Large Documents

Cut down a large PDF to just the pages you need, reducing file size and making it easier to share.

How It Works

1

Read the uploaded PDF file as binary data directly in your browser and detect its total page count

2

Parse the page numbers and ranges you enter into a set of page indices to remove

3

Load the file into a PDF document using the pdf-lib library

4

Remove the specified pages in reverse order, so earlier removals don't shift the indices of pages still to be deleted

5

Save the modified PDF and trigger a download

100% Private

Files never leave your device. All processing happens locally in your browser.

Lightning Fast

Powered by pdf-lib for optimal performance on modern browsers.

Open Source

Built with verified, open-source libraries. Fully transparent.

Frequently Asked Questions

How do I specify which pages to delete?

Enter page numbers separated by commas, ranges with a hyphen, or both together - for example 1, 3-5, 8 deletes pages 1, 3, 4, 5, and 8. Page numbers start at 1, matching what you'd see in a PDF viewer.

Can I delete every page in the document?

No, at least one page must remain. If you try to delete all pages, the tool will show an error instead of producing an empty PDF.

What happens to bookmarks or links pointing to deleted pages?

Internal links or bookmarks that pointed to a deleted page may no longer work correctly, since pdf-lib removes the page but doesn't rewrite references to it elsewhere in the document.

Is my PDF uploaded to a server?

No. The entire file is read, modified, and re-saved locally in your browser using the pdf-lib library. Your document never leaves your device.

Can I delete pages from a password-protected PDF?

No. Password-protected or encrypted PDFs can't be opened by this tool. You'll need to remove the password protection first using a PDF editor.