Skip to main content

How to Merge PDF Files for Free in 2026

6 min read

You have five PDFs that need to be one file. Maybe it's a set of scanned receipts, chapters of a manuscript, or signed contract pages from different parties. Whatever the reason, merging PDFs is one of the most common document tasks — and you shouldn't need to pay for it or install desktop software to do it.

This guide covers three ways to combine PDF files for free: browser-based tools, desktop applications, and command-line utilities. We'll compare them on speed, privacy, and ease of use so you can pick the right approach for your situation.

Why merging PDFs matters

Sending a single consolidated file is almost always better than attaching five separate ones. Recipients don't have to open multiple documents, page numbers stay sequential, and you avoid the "which version is the latest?" confusion. For formal submissions — tax filings, grant applications, legal packets — a merged PDF is often required.

The catch is that the PDF specification doesn't include a "merge" button. You need a tool that reads the internal structure of each file (page trees, fonts, images, annotations) and stitches them into a single document. That used to mean buying Adobe Acrobat. It doesn't anymore.

Method 1: Browser-based tools (fastest)

Online PDF mergers are the quickest option when you need to combine a few files and move on. You drag your files onto a web page, arrange the order, and download the result. No installation, no account required.

MakeMyPDF (this site)

Our merge toolruns entirely in your browser. Your files are never uploaded to a server — the merging happens locally using JavaScript. This matters if you're working with confidential documents: contracts, medical records, financial statements. The files don't leave your machine.

Here's how it works:

  1. Open the Merge PDF page.
  2. Drop your PDF files onto the upload area (or click to browse). You can add up to 100MB per file.
  3. Drag to reorder the files if needed. The first file in the list becomes the first pages of the output.
  4. Click "Merge" and wait a few seconds.
  5. Download your merged PDF.

The whole process takes under 10 seconds for most documents. Large files (50+ MB, hundreds of pages) may take longer since the browser is doing all the processing, but it still works — you'll see a progress bar while it runs.

iLovePDF and Smallpdf

These are the two most popular online PDF tools. Both offer free merge functionality with some limits.

iLovePDF lets you merge files for free with a daily task limit. Files are uploaded to their servers for processing and deleted after a few hours. The free tier caps you at around 25MB per task.

Smallpdf offers two free tasks per day before requiring a subscription. Like iLovePDF, files are uploaded to their servers. They advertise 256-bit SSL encryption during transfer and claim files are deleted within an hour.

Both tools work well for non-sensitive documents. The key difference with MakeMyPDF is where processing happens: if your files contain anything confidential, a client-side tool avoids the question of what happens to your data on someone else's server.

Method 2: Desktop applications

If you merge PDFs frequently or handle very large files, a desktop application may be worth the setup time. These tools work offline and can handle files of any size without browser memory constraints.

macOS Preview

Mac users already have a PDF merger installed. Open the first PDF in Preview, show the thumbnail sidebar (View > Thumbnails), then drag additional PDF files from Finder into the sidebar at the position where you want them inserted. Save with File > Export as PDF. The interface is a bit clunky for more than three or four files, but it works and costs nothing.

PDF Arranger (Linux)

PDF Arranger is a lightweight GTK application that shows page thumbnails and lets you drag pages between documents. Install it via your package manager (sudo apt install pdfarrangeron Debian/Ubuntu) and you've got a visual merge-and-rearrange tool in under a minute.

Adobe Acrobat

Acrobat Pro remains the most full-featured option. The "Combine Files" feature handles merge, reorder, and page deletion in one workflow. But it costs $23/month, which is hard to justify if merging PDFs is all you need. Acrobat Reader (the free version) does not support merging.

Method 3: Command-line tools

For developers, sysadmins, or anyone comfortable with a terminal, command-line tools are fast and scriptable. They're useful when you need to merge PDFs as part of an automated workflow.

qpdf

qpdf is a command-line PDF transformation tool that handles merging cleanly:

qpdf --empty --pages file1.pdf file2.pdf file3.pdf -- merged.pdf

You can also merge specific page ranges:

qpdf --empty --pages file1.pdf 1-3 file2.pdf 5-10 -- output.pdf

qpdf is available on all major platforms. Install it with brew install qpdf on macOS or apt install qpdf on Debian/Ubuntu.

Ghostscript

Ghostscript can merge PDFs, though the syntax is verbose:

gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=merged.pdf file1.pdf file2.pdf

