Tested on real files, not written from a template

How to Merge PDFs: What Really Happens to Every Page

Four pages copied in the wrong order is a legal problem, not a formatting one. So I instrumented my own merger and logged what it does: 14 page-range inputs, 4 output geometry cases, 8 failure messages, and the exact byte sizes before and after. Everything below comes from that log - whether you call the job merging or combining, the behaviour is the same.

Runs in your tab Every number measured Honest about limits
By Karan Kumar Tested 30 October 2026 28 min read
The short version

01Five checks before you merge

A merge is a copy, not a conversion. That one fact explains almost every "the merge broke my document" story.

Every complaint I have received about a merge traces back to something that was already true before the first file was added. Four of the five cannot be repaired afterwards. The checks take under a minute, and they are the difference between a document you can send and one you have to rebuild.

There is also one thing that has to be true before any of them: every input already has to be a PDF. The picker accepts nothing else, so a JPG, a Word file or an Excel sheet is converted first and merged second. Section 14 covers that workflow.

01

Is the order already right?

Nothing is sorted for you. I dropped 10.pdf, 2.pdf and 1.pdf into the queue and it showed 10, 2, 1 — then merged them in exactly that order. Files coming out of a scanner or a folder sort alphabetically, which puts 10 before 2 and buries the appendix in the middle. Rename with zero padding (01_cover, 02_body … 10_appendix) or drag the rows. This is the single most common merge error, and it is invisible until a reader hits page 7.

02

Does anything on the document need to survive?

A merge copies pages. Bookmarks, form fields, the title, the author and the page labels belong to the document, not to the page, and they are not copied. I built a test PDF with a title ("Quarterly Report Q3"), an author, keywords and one fillable field, merged it with a second file, and read the output back: title null, author null, fields 0. If the output must stay fillable or keep its bookmark tree, merge first and rebuild second — or do not merge at all.

03

Is a signature involved?

A digital signature is a cryptographic hash of the bytes that existed at signing time. Adding even one page changes the byte range, so every signature in every input file reads as invalid after a merge — the visible stamp may still be drawn on the page, which makes this worse, because the document looks signed while the reader says it is not. Merge before signing, never after. If a counterparty already signed, you cannot merge without breaking their signature; send a ZIP.

04

Will the tab hold it?

A browser merge peaks at roughly 4× the total input in one tab, or 6.5× with the compress tick on, plus 50 MB of headroom. Four hundred megabytes of colour scans therefore wants about 2.6 GB of tab memory — more than a phone and most laptops will grant. Stay under half your tab budget and the run is boring; cross it and the tab disappears without an error message to explain why.

05

Do the page labels matter?

Front matter is often numbered in roman numerals with a "Cover-" prefix. That numbering lives in a single document-level dictionary, and it does not survive: my test file had page labels before merging and none afterwards. The visible text on the page is untouched, but any reader that shows "iii" or "A-12" in its page box will now show plain 1, 2, 3. If the numbering is part of the deliverable, re-apply it after the merge with Add Page Numbers — it writes real page numbers into the content, so they survive anything.

The one-line version

Order and page count you can fix after the merge. Fields, signatures, labels and size you cannot. Decide those five things before you press Merge PDFs, and the rest of this guide is just detail.

02What travels with a page, and what stays behind

A PDF is a page tree hanging off a catalogue. Merging copies the pages and leaves the catalogue.

Open any PDF and you find two kinds of objects. The page objects hold content: a content stream, a resource bag of fonts and images, a size, a rotation, and an array of annotations sitting on top. The catalogue holds everything that describes the document as a whole: the page tree itself, bookmarks, page labels, form fields, attachments, encryption, and the "this document is signed" machinery. A merge copies the first kind. It has no instruction for the second, so the second disappears.

That is the whole explanation for the table below. It is also why "merge keeps quality" and "merge loses my bookmarks" are both true statements about the same operation.

