Back to Blog

How to Merge PDF Files Into One (Free, No Adobe Needed)

You don't need paid Acrobat to combine PDFs. Here's how to merge PDF files into one on macOS, Windows, and the command line with qpdf or pdfunite - plus what happens to bookmarks and form fields.

Three separate PDF documents feeding into a single bound booklet on a desk

You have invoice-jan.pdf, invoice-feb.pdf and a signed contract.pdf, and you need to send one file. The first search result wants $20/month for Acrobat. You don't need it. Every operating system in common use can already merge PDF files, and the free command-line tools do it better than most paid software.

The honest part first

We don't have a PDF merge tool on File Convert Online yet. This article isn't a funnel to one. If you came here looking for a button on our site that staples PDFs together, it doesn't exist today, and we'd rather say so than waste your afternoon.

What we do have is a document converter for turning Word, ODT or similar files into PDF. That matters here for one reason: merging only works on PDFs. If three of your five documents are .docx, convert them first, then merge the resulting PDFs with one of the methods below. That's the only place our tool genuinely helps in this workflow.

Method 1: macOS Preview (no install, 60 seconds)

Preview is the fastest way to combine PDF files into one on a Mac, and it lets you reorder pages visually before you save.

  1. Open the first PDF in Preview (double-click it).
  2. Choose View → Thumbnails so the page sidebar appears.
  3. Drag the other PDF files from Finder into the sidebar. Drop them between thumbnails to control where they land - drop above page 1 to put a cover sheet first.
  4. Drag thumbnails up or down to fix the order. Select a page and press Delete to drop it.
  5. Choose File → Export as PDF… and save under a new name, e.g. q1-invoices-merged.pdf.

Two traps. First, use Export as PDF, not Save - saving writes changes back into the original file, which you may still need. Second, if you drag a PDF onto a thumbnail instead of between thumbnails, Preview may embed it as an attachment rather than inserting its pages. Watch the blue insertion line.

Method 2: Windows, free and offline

Windows has no built-in merge feature - the "Microsoft Print to PDF" driver prints one document at a time, so it can't join multiple PDF documents in one pass. You need a small free tool.

  • PDFsam Basic - free and open source, drag in files, set the order, click Merge. Handles page ranges like 1-3,7 per file.
  • PDF24 Creator - free desktop suite with a merge module; processes files locally.
  • LibreOffice Draw - already installed for many people. It can open a PDF and export it again, but it rebuilds the file and often shifts text, so treat it as a last resort for merging.

If you merge PDFs more than once a month on Windows, skip ahead - installing qpdf gives you a repeatable one-line command that never re-renders your pages.

Method 3: qpdf - the precise way to merge PDF files

qpdf is a free, open-source PDF transformation tool. It copies page objects byte-for-byte rather than re-rendering them, so fonts, vector graphics and image quality come through untouched. Install it with brew install qpdf on macOS, apt install qpdf on Debian/Ubuntu, or winget install qpdf on Windows.

The core pattern is --empty --pages … --: start from an empty document, pull pages from the listed files, and end the page list with a bare --.

qpdf --empty --pages invoice-jan.pdf invoice-feb.pdf contract.pdf -- q1-bundle.pdf

That produces q1-bundle.pdf with all pages in the order given. Need only part of a file? Add a page range after the filename:

qpdf --empty --pages cover.pdf 1 report.pdf 2-14 appendix.pdf 1,3,5-7 -- final.pdf

Useful extras:

  • z-1 reverses a file's pages: qpdf --empty --pages scan-back.pdf z-1 -- fixed.pdf
  • --password=secret before a filename unlocks a protected input.
  • --object-streams=generate after the -- shrinks the output a little by compressing cross-reference data.
  • qpdf --check final.pdf validates the result before you email it.

One quirk worth memorising: everything between --pages and the closing -- is the page list, and the last argument is the output file. Forget the trailing -- and qpdf will treat your output name as another input.

Method 4: pdfunite - one line, zero options

pdfunite ships with Poppler (apt install poppler-utils, brew install poppler). It has no page ranges and no flags worth learning - which is exactly why it's great for a quick merge in a script:

pdfunite chapter1.pdf chapter2.pdf chapter3.pdf book.pdf

The last filename is the output. Merging numbered scans with a shell glob works too, but sort carefully - *.pdf orders page10.pdf before page2.pdf:

pdfunite $(ls page*.pdf | sort -V) scan-complete.pdf

Rule of thumb: pdfunite for whole files in order, qpdf when you need ranges, reversal, passwords or validation.

What breaks: bookmarks, form fields and signatures

Merging isn't lossless for everything. Pages survive; the structures around the pages often don't.

  • Bookmarks (outlines). pdfunite keeps each file's bookmark tree and concatenates them. Older qpdf builds drop outlines; modern versions (11.x and later) preserve them when you merge whole files. Always open the result and check the sidebar.
  • Form fields. AcroForm fields are stored at the document level. If two files both have a field named name or signature, a merge can collapse them into one linked field - type in one and the other changes. Fix: flatten before merging. qpdf --flatten-annotations=all form.pdf flat.pdf bakes the filled values into the page.
  • Digital signatures. Any merge invalidates them. The signature covers a specific byte range of the original file; rewriting the document breaks that. Merge first, sign the combined PDF last.
  • Links and attachments. Internal page links usually survive; file attachments and some JavaScript actions attached to the document catalogue may not.
  • Page sizes. Mixing A4 and US Letter is allowed - PDF stores size per page - but it looks untidy in print. Standardise before merging if the bundle will be printed.
Diagram showing which PDF structures survive a merge and which break
Pages always survive a merge; bookmarks usually do, duplicate form fields collide and signatures always break.

The online route (and when to avoid it)

Plenty of free PDF merger sites will do this in a browser: upload, drag the thumbnails into order, download the merged file. They're genuinely convenient for a one-off, and they work the same on a Chromebook or a phone.

Before you upload, ask three questions: Does the file contain client data, ID scans, medical details or anything under NDA? Does the service state when uploads are deleted? Is there a file-size cap you'll hit with a 60 MB scanned contract? If any answer makes you uneasy, use Preview, PDFsam or qpdf - all of them run entirely on your machine, and all of them are free.

And again: if some of your source documents aren't PDFs yet, run them through our document converter first, then merge the PDFs locally.

Pick your method in ten seconds

  • On a Mac, one-off job: Preview + thumbnails → Export as PDF.
  • On Windows, one-off job: PDFsam Basic or PDF24 Creator.
  • Repeating it weekly: qpdf --empty --pages a.pdf b.pdf -- out.pdf.
  • Dozens of scans in a script: pdfunite with sort -V.
  • Sensitive documents: anything offline. Never an upload.
  • Filled forms: flatten first, then merge, then sign.

Whichever route you take, open the merged file once and scroll to the end. Thirty seconds of checking beats sending a client a bundle that stops at page 7.

FAQ

Does merging PDFs reduce quality? No, if the tool copies pages (qpdf, pdfunite, Preview, PDFsam). Quality only drops when a tool re-renders pages to images - something "print to PDF" workarounds and some converters do.

How do I control the page order? Put the files in the order you want them on the command line, or drag thumbnails in a GUI. With qpdf you can also slice: report.pdf 2-14 takes only those pages.

Can I merge a password-protected PDF? Yes, if you know the password: qpdf --password=secret --empty --pages locked.pdf -- out.pdf. The output is unencrypted unless you re-add encryption.

Why is my merged file so large? Merging sums the file sizes, and duplicate embedded fonts aren't deduplicated by default. Try qpdf --object-streams=generate --recompress-flate --compression-level=9 big.pdf smaller.pdf.

Can I merge PDFs on a phone? On iPhone, the Files app lets you select several PDFs, long-press and choose Create PDF to combine them. On Android you'll need an app or a browser-based service.

Will you add a merge tool? It's not available today. For now, qpdf and pdfunite cover the job completely and cost nothing.

Ready to Convert Your Files?

Try our free online file converter. No registration required.

Start Converting