📎

Merge PDF

Combine multiple PDF files into a single document.

🔐 Files are processed on the server and deleted immediately after - nothing is stored.

Drag & drop PDF files here, or click to browse

    How Merge PDF works

    How does the merge tool actually combine the files?

    It loads each uploaded PDF with setasign/fpdi's Fpdi class (a TCPDF subclass), calls importPage() on every page of every file in the order they were uploaded, and uses useTemplate() to redraw that page's content onto a fresh page in one shared TCPDF document. Each imported page keeps its own original width, height, and orientation rather than being forced onto a single fixed layout.

    When would I use this?

    It is built for combining separate PDFs into a single file - stitching together several scanned pages, appending a cover sheet to a report, or merging invoices exported from different tools into one document to send or archive.

    What are the practical limits, and does the tool keep my files?

    The form requires at least two files, and validate_uploaded_pdf() rejects anything over 20MB or that does not report as application/pdf via finfo. The merged file is written to a random-named path under the server's temp directory and streamed back as a download; stream_file_download() deletes it right after sending it, and PHP discards the original uploaded temp files once the request ends.