Inside the file Where it lives After a merge How I know
Text, images, vector art Page content stream Intact — copied, not redrawn Measured: output pages render identically, no re-encoding
Page size and rotation Page dictionary Intact, and sizes may mix Measured: 595×842 and 842×595 came out side by side
Links, highlights, sticky notes Page /Annots array Intact, they ride the page Measured: 2 annotations in, 2 out
Page labels (i, ii, A-12) Catalogue /PageLabels Lost Measured: dictionary present before, absent after
Title, author, keywords /Info plus XMP metadata Lost Measured: "Quarterly Report Q3" in, null out
Form fields Catalogue /AcroForm Lost — pages keep the box, not the field Measured: 1 field in, 0 fields out
Bookmarks Catalogue /Outlines Lost Code: only page objects are copied
Digital signatures /AcroForm plus a byte range Broken, even if the stamp still shows Spec: the hash covers bytes you just changed
File attachments Catalogue /Names Lost Code: same catalogue gap as bookmarks
Optional layers (OCG) Page /Properties to catalogue Unreliable Not tested — flatten layered files before merging
Encryption Trailer /Encrypt Removed after the password unlock Code: each file is unlocked before it is read

Two rows deserve a longer sentence, because they cause the most damage in practice.

Form fields. The pages keep their printed boxes and any values already drawn onto them, but the interactive layer is gone: no tab order, no validation, no checkbox. If a client has to fill something in, merging is the wrong operation and a page reorder inside the original file, or a ZIP of the untouched files, is the right one.

Signatures. A signature is not an image of a signature. It is a hash across the file, so a single added page invalidates it even though the visible stamp survives the copy. Every signature-validation tool will report the document as modified. There is no workaround other than merging before signing.

Zero quality loss, honestly stated

Content quality is untouched — nothing is rasterised or re-compressed. The file is rewritten, though, so its bytes and its metadata are new. "No quality loss" is a claim about pixels and glyphs, not about the file being identical.

03The four controls that change the result

Everything else in the panel is cosmetic. These four decide what comes out.

The Merge PDF tool exposes more switches than most mergers, and it is worth knowing which ones actually alter the file. Four do. The rest either change how the panel looks or change nothing at all.

1. Row order

Drag a row by its grip, or use the touch drag on a phone. The vertical position of a file in the list is its page offset in the output — there is no separate "sort" step and no alphabetical pass afterwards. The queue number on each row is the only confirmation you get that the order is what you think it is.

2. The page range box

Each row has a small field, empty by default, meaning "all pages". Anything you type is parsed per file — 1-5, 8, 10-12 — and only the pages you name are copied. This is the control with the most hidden rules, and section 07 is entirely about them.

3. Merge mode

Merge Files produces a normal multi-page PDF: one output page per input page. Merge into One Page flattens every page onto a single giant canvas — a different file with different geometry, covered in section 06. One-page mode also accepts a single input file, while Merge Files mode needs two.

4. The compress tick

Off by default, and the default is the right choice for text. When ticked, the merged file is passed through Ghostscript in the same tab at one of five levels (300, 150, 120, 72 or 50 DPI). It is the only control that alters pixel data, and the only one that can make the output smaller than its inputs.

In one-page mode two extra fields appear — direction (vertical or horizontal) and gap (in points). They only exist for that mode, and the gap is added after every page, including the last, which is why the numbers in section 06 come out slightly larger than a hand calculation.

What the panel deliberately does not have

An honest tool should say what it will not do for you. This one does not: sort files by name or date; insert a blank page between documents; build a bookmark per file; add page numbers; set a title or author; keep form fields interactive; or remember your last settings between visits. Each of those is a separate job with a separate tool, and pretending otherwise is how mergers end up silently damaging documents.

Order of operations that works

Merge → number the pages → compress if the file is heavy → protect last. Compressing before numbering costs you a second pass, and protecting before merging makes the files unreadable to the merger. The workflow builder exists for exactly this chain.

04How to merge, step by step

Three steps, about fifteen seconds for a normal document set — plus one verification step nobody skips twice.

01

Add the files

Drag them onto the drop zone, click Browse, or pull them from Google Drive or Dropbox. On a phone the Drive button opens your device's own file picker, so you can select several files from Drive at once without a Google sign-in prompt. Adding the same file twice is a no-op: the queue compares name, size and modified time and refuses the duplicate. Nothing is uploaded while you do this.

Merge PDF upload dropzone highlighted
02

Set the order, then the options

Drag rows by the grip until the top row is your first document. Type a range into a row if you want only part of that file. Pick Merge Files for a normal document or Merge into One Page for a single long canvas. The page counter under the button re-reads every file as you go, so the number you see is the number you will get — if it says 9, the merge will produce 9 pages, and a discrepancy means a range is excluding more than you intended.

Merge mode dropdown in merge PDF tool
03

Merge, check, download