One thing to be aware of: Ghostscript re-renders the PDF content during merging, which can subtly change font rendering or image quality. qpdf preserves the original content byte-for-byte, making it the better choice when fidelity matters.

Merging specific pages, not whole files

The basic merge operation — take file A, append file B — covers most situations. But sometimes you need only a subset of each source file. A contract where pages 1–3 come from the template, pages 4–6 from a revised exhibit, and page 7 from the original. Merging the whole files and then deleting pages is clumsy; it's faster to specify the pages you want up front.

qpdf has the cleanest syntax for this. The --pages argument takes any number of input files, each followed by an optional page range:

qpdf --empty --pages template.pdf 1-3 exhibit.pdf 4-6 original.pdf 7 -- merged.pdf

Page ranges support single pages (5), ranges (3-7), open-ended ranges (5-z for page 5 through the end), reverse ranges (z-1 to reverse the document), and lists (1,3,5-7). You can reference the same file multiple times, which is useful for interleaving — a common need when you've scanned a double-sided document by scanning all the odd pages first, then all the even pages.

qpdf --empty --pages odd.pdf 1-z even.pdf 1-z -- interleaved.pdf

Wait — that concatenates them, it doesn't interleave. For true interleaving (odd page 1, even page 1, odd page 2, even page 2...), you need a tool that supports it natively or a short script. pdftk hasshuffle for this exact case:

pdftk A=odd.pdf B=even.pdf shuffle A B output interleaved.pdf

Browser-based merge tools, including MakeMyPDF, merge whole files in the order you arrange them. If you need specific pages from a source file, extract them first with an extract pages tool, then drop the extracts into the merger. It's an extra step but keeps each tool focused on one job.

Which method should you use?

It depends on three things: how often you merge, how large your files are, and how sensitive the content is.

ScenarioBest option
Quick one-off merge, non-sensitive filesAny browser-based tool
Confidential documents (legal, medical, financial)MakeMyPDF (client-side, no upload)
Very large files (100+ MB)Desktop app or command-line tool
Automated batch processingqpdf or Ghostscript
macOS user who wants zero setupPreview

Common issues when merging PDFs

The merged file is much larger than expected

Each PDF may embed its own copies of fonts. When you merge three files that all use Arial, the merged document can contain three separate copies of the Arial font data. Most merge tools don't de-duplicate fonts automatically. If file size is a concern, run the merged output through a PDF compression tool afterward.

Page sizes don't match

PDFs don't require all pages to be the same size. If you merge a letter-size document with an A4 document, the output will contain pages of both sizes. This is technically valid but can look odd when printed. Most viewers handle mixed-size PDFs fine, but if you need uniform sizing, you may want to resize pages before merging.

Bookmarks and links break

Internal hyperlinks and bookmarks reference specific page numbers. After merging, those page numbers shift. Simple merge tools (including browser-based ones) typically don't update these references. If you need working bookmarks in the final document, Adobe Acrobat or qpdf with manual bookmark editing is your best bet.

Form fields stop working

PDF forms with interactive fields (text boxes, checkboxes, dropdowns) can conflict when merged if two source files use the same field names. The result may show duplicate values or fields that can't be edited. If you're merging filled forms, flatten them to static content first, or use a tool that handles field name deconfliction.

FAQ

Is it safe to merge PDFs online?

It depends on the tool. Services that upload your files process them on remote servers — your documents pass through infrastructure you don't control. Client-side tools like MakeMyPDF's merger process everything in your browser, so your files stay on your device. If the documents contain anything sensitive, use a client-side or offline tool.

Can I merge password-protected PDFs?

You need to unlock them first. Most merge tools — including ours — require the PDFs to be unencrypted before merging. Use an unlock toolto remove the password (you'll need to know it), then merge the unlocked files.

Is there a limit to how many files I can merge?

Browser-based tools are limited by available memory. In practice, merging 20-30 average-sized PDFs works fine. If you need to combine hundreds of files, a command-line tool like qpdf is more reliable. MakeMyPDF has no artificial file-count limit — the constraint is your browser's available memory.

Will merging reduce the quality of my PDFs?

Not with tools that do true page-level merging (like MakeMyPDF, qpdf, or Adobe Acrobat). These tools copy pages without re-encoding, so text stays sharp and images keep their original resolution. Ghostscript is the exception — it re-renders content, which can affect quality unless you configure it carefully.

Ready to try it yourself?

Use our free tool — your files never leave your browser.

Try it free