Split a PDF into pages, or pull out just the pages you need

Pick a PDF, type the pages you need, and download a clean file. Everything happens in your browser: no upload, no account, no queue.

Mode

Commas separate items and hyphens define a range. Numbering starts at the first physical page in the file, not the number printed on the page.

How PDF splitting works

Splitting a PDF is one of those small jobs that turns up at the worst moment. A supervisor asks for chapter three of a thesis, not the whole 180-page file. Accounting needs the two invoice pages from a monthly statement and nothing else. A scanned archive of meeting minutes is one 400-page document that nobody can search, so each meeting should become its own file. A signed contract goes to a client with the internal pricing schedule removed. In every case the goal is the same: keep the pages that matter, drop the rest, and end up with a document that still opens, prints and searches like the original.

A PDF is not a stack of pictures. Internally it is a tree of numbered objects. The file starts with a catalog, which points to a page tree, which lists page objects; each page points to a content stream (the drawing instructions) and a resource dictionary (fonts, images, colour spaces, form fields). A cross-reference table at the end records where every object lives. Splitting means reading that tree, selecting the page objects you asked for, and writing a new file that contains those pages plus everything they reference. Nothing is re-rendered and nothing is repainted.

That distinction matters, because extraction is not a screenshot. When you photograph a page, or print it to an image-based PDF, the text becomes pixels: it can no longer be selected, copied, searched or read aloud, and zooming in shows the resolution of the capture rather than the sharpness of the original. Extraction keeps the original content stream, so text stays text, vector lines stay vector, embedded fonts stay embedded, and a 600 dpi scan stays at 600 dpi. Links and annotations attached to the copied pages normally travel with them. The output looks identical to the source at any zoom level, because it is a piece of the source.

A page range is a small language of its own. Commas separate items and a hyphen marks a range, so 1-3,5,8-10 means pages one to three, page five, and pages eight to ten, in that order, with duplicates removed. Spaces are ignored, and a reversed range such as 9-6 is read as 6-9 rather than rejected. The number that counts is the physical page index inside the file, not the number printed on the page: a report with a cover, a table of contents and roman-numeral front matter can show "page 1" on what the file calls page 7. Check the page count shown by the tool before typing.

Encryption is the most common reason a split fails. A PDF can carry two passwords: a user password that must be typed before the file opens at all, and an owner password that only restricts printing, copying or editing. Tools built on pdf-lib can read the page structure only when the document is not encrypted; a file that opens without a prompt but still carries an owner password may be rejected, because the library does not decrypt AES-protected content streams. The honest fix is to open the file in a reader you trust, save an unprotected copy, and split that copy. A splitter is not a way around permissions you do not hold.

A split file is often surprisingly large, and sometimes larger than the original. Pages rarely own their resources. A single embedded font, a shared logo or a scanned background image can be referenced by every page in the document. When you copy one page into a new file, its dependencies come along; when you split 200 pages into 200 files, the same font may be duplicated 200 times. Compression also works across the whole file: object streams, a shared cross-reference table and document-level metadata are cheaper in one large file than in many small ones. Extracting a single page from a 10 MB scan can easily produce a 2 MB file, and a ZIP of every page can exceed the original.

Everything here runs inside the browser tab, which sets a practical ceiling. The library has to parse the entire document into memory before it can copy anything, and each output file builds another object graph, so peak memory is several times the file size. A 20 MB text PDF is comfortable; a 400 MB scanned album on a phone is not, and the tab may stall or crash rather than show a polite error. If a large file fails, close other tabs, try a desktop browser, or split it in batches: extract a range, save the result, then continue with the next batch.

Privacy is the reason this tool is built the way it is. The PDF is read with the File API and never sent anywhere: there is no upload endpoint and no server-side copy to delete. That matters for invoices, medical records, HR files and anything under a confidentiality agreement. Two habits are still worth keeping: downloads land in the normal Downloads folder and may be indexed by desktop search, and extracted pages carry any hidden layers, annotations or attachments that sit on a copied page, so review the output before sending a file outside your organisation.

How to use it

  1. Drop a PDF onto the upload area, or click it to choose a file. Only one document is open at a time.
  2. Wait for the page count to appear. That number is the physical page index the range will refer to.
  3. Choose Extract selected pages to keep a subset in a single PDF, or Split every page to create one file per page.
  4. In extract mode, type the pages you need, for example 1-3,5,8-10. Commas separate items and hyphens define ranges.
  5. Press Split. The selection is checked against the real page count, and out-of-range numbers are reported instead of silently dropped.
  6. Download the result: a single PDF for extraction, or a ZIP containing every page for the per-page mode.
  7. Press Clear when you are done. The document stays in memory only until you remove it or close the tab.

Frequently asked questions

Are my PDFs uploaded to a server?

No. The file is opened with the browser File API and processed by pdf-lib inside the tab. There is no upload request, so the document never leaves your device unless you download a result and share it yourself.

How do I write a page range?

Use commas between items and a hyphen for a run of pages: 1,4,9 or 2-6, or a mix such as 1-3,7,10-12. Spaces are ignored, repeated pages are removed, and numbering starts at the first physical page in the file.

Can I split the whole document into separate files in one go?

Yes. Switch to Split every page and press Split. The tool creates one PDF per page and packages them into a single ZIP, which is much quicker to download than dozens of separate files.

Does it work with password-protected PDFs?

Not with encrypted files. If the document needs a password to open, or uses AES encryption, the library cannot read its page tree. Open it in a trusted reader, save an unprotected copy, and split that copy instead.

What happens to bookmarks, links and form fields?

Content, links and annotations attached to the copied pages normally come through. Document-level bookmarks and the outline are not rebuilt, form fields may lose their cross-page tab order, and digital signatures are invalidated because the file has changed.

Will the extracted pages lose quality?

No. Pages are copied as PDF objects, not re-rendered as images, so text stays selectable, vectors stay sharp and image resolution is unchanged. The only exception is a source that was already a scan or a screenshot.

Can I use it on a phone or tablet?

Yes. The layout is responsive and the picker works with the system Files app. Memory is the limit: large scans are better handled on a desktop, where the tab has more room to work.

Why is the output bigger than I expected?

Fonts and images are shared between pages. Copying a page brings its dependencies with it, and splitting many pages duplicates them in every output. Per-page output can therefore be larger in total than the original file.

Is there a file size limit?

There is no fixed limit in the code, only the memory the browser is willing to give the tab. Files of tens of megabytes are usually fine; very large scans may fail on mobile.

Does splitting remove hidden content?

Only the pages you exclude are dropped. Hidden layers, attachments and JavaScript actions that live on the copied pages can travel with them even when they are invisible in a viewer, so review the output before publishing it.