Merge PDFs stays disabled until the queue has two files in Merge Files mode (one is enough in one-page mode). The run copies files one at a time and names the file it is working on, so a slow run is visible rather than frozen. When the done card appears you get the output size and the real page count — compare that page count against your arithmetic before you download, because a file that contributed zero pages is reported in a toast that disappears in a few seconds.

Merge PDF and download buttons highlighted
The verification nobody skips twice

Open the downloaded file, jump to the last page, and count the section starts against your list. A range typo does not produce an error — it produces a shorter document that looks fine until someone asks for the missing invoice. One minute here saves a re-send with an apology attached.

05Two Files, One PDF — Animated Merge Demo

Hit play and watch a simulated run — upload two PDFs, drag to reorder, set a page range, confirm merge mode, and download. About 22 seconds.

SIMULATED SCREEN RECORDING • 0:22
Ready — hit play0:00 / 0:22

06Combine vs one page: the actual geometry

One of these modes copies pages. The other invents a new page size, and the numbers are predictable to the point.

Merge Files is the ordinary merge: N input pages become N output pages, each keeping its own width, height and rotation. Mixed sizes are legal in a PDF and every reader handles them, so an A4 report with a landscape statement in the middle is not a problem — it just looks like what it is.

Merge into One Page is a different operation pretending to be a checkbox. It creates one canvas and draws every input page onto it, which means the ink is re-embedded and the page size is computed from the content. I ran it on a fixed set — three A4 pages (595×842 pt) plus one landscape page (842×595 pt) — at two gap settings and two directions, and read the output page box each time:

Direction Gap Output page (pt) Where the number comes from
Vertical 10 pt 842 × 3161 3,121 pt of stacked heights + 4 gaps of 10
Vertical 0 pt 842 × 3121 Sum of the four page heights, nothing added
Horizontal 10 pt 2667 × 842 2,627 pt of stacked widths + 4 gaps of 10
Horizontal 0 pt 2627 × 842 Sum of the four page widths, nothing added

So the rules are mechanical. Vertical: height is the sum of every page height plus one gap per page, width is the widest page. Horizontal: width is the sum of every page width plus one gap per page, height is the first page's height. The gap is applied after the last page too, which is why 3,121 becomes 3,161 rather than 3,151.

Two consequences are easy to miss. Pages are placed flush left (vertical) or flush top (horizontal), never centred, so a 595 pt page inside an 842 pt canvas leaves 247 pt of white space on the right edge. And a single page has a hard ceiling: the PDF spec allows 14,400 units per side, about 200 inches. At 842 + 10 pt per row, 16 A4 pages fit and 17 do not — past that the file is technically out of spec and viewers will clamp or refuse to render it.

Use it for what it is

One-page mode is for screen artefacts: a contact sheet of a photo set, a long receipt run, a comparison strip. It is not a way to "flatten" a report — it prints on nothing, and it throws away per-page size information that a printer needs. For anything destined for paper, use Merge Files.

07Page ranges decoded: 14 inputs, measured

The range box has no error messages. It has rules. Here is what it actually does with each of them.

I merged a 3-page file with a 6-page file and typed a different value into the second file's range box for every run, then read the page count out of the finished PDF. Fourteen runs, fourteen results. The "total" column is the output page count for the whole merge, so the 3-page file always contributes its three pages unless the range empties it.

You type Pages taken from the 6-page file Total pages out What the parser did
(empty)69Empty means every page
all69The word "all" is accepted, any case
1-558Inclusive on both ends
2,4,6-9366-9 clamps down to 6, so pages 2, 4, 6
9-347Backwards range is swapped to 3-6
003Pages start at 1; 0 matches nothing, file drops out
99903Out of range, ignored, file drops out
3,1,236Sorted ascending: you get 1, 2, 3
1-114A one-page range is valid
-303Not a range (no start digit), ignored
1,1,114Duplicates collapse into one page
" 2 , 4 "25Spaces are trimmed around each part
abc03Nothing parseable, file drops out
2-03Trailing hyphen breaks the pattern, ignored

Five of those fourteen runs produced a document with a file missing from it, and not one of them showed an error dialog. That is the real hazard here, and it is worth reading the parser's rules in plain language:

01

It splits, trims, and looks for two shapes

The string is cut on commas, each piece trimmed, empty pieces dropped. A piece must then be all digits (7) or digits-hyphen-digits (3-5). Anything else is discarded without complaint — which covers abc, 2-, -3, 1,2, and every unicode dash pasted in from Word.

