How to Split and Merge PDFs: Every Method and Use Case
Splitting a large PDF into individual pages or chapters, and merging multiple PDFs into a single file, are among the most common PDF tasks. This guide covers every method — browser tools, command-line, and libraries — with advice on what to preserve and what to watch out for.
Frequently asked questions
Does splitting a PDF preserve the original quality?
Yes — tools that extract pages by restructuring the PDF (QPDF, PDFtk, pypdf) do not re-compress or re-render any content. The extracted pages are identical pixel-for-pixel to the originals. Tools that work by printing/re-rendering (some older GUI tools, some online converters) will degrade image quality. Always use a "native PDF manipulation" tool rather than a "print to PDF" approach for splits.
How do I merge a scanned PDF with a text-based PDF?
Any PDF merge tool (QPDF, PDFtk, pypdf) can merge scanned and text-based PDFs — they are both just collections of pages with different page content. The resulting merged PDF will have scanned pages (image-only) and text-based pages mixed together. If you need the scanned pages to be searchable, apply OCR to the scanned PDF first using OCRmyPDF before merging.
Can I split a PDF into separate files by file size?
QPDF supports size-based splitting: `qpdf --split-pages=5mb input.pdf output.pdf` splits so that each output file is approximately 5 MB. Note that page boundaries must be respected, so the actual sizes will vary. For precise control, you would need a script that checks the size of each candidate split and adjusts page boundaries accordingly.
Will merging PDFs from different sources cause font problems?
If all fonts are embedded (which is the standard for PDF/A and most professionally produced PDFs), merging works correctly — each page brings its fonts with it and the merged document contains all needed fonts. Problems occur when fonts are not embedded and the source PDFs reference different local fonts by name — the merged document may use substitute fonts for some pages. Always check that source PDFs have embedded fonts before merging for print or archival purposes.
Try it yourself
Everything in this article can be done directly in the free PDFTheGuide editor — no account required.