PDF Merger and Splitter: Combine, Split, and Reorder Pages in Your Browser

A PDF merger and splitter does two opposite jobs with the same raw material. One puts several documents together into a single file, the other takes one document apart into the pieces you actually need. Between those two sits a smaller set of page operations: rotate the scan that came out sideways, delete the blank leaf the printer added, drag a page from the back to the front.

All of it is page bookkeeping rather than content editing, which is why it can be done losslessly and quickly. The workbench on this site runs those operations in your browser with pdf-lib and pdf.js, so the file you drop in is read on your own device and never uploaded.

What a merge actually writes into the new file

A PDF is a bag of objects plus a page tree. Fonts, images, and drawing instructions live in objects; the page tree says which objects make up page one, page two, and so on. A page is self-contained in the sense that everything it needs is reachable from it.

Merging builds a new page tree that lists the pages of every source file in order, and copies the objects those pages point at. Nothing is re-rendered, nothing is re-compressed, nothing is flattened into an image. Text stays selectable, image resolution is untouched, and a merged file weighs roughly the sum of its inputs.

That definition gives you a test for any tool, including this one. If a merged file comes back blurry, or noticeably larger than the sources added together, the pages were rasterised and then re-encoded. That is quality loss the operation never required.

Order is the part people get wrong

Most tools merge in the order you add files, and a few sort by filename afterwards. Those two rules disagree the moment a folder contains chapter-10.pdf and chapter-2.pdf, because alphabetically the ten comes before the two.

Here the list is the order. Each file in the queue gets move up and move down controls, a single file can be dropped from the list, and any PDF in the list can be opened in a preview before you commit. Nothing is re-sorted behind you, so the sequence you see is the sequence in merged.pdf. The tab needs at least two files before it will produce anything.

For repeat work, a two-digit numeric prefix pays for itself: 01-cover.pdf, 02-terms.pdf, 03-invoice.pdf. Two digits rather than one, because 10- still sorts before 2- in every file dialog on every operating system.

One thing merging cannot repair is numbering printed on the pages themselves. If the first document ends on page 5 and the second begins at page 1, the result shows 1, 2, 3, 4, 5, 1, 2, 3. Those digits are page content drawn by the source file, so they travel with it. Rebuild the numbering on the merged result if a reader needs continuity.

Splitting: page ranges against one file per page

The Split / Extract tab works on one loaded PDF at a time and has two modes.

Extract page range takes an expression such as 1-3,5,7-9 and produces one file per range. A single range downloads straight away as <name>_extract.pdf. Several ranges arrive as a zip holding <name>_part_1.pdf, <name>_part_2.pdf and so on. Split into single pages writes <name>_page_N.pdf for every page and packages them as a zip whenever the document has more than one page.

Ranges are checked against the page count before anything is written. Malformed input or a page past the end reports an error instead of quietly producing a truncated file.

Expression What you get Typical use
5 One file with page 5 Pull the signed page out of a contract
1-3 One file, pages 1 to 3 inclusive Cover letter plus first pages
1-3,7,10-12 Three files: 1-3, 7, 10-12 Exhibits separated for a filing
Every page One file per page, zipped Batch of single-page scans
2-6 Five pages, not four The inclusive-end mistake

That last row is the error almost everyone makes once. Spans include both ends, so 2-6 is five pages.

Rotating, deleting, and reordering inside one file

Rotation is per page: click the page that came out sideways, or send the whole document right or left. Orientation is stored in the page dictionary, so a rotated page stays rotated in every viewer afterwards. It does not straighten a photo that was taken at an angle; that is an image problem, not a page problem.

Reordering works on thumbnails. Drag a page to its new position and delete the pages you do not want. This is the cheap fix for a scan whose sheets went through the feeder out of order, and it is much faster than re-scanning.

Watermark and sign sit close to these operations, and both write onto the page rather than beside it. A watermark takes your text plus size in points, opacity as a percentage, a placement (diagonal, centre, or one of the four corners) and a colour. Signing takes a drawn signature or an uploaded PNG, applies it to a page you pick, and lets you size the placement box by dragging.

What survives, what does not, and what to check

Copied pages keep their text layer, embedded fonts, vector art, and image data. Across a merge, anything the source file attached to the document as a whole rather than to a page has to be rebuilt or is simply dropped, and this is where expectations run ahead of reality:

  • Bookmarks and outlines from the sources do not come along as a merged outline.
  • Form fields survive as page content, but fillable behaviour across a merged set is not something to rely on.
  • Digital signatures break, by definition, because the bytes they signed changed.
  • Document metadata is written fresh by the new file.