02

Single pages are range-checked, ranges are clamped

A bare number outside 1…page count is thrown away. A range is different: it is swapped if backwards, then clamped — start up to 1, end down to the last page. So 6-9 on a 6-page file quietly means 6, and 9-3 quietly means 3,4,5,6. Neither is an error, and both change the page count you expected.

03

Results are de-duplicated and sorted

Pages are collected into a set and then sorted ascending, which is why 3,1,2 gives 1, 2, 3 and 1,1,1 gives one page. A range box selects pages; it never resequences them. There is no way to say "page 5, then page 1" from this field — reorder after the merge, or split and re-merge.

04

An empty result drops the file, not the run

If the surviving set has zero pages, that file is skipped with a five-second toast and the remaining files merge anyway. The done card then shows a perfectly valid PDF containing fewer pages than you planned. This is a deliberate choice — one bad range should not cost you the other thirty files — but it puts the verification step squarely on you.

Numbering restarts per file

Ranges are read against each file's own pages, starting at 1. Page 30 of the merge has nothing to do with a range you typed; if you want only the last two pages of the second file, you need that file's own count, not the running total.

08What merge does to file size

A merge is close to size-neutral. If your output is much smaller, something was compressed; if it is much larger, something went wrong.

Because pages are copied rather than re-encoded, the output should weigh about as much as the inputs added together. I measured three cases with real bytes on disk:

Run Input total Output Ratio What it means
Two text PDFs
9 pages, vector only
9.3 KB 8.4 KB 90.4% Slightly smaller: the rewrite drops unused objects
Mixed set
3 text pages + 2 scan pages + 1 landscape
3,961 KB 3,960 KB 100% Byte-for-byte page content, only container overhead changes
Same set, compress on
150 DPI, then 72 DPI
3,961 KB 431 KB 10.9% Ghostscript re-encodes the images; 12.5 s in-tab

Two honest footnotes on that third row. The 150 DPI and 72 DPI presets produced byte-identical output on this set — a preset label is a threshold, not a promise, and the only size that counts is the one after your own file. And the 12.5 seconds is engine time plus a one-off download of the compression engine itself, so a second run on the same tab is faster than the first.

Since the merge itself adds essentially nothing, there is no reason to compress a text-only document: Compress PDF on vector pages mostly rewrites the same instructions and can even grow the file. Compression earns its time on scans and photos, where the weight is pixels, not instructions.

A size rule you can predict

Estimate the output as the sum of the inputs and you will be right to within a few percent. A merge that comes out at 30% of the input means an image was downsampled somewhere; a merge that comes out twice the size means the same page was included twice. Both are worth opening before you send.

09What gets dropped, and what you can do about it

Four things disappear in a merge. Three have a repair path. The fourth does not exist yet.

Section 02 lists what stays and what goes. This section is the practical half: for each loss, whether it is recoverable and what the recovery costs. It is also where the most stubborn myth about merging lives — that Acrobat "keeps" your bookmarks.

Bookmarks

Not copied — the outline tree lives in the catalogue. Acrobat's Combine Files does not preserve your source tree either; it can add a fresh one-level bookmark per file, named after the file, via the "Always add bookmarks" option in its Options dialog (on by default in most builds). That is why people believe bookmarks survive: they see a bookmark pane, just not their own structure. Here you get no bookmarks at all, so budget a minute to rebuild them if the document is longer than ~20 pages.

Page labels

Gone, as measured. The cheap fix is to write real page numbers into the pages instead of relying on the reader's label strip — Add Page Numbers does this in seven formats including roman numerals, with a starting number and a skip-first-page option. Numbers written into the content survive every later operation, which labels never did.

Title, author, keywords

The output has an empty title, so the browser tab and many mail clients show the filename instead of the document name. Set it once in a reader (File → Properties) or rename the file carefully — "merged_document.pdf" is a name your recipient will judge you by. Keywords and subject are mostly cosmetic; the title is not.

Form fields

Not recoverable after the fact. The printed boxes travel with the page, the interactive field does not, so a merged form is a picture of a form. If someone has to type into it, merge the attachments instead of the pages — keep the fillable file separate and send a ZIP, or merge only the non-fillable parts.

Password-protected files

A locked PDF is handled per file, not per run: the merger asks for the password, decrypts that file in memory, and carries on with the rest of the queue. Get the password wrong and that file is skipped while the others merge — the same failure shape as a bad page range.

