SaveVex
All PDF Tools(17 tools)
Merge PDF
Split PDF
Compress PDF
PDF to JPG
JPG to PDF
Rotate PDF
Watermark PDF
Organize PDF
PDF Page Numbers
Protect PDF
Unlock PDF
Crop PDF
OCR PDF
Repair PDF
Sign PDF
Soon
Scan to PDF
PDF to Markdown
View all pdf tools
All Image Tools(11 tools)
Compress Image
Resize Image
Convert Image
Crop Image
Rotate Image
Flip Image
Watermark Image
Blur Image
Image to PDF
Add Border
Remove Background
View all image tools
All Video Tools(11 tools)
Compress Video
Convert Video
Trim Video
Merge Video
Crop Video
Rotate Video
Resize Video
Video Speed Controller
Reverse Video
Extract Audio
Video to GIF Converter
View all video tools
All Audio Tools(4 tools)
Convert Audio
Merge Audio
Trim Audio
Change Volume
View all audio tools
All Document Tools(10 tools)
Word to PDF
PDF to Word
Excel to PDF
PDF to Excel
PowerPoint to PDF
PDF to PowerPoint
Text to PDF
HTML to PDF
Markdown to PDF
CSV to PDF
View all document tools
All Text Tools(7 tools)
Word Counter
Case Converter
Remove Duplicates
Sort Lines
JSON Formatter
Base64 Encoder
URL Encoder/Decoder
View all text tools
All Utility Tools(7 tools)
QR Code Generator
Color Picker
Hash Generator
UUID Generator
Timestamp Converter
📝
Lorem Ipsum Generator
Password Generator
View all utility tools
← Back to Blog

What I Learned Building a PDF Merger: The Details Most Guides Skip

Real insight from building the SaveVex PDF merge tool — why page ordering matters, how mixed page sizes work, and the mistakes that make merged PDFs look broken.

GuideJul 6, 2026·5 min read

What I Learned Building a PDF Merger: The Details Most Guides Skip

When I set out to build SaveVex's PDF merge tool, I thought it would be straightforward: take pages from file A, append pages from file B, done. It wasn't that simple. Merging PDFs correctly means handling mixed page sizes, preserving hyperlinks, maintaining searchable text, and keeping file sizes reasonable. Here's what building that tool taught me — and what it means when you're merging your own documents.

The First Thing That Surprised Me: Page Order Is Everything

It sounds obvious, but the most common merge mistake I see isn't technical — it's ordering. Someone drags in five files, hits merge, and only later realizes Chapter 3 landed before Chapter 2. By then, they've already sent the document.

My advice, born from seeing this happen repeatedly: name your files with numeric prefixes before you even open the merge tool. 01-Introduction.pdf, 02-Methods.pdf, 03-Results.pdf. It takes 30 seconds and eliminates ordering errors entirely. The tool will sort by filename, and you'll know at a glance that everything is in sequence.

If you don't rename files beforehand, at least drag them into position one by one and mentally verify: "What page follows what?" It's the 30 seconds of verification that saves the embarrassment of a mis‑ordered document.

Mixed Page Sizes: The Hidden Complexity

Here's something I didn't fully appreciate before building the tool: when you merge an A4 document with a letter-sized document, what should happen?

The answer is: each page keeps its original size. The merged PDF will have some pages at 210×297mm and others at 216×279mm. Most PDF viewers handle this fine — they display each page at its native dimensions. But not all do. Some older viewers scale everything to the first page's size, which can result in content being cropped or surrounded by awkward white space.

If you're merging documents with different page sizes and the output will be printed, check your printer settings. Most printers have a "Fit to Page" or "Shrink Oversized Pages" option. Turn it on. It solves the mixed-size problem without you having to resize individual files beforehand.

Why Some Merged PDFs End Up Larger Than Expected

Merging shouldn't increase total file size — it should be roughly the sum of the parts. But I've seen merged PDFs come out significantly larger, and here's why: duplicate resources.

If you're merging three chapters of a report that all use the same corporate template (same fonts, same logo), a naive merge embeds those fonts and that logo three separate times. The result is a file larger than the sum of its parts.

A well-built merge tool — and I made sure SaveVex does this — deduplicates shared resources. The logo gets stored once. Each font gets subsetted once across the entire document. The result is often smaller than the individual files combined.

This is also why I recommend merging before compressing, not after. If you merge first, the compressor can work across the whole document, finding and optimizing redundancies that span the original files. Compress individual files first, and you lose that cross‑document optimization opportunity.

When Merging Goes Wrong: Three Scenarios

Password-protected files in the mix. Browser-based tools can't decrypt password-protected PDFs — and that's actually a good thing, because it means your files aren't being sent anywhere to be unlocked. Remove the password from each file first, merge, then re-apply protection to the combined document if needed.

One corrupted file in the batch. I've seen this happen: nine perfectly fine PDFs and one that's subtly corrupted. The merge tool processes all ten, but the output is broken and you can't tell which file caused it. If a merge produces unexpected results, merge files one at a time — add File A, merge. Add File B, merge. When the output breaks, you've found the culprit.

Hyperlinks that stop working. Most merge tools preserve internal links (links to other pages within the same PDF), but some break cross-document links or external URLs. If your merged PDF has links that matter, test a few of them after merging before you share the file.

Pro Tips

Merge first, compress second. If you need to both merge and compress, always merge first. The compressor can then optimize the entire document holistically, saving more space than compressing individual files beforehand.

Check the page count. After merging, the total page count should equal the sum of your source files' pages. If it doesn't, a file was dropped or duplicated. This quick sanity check catches most merge errors.

Keep your source files. Don't delete the individual PDFs after merging. You might need to redo the merge with a different order, or extract a specific section later. Storage is cheap; losing the original organization is not.

Use drag-to-reorder, not hope. Most merge tools let you drag files to rearrange them. Use that feature. Don't assume the upload order is the merge order — explicitly verify it before clicking merge.

For legal and archival documents, keep unmerged originals. A merged document is great for sharing, but in a dispute or audit, individual source files with their original metadata and timestamps carry more weight than a recombined version.


Michael Schneider

Michael Schneider

Founder & CEO, SneiTech Inc.

Michael builds privacy-first file processing tools. With over 10 years of experience in full‑stack development and file‑processing technologies, he personally uses every tool on SaveVex to ensure quality and reliability.

Follow on LinkedInFollow on X

Share this article

More Articles

Company

Why Support SaveVex? — A Personal Invitation

SaveVex has always been free. But keeping it free isn't free. Here's why your support matters — and how you can help.

Aug 3, 2026

Company

Meet Sneitech Inc. — The Company Behind SaveVex

Learn about Sneitech Inc., the software development firm behind SaveVex. Discover our mission, our team, and our commitment to building privacy-first digital tools.

Jul 28, 2026

← Back to all articles
SaveVex

Your all-in-one file & media toolkit. Compress, convert, edit, and optimize — 100% free, all in your browser.

Product

  • PDF Tools
  • Image Tools
  • Document Tools
  • Video Tools
  • Audio Tools
  • Text Tools
  • Utility Tools

Company

  • Blog
  • Press
  • Contact
  • About Us
  • ❤️ Support SaveVex

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • DMCA

Tools

  • Compress PDF
  • Compress Image
  • Merge PDF
  • Word to PDF
  • Word Counter
  • Remove Duplicates
  • Password Generator

© 2026 SaveVex. All rights reserved.

Powered by Sneitech Inc.

FacebookInstagramX (Twitter)LinkedIn