Merge PDF files
How to merge PDF files
- Drop your PDF files on the box above, or click it and choose them. You can add more files later.
- Check the list. The top file becomes the first pages of the merged PDF.
- Use Move up and Move down to change the order, and Remove to take a file out.
- Click Merge PDFs.
- Click Download to save
merged.pdf. Click Start over to merge another set.
What this merge PDF tool does
The tool takes the PDF files you give it and writes one new PDF: every page of file 1, then every page of file 2, and so on down the list. It does not recompress the pages, add a watermark or change the page content. Your browser does the work. The files are read from your disk into the page, joined by a small PDF library, and returned as merged.pdf.
The "nothing is uploaded" claim is one we tested, so here is what the test covered. We merged generated test PDFs in a Chromium browser while logging every network request. The test page made 17 requests. Besides the two Google advertising and analytics calls that load on every GramFile page, the only outside requests were 2 to jsDelivr for the PDF library, fetched on first use and checked against a fixed hash. None carried a request body, and none contained a PDF.
What a merge looks like in numbers
We ran the page in headless Chromium on a test machine, with the same generated PDFs we use for every tool on this site. Timings are from a shared container, so treat them as a rough guide, not a benchmark.
The first two runs matter most. Merging a 5-page text PDF with a 3-page photo-heavy PDF gave an 8-page file in about 0.3 seconds. Adding a 3-page scan and a 1-page file gave 12 pages in about 0.4 seconds. In both runs the output was within 0.2 percent of the input sizes added together, which fits pages being copied as they are. The photo and scan pages did not shrink.
The third run is a quirk. We merged 50 identical copies of the 5-page file into 250 pages, and the result was 39 percent smaller than the inputs combined. Identical files are a special case, so do not expect that from your own documents. The files are generated test PDFs, not real scans from a real office, and a real photo-heavy file may behave differently. The page count and the order are the parts to rely on.
Getting the order right
The list on the page is the order of the merged file. The top file comes first. Next to each file are Move up and Move down buttons, a Remove button, and Clear all sits above the list. There is no drag-to-reorder inside the list, so use the buttons. The drop box also takes files dragged in from a folder.
If you add many files in one go, they appear in the order your file dialog returned them, which is usually by name. Check the list before you press Merge PDFs. If you merge often, number the file names (01, 02, 03) and the list will come out right the first time.
Limits, and what the tool refuses
You can add up to 50 files at a time. Each file can be up to 200 MB, and the files together can be up to 600 MB. Past that, the page tells you to merge in two rounds: join the first half, join the second half, then merge the two results.
Some files are refused, and the message names the file so you can fix it:
- A password-protected PDF is not opened. The page says to remove the password first.
- A file that is not a valid PDF, such as a renamed text file, is named in the error, and no merged file is offered.
- A single file asks for a second one.
Some gaps to know about. It cannot pick pages from inside a file (see the next section). A merged file is a new document, so a digital signature on an original does not carry over, and you should keep the originals. We have also not tested bookmarks, links or fillable form fields yet, so open the merged file and check them before you send it.
Merge only some pages from a file
This page joins whole files. When you need only part of a file, trim it first, then merge:
- Keep a few pages with the extract pages tool.
- Drop pages you do not want with delete PDF pages.
- Turn a sideways scan upright with rotate PDF.
- Cut one file into parts with split PDF.
If the merged file is too big for an email attachment or an upload form, run it through the PDF compressor afterwards. Scans on paper? Turn photos of pages into a PDF first with image to PDF, then merge that file with the rest.
Jobs people merge PDFs for
Most merges are small jobs.
- Application packs. A CV, a cover letter and two certificates become one attachment, in the order the employer reads them.
- Scanner output. A multi-function printer that saves one PDF per sheet leaves you with a folder of single pages. Select them, add them, and fix the order once.
- Invoices and receipts. A month of statements in one file is easier to send to an accountant than twelve.
- Mixed page sizes. Each page keeps its own size. Our test compared page dimensions before and after, so an A4 file and a Letter file stay as they were inside the same document.
Merging PDFs on Windows without installing anything
File Explorer has no merge command for PDFs. People get by with print-to-PDF tricks in a browser, which get fiddly once you have more than a few files. This page needs only a browser. We run our tests in Chromium, the engine behind Chrome and Edge.
One detail about loading: when you first interact with the page, it downloads the merge library from jsDelivr and checks it against a fixed hash. Your PDFs never travel the other way.
Measured merges
| Run | Files in | Pages out | Input bytes | Output bytes | Merge time |
|---|---|---|---|---|---|
| Text and photo-heavy PDF | 2 | 8 | 2,726,850 | 2,723,385 | 0.3 s |
| Text, photo-heavy, scan and one-page PDF | 4 | 12 | 4,008,555 | 4,002,230 | 0.4 s |
| 50 identical copies of the text PDF | 50 | 250 | 284,800 | 172,787 | 0.9 s |
Prefer desktop software?
The browser tool is enough for a handful of files, a one-off job, or a machine where you cannot install anything. A desktop program is the better choice when you merge hundreds of files, go past the 600 MB total, need bookmarks or form fields kept, or want a page range for each file. PDFsam Basic is a free desktop merger that does page ranges per file.
If you already work in a full PDF editor, merging is one feature among many. GramFile has download pages for Foxit PDF Editor and Nitro PDF Pro, both built for editing and combining documents.
Frequently asked questions
Are my PDFs uploaded to a server?
No. The files are read inside your browser tab and joined there. In our test, the only outside requests were to Google's ad and analytics hosts and to jsDelivr for the merge library, and none of them carried a PDF.
How many files can I merge at once?
Up to 50 files, each up to 200 MB, with 600 MB in total. For more, merge in rounds and then merge the results.
Can I choose which pages of each file to merge?
Not on this page. It adds whole files. Trim a file first with the extract pages or delete pages tool, then merge.
Why was my file refused?
The usual cause is a password. A protected PDF is refused with a message that names it, so remove the password in the program that made it and add the file again. A damaged file or a renamed non-PDF gets a similar message.
How do I change the order of the files?
Use the Move up and Move down buttons next to each file. The top file becomes the first pages of the merged PDF.
Will the merged PDF be bigger or smaller than the originals?
About the same. In our two main test runs the output was within 0.2 percent of the combined input size, because pages are copied as they are. Use the PDF compressor if you need it smaller.
Does the merged file have a watermark?
No. The tool adds nothing to your pages and does not stamp a logo on them.
Will bookmarks, links and form fields survive?
We have not tested them yet. Text and images are copied as they are. Open the merged file and check bookmarks, links and fillable fields before you rely on them.