Two honest warnings. First, decrypting removes the file's permission flags as well as its password — a document marked "no printing, no copying" comes out unrestricted, because the restrictions were part of the encryption that was just stripped. Second, the merged output is not protected: if the result needs to stay locked, that is the last step, with Protect PDF. Merging first and protecting last is the only order that works.

If you don't have the password

No merger can help, and any site claiming otherwise is either guessing passwords or lying. The file is encrypted with a key derived from that password; there is no page data to copy until it is decrypted. Ask the sender for an unlocked copy — that request is normal and takes a minute.

10Mac, Windows, phone: the honest comparison

Every platform has a way to merge. Only some of them copy pages instead of re-rendering them.

The platform question is not "which one is free" — most are. It is whether the method copies page objects (like this merger does) or prints them into a new document. Printing goes through a rendering pipeline: links and form fields are lost, and image quality depends on the driver's resolution. Copying keeps everything the page itself contains.

Method Copies or re-renders Order and ranges Reality check
This tool
browser, any OS
Copies Drag rows, per-file ranges, two modes Needs a modern browser and enough tab memory; nothing is uploaded
Acrobat
Combine Files
Copies Reorder, page ranges per file The one mainstream tool that rebuilds a bookmark per file; paid
Preview
macOS
Copies Drag thumbnails in the sidebar Free and offline; no page-range box, and large sets get slow
Print to PDF
Windows
Re-renders Whatever Explorer hands the driver Prints page by page: links gone, sizes forced to the paper setting
qpdf / Ghostscript
command line
Copies Exact, scriptable Best for 500 files; also drops document-level structures

On a phone, this tool behaves the same as on a laptop, with two practical differences. The Google Drive button opens your device's own file picker instead of a Google sign-in dialog, so multi-select works from Drive on Android and iOS without an OAuth consent screen. And memory is the hard limit: a phone tab is often given 200–400 MB, so a 60 MB set of scans is comfortable while a 200 MB set is not.

One Windows caveat worth stating plainly: there is no built-in merge in Windows itself. The "select several PDFs → right-click → Print" trick only appears when a PDF application has registered a print handler, and it sends every page through the print driver. For a scanned invoice that is fine. For a signed contract it destroys exactly the thing you needed to keep.

The rule of thumb

If the pages must arrive byte-faithful — links working, text selectable, images untouched — use a copy-based merge (this tool, Preview, Acrobat, qpdf). If you only need something that looks right on paper, any of them will do.

111 GB, memory, and the crash boundary

The file-size limit is not the limit you will hit. The tab's memory is, and it is five times smaller in some browsers.

Three different ceilings apply to a single merge, and they are easy to confuse. The first is per file: anything over 1 GB is refused outright. The second is the device guard, which caps each file at roughly 200–300 MB depending on what the browser reports about your machine. The third — the one that actually decides large runs — is working memory for the whole queue.

Before the merge starts, the tool estimates the peak: total input × 4, or × 6.5 with the compress tick on, + 50 MB of headroom. It compares that against the tab budget, which is either 80% of the browser's reported heap limit or a fallback tier of 200, 400, 800 or 1,500 MB. Same hardware, different browser, very different verdict:

Queue Compress Estimated peak Phone tab (~200 MB) Desktop, tier fallback (800 MB) Chrome desktop (heap query, ~3.4 GB)
50 MB of text PDFsOff250 MBBlockedRunsRuns
150 MB of mixed reportsOff650 MBBlockedRunsRuns
40 MB of scansOn310 MBBlockedRunsRuns
400 MB of scansOff1,650 MBBlockedBlockedRuns
400 MB of scansOn2,650 MBBlockedBlockedBlocked

That last row is the honest one. Compressing after the merge does not save memory — it adds a second engine that needs roughly three times the merged file plus 50 MB of its own. A 400 MB scan set cannot be merged-and-compressed in one tab on any device I have tried; the correct sequence is merge, download, then compress the result as a separate step.

When the estimate fails, the merge does not start and you get a specific message rather than a hang: "Not enough working memory: these files (… total) need ~… while this browser tab allows ~…. Merge fewer or smaller files…" If compress was ticked and the merged file turned out too big for Ghostscript, the run still completes and tells you: "Merged file too large to compress on this device (…) — downloading uncompressed merge." Both are recoverable. The unrecoverable case is ignoring the estimate — the tab goes away, taking the queue with it.

Working limits, not marketing ones

