PDF Tools

Split and merge PDF files directly in your browser. Files are processed locally.

🔒 Your files never leave your browser. All PDF processing happens locally using JavaScript.

Split PDF

Examples

Split valid pages from a mixed range

Input
File: report.pdf
Source pages: 6
Range: 1-3, 5, 8
Output
Pages copied: 1, 2, 3, 5
Output pages: 4
Download: split-report.pdf

The parser expands the inclusive range, and page 8 is removed because the loaded source contains only six pages.

Merge three PDFs in list order

Input
cover.pdf: 1 page
chapter.pdf: 3 pages
appendix.pdf: 2 pages
Output
Merged pages: 6
Order: cover.pdf -> chapter.pdf -> appendix.pdf

Every page from each input is copied before processing the next file, preserving both document order and each document's internal page order.

About this tool

PDF Tools provides two browser-side operations backed by pdf-lib. Split loads one PDF, copies the requested source pages into a new document, and downloads it as split-<original-name>.pdf. Merge loads two or more PDFs, copies every page from each document in list order, and downloads one combined file.

Page ranges are one-based and can mix comma-separated pages with inclusive ranges, such as 1-3,5,7-9. Invalid fragments are ignored, requested pages outside the source document are filtered out, and processing stops only when no valid page remains. Repeated or overlapping selections are not deduplicated, so they can intentionally copy a page more than once.

Selected files are read and rewritten in the browser; the component does not upload them. File admission checks the application/pdf MIME type or a lowercase .pdf filename, while malformed, encrypted, or otherwise unsupported documents surface the generic split or merge failure message from the operation.

How to use

  1. Split selected pages

    Open Split, upload one PDF, enter one-based pages and inclusive ranges, then click Split & Download. Review the range because out-of-bounds pages are omitted.

  2. Build a merge list

    Open Merge and add at least two PDF files. Their visible order is the order in which complete documents are appended.

  3. Adjust the merge order

    Remove an incorrectly positioned file and add files again in the desired sequence; the interface does not provide drag-and-drop reordering.

  4. Download and verify

    Run the operation, open the downloaded PDF, and verify page count, order, orientation, forms, and other document features important to your workflow.

Use cases

Extracting a review packet

Copy only the pages needed for a code review, approval, support case, or document handoff.

Combining generated reports

Append a cover page, report body, and supporting appendix into one downloadable PDF.

Preparing local document fixtures

Create smaller or combined PDFs for upload-flow tests without sending the source documents to a conversion service.

Reordering whole documents

Control the final sequence by adding complete PDFs in the order they should appear in the merged result.

Common mistakes

Mistake:Entering zero-based page indexes such as 0-2.

Fix:Use the page numbers shown by a PDF reader. The range parser and copier expect one-based input, then subtract one internally for pdf-lib.

Mistake:Assuming one out-of-range page makes the entire split fail.

Fix:The component silently filters out-of-bounds pages and proceeds with any valid selections. Verify the downloaded page count and order.

Mistake:Expecting to drag files into a different merge order.

Fix:Documents are appended in the current list order. Remove files and add them again in the intended sequence when the order is wrong.

Mistake:Assuming a .pdf name guarantees that the file can be parsed and rewritten.

Fix:The upload check is only a MIME-or-filename filter. Unlock encrypted files and verify malformed or specialized PDFs in a dedicated editor if processing fails.

Frequently asked questions

References & standards