Split and extract inherit the same rule. Pulling pages out of a file does not sanitise it: annotations elsewhere, metadata, embedded attachments and any hidden content in the retained pages stay retained. Extracting a page is not redaction, and the two are often confused in HR and legal workflows where the difference matters.

A quick post-check costs a minute. Open the result, page through the boundaries between documents, confirm orientation, then print one page from each original size if the file is going to a printer.

Compressing after the merge, not before

A merge does not shrink anything, and it cannot deduplicate. A logo that appears on every page of every source arrives as many times as it appears, because the objects are copied per page. That is why a merged file is roughly the sum of its parts.

If size becomes a problem, the fix is a compression pass on the finished file. The Compress tab offers three presets that rasterise and re-encode the pages: High quality (render scale 1.5, JPEG quality 0.8), Balanced (1.2 and 0.6), and Small file, which goes further at the cost of visible softness on text. Do it once, after merging. Running compression before a merge just means the pages are decoded and re-encoded several times.

Privacy, because these files are rarely shareable

Tax returns, medical scans, signed contracts, ID copies: the documents people merge are exactly the documents that should not be sitting on a stranger's disk. Cloud tools ask you to upload the file first, which adds a copy on infrastructure you do not control and a retention period you did not choose.

Here the file is read with the File API and processed in the tab. There is no upload step, no account, and no queue. Close the tab and the in-memory buffers are released. Downloaded files, of course, stay on your disk until you delete them, and browser downloads land in the default folder.

The honest limit of a browser tool is memory. Very large PDFs, several hundred megabytes of scans, depend on the RAM the browser will give a single tab. A desktop application with no such ceiling exists for that case; for everyday documents the browser is faster because there is no round trip.

When to extract instead of split

Split produces several files from one. Extract produces one file from several pages, and picking between them is a question about the output you want to hand over.

Use split when the parts go to different places: chapters to different owners, exhibits to a court filing, one file per invoice in a batch. Use extract when one recipient needs a slice of a long document, because sending the whole file is how accidental disclosure happens. Two pages of an eighty-page contract that need signing are an extraction.

The middle case is a document that is really a stack of separate documents, such as forty one-page invoices in one file. Split into single pages handles it in one operation, and the zip is already organised by page number.

Frequently Asked Questions

?Can I merge PDFs that have different page sizes?

Yes, and nothing is rescaled. Each page keeps its own dimensions, so an A4 invoice and a Letter contract sit side by side at their original sizes. Printing is where mixed sizes cause trouble: use fit to page, or standardise the pages beforehand.

?Does merging reduce quality or file size?

Neither. Pages are copied, not re-rendered, so text stays selectable and images keep their resolution. File size lands close to the sum of the sources. If you need it smaller, compress the merged file afterwards.

?How do I merge only certain pages from several files?

Extract first, then merge. Pull the wanted pages out of each source with a range expression, then add the extracts to the merge queue in the order you need. That two-step is the only reliable way to control page selection across files.

?What page range syntax does the extractor accept?

A comma-separated list of single pages and inclusive spans, for example 1-3,5,7-9. Each item becomes its own output file. Out-of-range values and malformed expressions are rejected with an error rather than silently truncated.

?Why did my merged PDF lose its bookmarks?

Merging builds a new page tree and copies pages, not document-level outlines, so bookmarks are not carried over. Page content, fonts, and images are unaffected.

?Is it safe to merge confidential documents here?

The file is read and processed in your browser tab and is never uploaded, so no copy exists on a server. That removes the upload risk, and it does not replace your own rules about where downloaded files are stored afterwards.

?Can I reorder or delete pages after merging?

Yes. Open the merged file in the reorder tab, drag thumbnails into the sequence you want, delete pages you do not need, and export again. It is faster than redoing the merge from scratch.

?What happens to form fields and signatures in a merge?

Form fields travel with their pages, but interactive behaviour across a combined file should not be assumed. Digital signatures break, because the bytes they covered changed.

?Does the tool work on a phone?

The tabs are the same, with file pickers that open the Files app on iPhone or storage on Android. Large documents are where a phone shows its limits: available memory decides.

Mayura
Mayura

San Francisco Bay Area, CA, USA · SO reputation 1999 · Badges: 1🥇20🥈22🥉 · SO member since 2011