For a smooth run: keep the queue under 200 MB per merge on a laptop, 50 MB on a phone, and split anything bigger into two runs with a page range. Splitting is free — the pages end up in the same order either way.

12Message decoder: every failure I could reproduce

Six sentences cover almost every failed merge. Here is each one, in its own words, with the cause behind it.

I fed the merger broken input on purpose — a truncated PDF, a zero-byte file, a text file, an out-of-range page string — and copied the messages out verbatim. The wording matters, because two of them mean "nothing was added" while two others mean "the merge ran and quietly left something out".

What you see What actually happened What to do
"notes.txt" is not a PDF file. The whole pick was rejected — one non-PDF rejects every file in that drop Add the PDFs again on their own; convert the other file first
"empty.pdf" is not a valid PDF file. Detected as plain text. Zero bytes, or a file whose header is not %PDF The download never finished; fetch the file again
Skipped bad.pdf: This file appears to be corrupted or not a valid PDF. A real PDF truncated mid-file — page tree unreadable Repair or re-export the source; the rest of the queue still merged
"big.pdf" exceeds 1GB browser limit. Per-file cap, checked before any parsing Split the file, or compress it before merging
No valid pages for report.pdf Its range matched nothing, so the file contributed zero pages Check the range against that file's own page count (section 07)
No pages to merge. Check page ranges. Every file in the queue ended up empty Clear the range boxes and run again
Add at least 2 files to merge. Merge Files needs two inputs; the button stayed disabled Add a second file, or switch to one-page mode, which accepts one
PDF library failed to load. Check your internet connection. The local engine file did not arrive — blocked network or offline tab Reload once the connection is back; nothing was uploaded meanwhile

The pattern worth memorising: four of these leave a valid PDF behind. A skipped file, an empty range, a duplicate, a compression fallback — in each case the download button lights up and the document looks finished. Only the first four messages stop the run before it starts.

Two things that never happen

The tool never sends your file anywhere to "check" it, and it never silently drops pages without a message — every omission is announced, just briefly. If you missed the toast, the page counter on the done card is the receipt: compare it with your own arithmetic before you send the file on.

13A batch recipe that survives 40 files

Forty statements in one queue: what it costs, and the three mistakes that turn a batch into a re-run.

I ran the obvious case — 40 one-page bank statements, 47.2 KB in total, dropped in one go — and timed each phase in the panel. This is what a real batch looks like:

Phase Measured What it tells you
Adding files6.5 s for 40 filesMost of it is queue rendering and reading each file's page count
Merging10.0 sRoughly 250 ms per file, dominated by parse-and-copy
Output40 pages, 20.2 KBSmaller than the 47.2 KB input: per-file container overhead disappears

Those numbers are for text. A batch of scans is bound by memory rather than time, and section 11 is the set of limits that decides it. The procedure below is the one I use, in order, because each step catches a different failure.

01

Size the run before you select the files

Add up the folder's size, multiply by 4 (6.5 with compress on), add 50 MB. If that number is more than half your tab's memory, split the folder into two runs and use a page range to trim the seam. Splitting is free: the pages end up in the same order as one big run.

02

Zero-pad the names first, not the order later

Rename to 01_, 02_ … 40_ before you touch the tool. It costs ten seconds in a file manager, it makes the queue readable at a glance, and it means a crash mid-run can be reproduced exactly by re-dropping the same folder. Drag order is not saved anywhere.

03

Drop everything at once, then read the page counter

Adding 40 files in one drop is faster than 40 drops, and the duplicate check makes a repeated drop harmless — the queue compares name, size and modified time. Watch the page counter rather than the file count: 40 statements of one page read 40, and a statement that silently contains two pages reads 41, which is your cue to look before merging.

04

Merge once, then compare two numbers

The done card reports the page count and the size. If it disagrees with the counter you just read, a file dropped out and the toast that said so has already faded. Re-run only the affected file with its own range and merge the pieces — you do not have to start the batch again.

The three mistakes that cost a re-run

Files numbered without zero padding (10 lands before 2). A range box left over from testing on one row, silently emptying that file. And a mixed folder where one .txt or .docx got included — a single non-PDF rejects the entire drop, not just that file.

14When merging is the wrong answer

Seven situations where a merge looks like the fix and quietly creates a worse problem.

A merger is a page copier. That makes it a great tool for assembling a report and a bad tool for anything that depends on the document staying what it was. These are the cases I would refuse to merge, and what I would do instead.

