PDFly · Blog

How to Merge PDF Files Without Breaking Formatting

Merging PDFs sounds like it should take ten seconds, and usually it does. The version of this task that goes wrong is the one where pages come out in the wrong order, a landscape spreadsheet gets squished to fit a portrait page, or the tool stamps a watermark on something you needed to send to a client. Here's what actually determines whether a merge holds up, and what PDFly's Merge PDF tool does about it.

Why merging comes up more than you'd expect

It's rarely just two files that need combining. It's a report split across several departments' exports, a portfolio where every project was saved separately, or an application portal that only accepts one upload when you've got a resume, transcript, and cover letter as three different files. None of these are complicated on paper — what makes them annoying is that the same few things go wrong every time if you're not watching for them.

What to check before you merge

Mixed page orientations. If you're combining a portrait report with a landscape spreadsheet, check that your merge tool preserves each page's original size and orientation rather than forcing everything into one shape.

Scanned pages mixed with text pages. A scanned document is just an image. Merging it alongside a regular text-based PDF doesn't make the scanned pages searchable — they stay images in the combined file. If you need the whole thing searchable, run OCR PDF on the scanned portion separately.

Combined file size. Merging several already-large PDFs adds up fast, and a file that's too big to email is a common way to lose an afternoon. If that happens, compress the merged result rather than trying to shrink each source file individually first.

How PDFly's Merge PDF tool works

PDFly's Merge PDF tool runs entirely in your browser using the pdf-lib library — your files are never uploaded to a server. Drag your PDFs in, then drag the thumbnails to reorder them: the tool doesn't auto-sort by filename or date, so it combines files in whatever order they end up in, not an order it infers for you. That's worth double-checking every time, since it's the single most common way a merge comes out wrong. Once the order looks right, hit merge and download — page sizes and orientation are preserved as-is.

What merging doesn't do

A few things are worth knowing going in, straight from the tool's own documented limitations: if two source files have form fields with the same name, the merged result can behave unpredictably rather than combining them cleanly. Bookmarks from each source file aren't automatically combined into one unified table of contents. And very large combined files — hundreds of megabytes — can be slower to process, since the merge happens in your browser's memory rather than on a server.

A couple of habits that save real time

PDFly's Merge PDF tool doesn't auto-sort your files by filename or date — whatever order you drop them in is the order they'll merge in, so you always need to drag the thumbnails into place yourself. Naming source files with a number prefix — "01-cover-letter.pdf", "02-pricing.pdf", "03-case-study.pdf" — at least makes it obvious at a glance which file is which while you're reordering, even though the tool won't do the sorting for you. And always open the finished file and skim through it before sending it anywhere that matters. It takes thirty seconds and it's the only way to catch a stray page from the wrong file before your recipient does.

Other ways to merge, if you'd rather not use a browser tool

If you're on a Mac, Preview — the default app that opens PDFs — can merge files: open one PDF, switch to the thumbnail sidebar, and drag additional PDFs in. It works well for a couple of files and lets you reorder pages afterward. On Windows, several free desktop apps handle merging offline if you'd rather nothing touch a browser at all, even briefly — it's worth checking each one's file-count limits and whether it adds a watermark before relying on it, since those details vary by app and version and change over time.

Frequently Asked Questions

What order do merged pages come out in?

Whatever order you dropped or uploaded the files in — not an order the tool infers for you. Most merge tools let you drag thumbnails to reorder before you finalize, which is worth double-checking every time.

Will merging PDFs with different page orientations look wrong?

It can — some tools rotate or squeeze pages to force a uniform shape. A good merge tool preserves each page's original size and orientation instead of distorting anything.

Can I merge scanned PDFs with regular text-based ones?

Yes, but the scanned pages will still just be images in the result — merging doesn't make them searchable. You'd need OCR separately if you want the scanned pages to have selectable text.

Why did my merged file get too big to email?

Combining several large files simply adds up. If the merged result is too big to send, compress it afterward rather than trying to shrink each source file individually.

A

Ayaz