How to Use the PDF Toolkit
This PDF Toolkit lets you merge multiple PDF files, reorder pages via drag-and-drop, rotate individual pages, and remove unwanted pages — all without uploading your documents to any server. The tool uses pdf-lib.js, a battle-tested JavaScript library that manipulates PDF object trees directly in your browser's memory.
Start by uploading one or more PDF files. Drag them into the upload zone or click to open your file browser. The tool reads each PDF and displays every page as a small card in a grid layout. Each card shows the source filename and page number, along with controls for rotation and deletion.
To reorder pages, simply drag a card from its current position and drop it in the new position. Pages from different PDFs can be freely interleaved — you can take page 3 from document A, followed by page 1 from document B, followed by the remaining pages from document A. This makes it easy to combine cover pages, appendices, and sections from multiple sources into a single coherent document.
Click the rotate button on any page card to rotate that page 90 degrees clockwise. Each click adds another 90 degrees, so clicking four times returns the page to its original orientation. Click the X button to remove a page from the output entirely. When you are satisfied with the arrangement, click Merge and Download to generate the final PDF.
Why Client-Side PDF Processing Matters
Every day, millions of people upload sensitive documents to free online PDF tools. Contracts, tax returns, medical records, legal filings, financial statements — documents that contain Social Security numbers, bank account details, proprietary business information, and personal health data. Most of these tools upload the entire document to a remote server for processing, where it may be cached, logged, stored indefinitely, or accessed by unauthorized parties.
A 2024 analysis of popular online PDF tools found that many retained uploaded files for 24 hours or more, some transmitted documents over unencrypted HTTP connections, and several had terms of service granting the platform a license to use uploaded content. For businesses subject to HIPAA, GDPR, or SOC 2 compliance, using these tools can constitute a data breach.
Client-side processing eliminates this risk entirely. Your PDF files are loaded into your browser's memory using the FileReader API. The pdf-lib.js library parses the PDF object tree, manipulates pages at the structural level, and generates the output — all without any network transmission. When you close the browser tab, the data is gone. No server ever sees your documents.
This approach also offers practical advantages: there are no file size limits imposed by server-side processing, no waiting in upload queues, no watermarks added to the output, and no account creation required. The tool works offline once loaded, making it useful in environments with restricted internet access.
Understanding PDF Structure
A PDF file is not a flat image — it is a structured document containing a hierarchy of objects: pages, fonts, images, vector paths, annotations, metadata, and cross-reference tables. When you open a PDF in a viewer, it reads this object tree and renders each page on the fly.
When this tool merges PDFs, it performs a deep copy of page objects from the source documents into the output document. This means fonts are embedded, images are preserved at their original resolution, vector graphics retain their precision, and text remains searchable and selectable. The output is a fully valid PDF that is indistinguishable from one created by professional desktop software.
Rotation is implemented by modifying the page's Rotate attribute in the PDF object tree. This is a metadata change that tells the viewer to display the page at a different orientation — it does not re-render or re-encode any of the page's content. This means rotation is instantaneous and completely lossless.
Page removal works by simply not copying the removed page's objects into the output document. The remaining pages are re-indexed with correct cross-references, producing a valid PDF with no orphaned objects or broken links.
Common Use Cases
Contract Assembly: Legal professionals frequently need to combine a standard terms document with a custom addendum and a signature page from a separate file. This tool lets you assemble the final contract from parts without retyping or reformatting.
Report Compilation: Monthly reports often involve combining charts from one document, analysis from another, and an executive summary from a third. Drag-and-drop page reordering makes this assembly process fast and visual.
Scanned Document Repair: When scanning multi-page documents, pages occasionally get scanned out of order or upside down. Upload the scanned PDF, rotate misoriented pages, and reorder them to match the original document sequence.
Presentation Extraction: Extract specific slides or pages from a large PDF presentation and combine them into a focused handout. Remove blank pages, title pages, or confidential sections before sharing.
Invoice Bundling: Freelancers and contractors who bill monthly can combine individual service PDFs into a single invoice package. Arrange them in chronological order and add a cover page from a separate template file.
Frequently Asked Questions
There is no artificial limit imposed by the tool. Practical limits depend on your browser's available memory. On a device with 8GB of RAM, you can typically handle PDFs totaling several hundred megabytes and thousands of pages. If you encounter performance issues, try processing files in smaller batches.
No. The tool uses pdf-lib.js, a JavaScript library that runs entirely in your browser. Your PDF files are loaded into your device's memory via the FileReader API and are never transmitted over the network. The merged PDF is generated locally and downloaded directly to your device. Close the browser tab and the data is gone.
Yes. Each page retains its original dimensions in the output. A letter-sized page (8.5 x 11 inches) from one PDF and an A4 page (210 x 297 mm) from another will both appear in the merged document at their original sizes. The tool does not normalize or resize pages, so your output may have mixed page sizes — which is perfectly valid PDF.
The tool copies pages at the PDF object level, which means all embedded fonts, raster images, vector graphics, annotations, form fields, and text formatting are preserved exactly as they appear in the original documents. There is no re-rendering, re-encoding, or quality degradation. The output is a structurally valid PDF.