Anything already signed

Merging is a byte change, so every signature in the inputs stops validating while the visible stamp survives. The recipient sees a signed-looking document that their reader flags as modified, which is worse than an unsigned one. Send the signed files as a ZIP, or merge first and sign the result with one signature covering the whole thing.

Forms that must stay fillable

Fields do not survive (measured: 1 field in, 0 out). If a client has to type into it, keep the fillable file intact and send it alongside the merged bundle. Merging a fillable form produces a picture of a form.

Mixing confidential with public

This one has no undo. Merge an internal memo into a client-facing pack and every copy you ever send carries the memo — the merge does not mark pages, and deleting the page later does not delete the copies. If the two things must travel together, keep them as two files, or watermark the confidential part so it cannot be mistaken for the rest.

Portals with a hard size cap

Merging does not reduce size: the output is the sum of the inputs to within a percent. If a portal wants 5 MB and your six files total 12 MB, merging gives you a 12 MB file that is rejected in one upload instead of six. Compress the scans first, then merge.

Long documents that need navigation

A 200-page merged PDF with no bookmarks is harder to use than six well-named files, because the reader has no map. Merge only if you will add the bookmark tree afterwards; otherwise a folder with a numbered index beats one giant file.

Records with legal page numbering

If page labels are part of the record (exhibit numbering, "A-12"), merging destroys them. Number the pages with real page numbers after the merge — or, if the labels must be preserved exactly as issued, do not merge at all.

Inputs that are not PDFs yet

The picker accepts .pdf and nothing else, and there is no converter hidden behind it. Photos, Word files and spreadsheets have to be converted first: a set of JPGs becomes one PDF through Combine Images, .docx through Word to PDF, .xlsx through Excel to PDF — and only then does the result join the queue. For a photo set the conversion matters more than the merge, because resolution and page size are decided there, not here.

The test I use

Ask one question: does anyone need to treat this as several documents later? If yes — signed, fillable, confidential in parts, or referenced page by page — keep them separate and zip them. If no, merge with confidence.

15Browser, desktop, or command line

Choose by scale and consequence, not by which one you happen to have open.

There are four honest ways to merge a PDF, and each one is right for a different size of job. The interesting part is not the feature list — it is what each method does to the file, and how much of your afternoon it costs.

This tool — up to a few hundred MB

Right answer for a one-off: a handful of files, a page range or two, a document that should not leave your machine. Copy-based, no upload, no account. Wrong answer when you need a bookmark tree, or when the queue is bigger than your tab's memory allows.

Acrobat — when navigation matters

Combine Files is the only mainstream merger that can rebuild a bookmark per input file (an option in its dialog, on by default in most builds). If a 200-page deliverable needs a clickable map, that feature alone is the reason to pay. It can also write a PDF Portfolio instead of merging pages.

Command line — batches and automation

For 500 files, or the same 40 files every month, a script is not overkill — it is the only version you can run twice and trust. The commands below are copy-based and scriptable, and they cost nothing.

Portfolio / ZIP — when they must stay separate

A PDF Portfolio keeps the original files inside one PDF without merging their pages: signatures stay valid, forms stay fillable, nothing is flattened. A ZIP does the same job without the PDF wrapper. If the answer to "must these stay separate?" is yes, this is the format you want.

The four commands worth keeping

Tool Command What it does to the file
qpdf qpdf --empty --pages a.pdf 1-3 b.pdf 4-6 -- out.pdf Pure page copy with ranges, closest CLI equivalent to this page
pdfunite pdfunite a.pdf b.pdf out.pdf Whole files only, no ranges; part of Poppler
pdftk pdftk a.pdf b.pdf cat output out.pdf Page copy, plus metadata and form handling
Ghostscript gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf a.pdf b.pdf Not a copy: rewrites content and re-encodes images

That last row matters. Ghostscript's pdfwrite device is a converter wearing a merger's clothes: it produces a clean, sometimes much smaller file, but the output is a re-render, so image quality is now a setting you own and interactive elements are at its mercy. Use it when you want small and uniform; use qpdf when you want faithful.

A decision rule that holds up

One job, under 200 MB, no bookmarks needed → this tool. Needs bookmarks or a portfolio → Acrobat. Repeats on a schedule or exceeds 200 files → a script. Must remain individually valid → ZIP or portfolio, do not merge at all.

16What "in your browser" actually means

A claim you can check in thirty seconds beats one you have to trust.

Every browser-based tool says "your files never leave your device". Some of them mean it. The difference is architectural, not a marketing choice: a tool that merges in the tab loads a PDF library and does the work in JavaScript, while a tool that uploads streams your file to an endpoint and waits. You can tell which one you are using without reading a privacy policy.

Open DevTools on the Network tab, filter to Fetch/XHR, and merge a file. A local merger shows nothing but script and font requests. An upload-based merger shows a POST carrying megabytes — and your document is now a copy on someone else's disk, waiting to be deleted on a schedule you cannot see.

What runs here

pdf-lib parses each file inside the tab, copies the pages, and builds the output in memory. Ghostscript, when you tick compress, is also a local WebAssembly build. The bytes of your document are read from and written to your own disk.

What the network does see

The page, its fonts, the PDF engine files, and analytics that record that a page was visited — never the file itself. Your document's name, size and content are not part of any request.

Where the claim stops

Two things do travel on request: importing from Google Drive or Dropbox fetches the file from the provider, and uploading the finished merge sends it there. Both are explicit button presses, and both go straight to the provider — no server of ours sits in the middle.

The site-wide caveat

This site runs 56 tools; 54 process locally and 2 file converters (Excel to PDF, PowerPoint to PDF) send the file to a conversion service because no reliable in-browser engine exists for them. Those two pages say so on the page, which is the standard the rest should be held to.

One more thing worth knowing

Merging does not redact. If a page contains a name you wanted hidden, copying that page copies the name — hidden text, metadata and white-on-white text included. Remove the content in the source, then merge. A black rectangle drawn over text is a picture of a rectangle.

17Frequently Asked Questions

The questions that come up after the first merge, answered with what the tool actually does.

No. Pages are copied, not re-rendered, so text stays vector-sharp and a 1000×1400 scan stays 1000×1400. What does change is the file: it is written fresh, so metadata and document-level structures are gone. Measured on a mixed set, 3,961 KB in produced 3,960 KB out — a merge is size-neutral, not lossy.
No. Bookmarks, form fields, page labels and the title/author all live in the document catalogue, and only pages are copied. I measured it: a PDF with the title "Quarterly Report Q3" and one fillable field came out untitled with zero fields. Link and note annotations do survive, because they belong to the page.
Because its page range matched nothing. The range box has no error state: a value the parser cannot resolve (0, abc, 999, or a dash on its own) leaves that file with zero pages, and a zero-page file is dropped from the merge while the rest of the run continues. The finished card still reports success - the missing pages are the only symptom. Section 07 has the 14 measured inputs.
Because it is the sum of its inputs — merging stacks pages, it does not recompress them. Measured: 3,961 KB of scans merged to 3,960 KB, and the compress tick took the same set to 431 KB (10.9%) in about 12 seconds. Compress after merging rather than before, and only when the weight is images; text-only files barely move.
Two limits, and the second one is the real one. 1 GB per file is the hard cap. Working memory is the practical cap: the merge peaks at about 4× the total input (6.5× with compress) plus 50 MB, and a phone tab may only allow 200-400 MB. Keep a laptop run under ~200 MB, a phone run under ~50 MB.
No. The order you add files is the order they appear, and the order they appear is the order of pages. Picking 10.pdf, 2.pdf, 1.pdf keeps exactly that sequence. Rename with zero padding before a big batch, or drag the rows.
The password opens the file; it does not protect the output. Each locked PDF asks once and is decrypted in memory, and its permission flags (printing, copying, editing) leave with the encryption - the merged result is a brand-new document with no password and no restrictions. Protect the finished file afterwards if it needs to stay locked.
Yes. A signature is a hash of the file's bytes, so adding a page invalidates it even though the visible stamp is copied onto the page. Sign after merging, never before — or send the signed files as a ZIP so their signatures stay valid.

Merge Your PDFs Now

Combine multiple PDFs into one document instantly. No uploads, no quality loss, completely free.

Open Merge PDF Tool

Key Takeaways

Karan Kumar, Founder of AFFLIGO

Karan Kumar

Founder & Web Developer at AFFLIGO

Karan built AFFLIGO's Merge PDF engine on pdf-lib with drag-reorder, page-range selection, mixed-orientation support and batch ZIP output — all client-side. He tests every release on mixed text/scan batches, verifying page order and quality in two readers before calling a merge clean.

Last reviewed: October 30, 2026