Skip to content

Alternate & mix PDF: merge pages from two files in turn

Your scanner only reads one side of the paper, so you scanned the front sides into one PDF, turned the stack over and scanned the back sides into a second PDF. Now page 1 needs to be followed by its back, then page 2, and so on. This tool puts the pages together in that order for you, and also handles other patterns, such as one page from file A and two pages from file B.

Quick answer

To alternate and mix PDF pages, add two or more PDFs, set how many pages to take from each file per turn (1 by default), tick "Read backwards" for a file of back sides scanned in reverse, and press the button. The new PDF takes pages A1, B1, A2, B2 and so on; with the second file reversed it takes A1, then the last page of B, then A2. Pages are copied as they are, so text stays text.

Files never leave your device

Editor: Abuzar, founder of NeedMyToolsHow we check facts

Or drag and drop them here: two or more, up to 10. Your files stay on this device.

The PDFs are read and combined in this browser with pdf-lib. Nothing is uploaded.

How to use the Alternate & Mix PDF

  1. Tap "Choose PDF files" and add the file of front sides first, then the file of back sides (or drop both at once and use the arrows to put them in order).
  2. For each file, choose how many pages to take per turn and tick "Read backwards" or "Turn pages 180°" if needed. The order preview (A1, B6, A2, B5…) shows exactly what you will get.
  3. Choose what happens when one file runs out, then press "Mix PDFs and download".

Front and back sides from a one-sided scanner

Many office and home scanners have a feeder that reads only one side of each sheet. The usual trick is to scan the whole stack once for the front sides, flip it and scan it again for the back sides. You end up with two PDFs: fronts 1, 2, 3 and backs, which are usually in reverse order because the last sheet is now on top. Add the fronts as file A and the backs as file B, tick "Read backwards" on file B, and the result is front 1, back 1, front 2, back 2, exactly like the paper original. If your scanner kept the back sides in the normal order, leave the box unticked.

Patterns other than one-and-one

Each file has its own "Pages per turn" setting. With A set to 1 and B set to 2 you get A1, B1, B2, A2, B3, B4 and so on, which is useful for putting a cover or a translation page in front of every pair of pages, or for combining a form with two pages of attachments per person. With three or more files the tool goes round all of them in the order of the list: A, B, C, A, B, C. The preview under the list shows the first 24 places of the new order with the file letter and page number, so you can check the pattern before you save. If the back sides were scanned upside down, "Turn pages 180°" corrects them in the same step.

When the files have different page counts

Scans do not always match: a blank back side may have been skipped, or one file may simply be longer. You choose what happens. "Keep going" carries on with the files that still have pages until every page has been used, so nothing is lost and the extra pages come at the end. "Stop" ends the new PDF at the first turn where a file has no pages left, and the tool tells you how many pages were left out. A note appears above the button whenever the files will not come out even, which is often a sign that one side is missing a page or that the files are in the wrong order.

What is kept: text, links, bookmarks and form fields

The pages are not redrawn or turned into pictures. They are copied as they are with pdf-lib, the same engine as our Organize PDF tool, so text stays text that you can search and copy, images keep their quality and the file is about the size of the inputs together. We check the result with Poppler's pdftotext, including Arabic files, and with pdfinfo for page sizes and rotation. The first file in the list is the base of the new PDF: its bookmarks, its links between pages, its form fields and its document details are kept and follow the pages to their new places. Pages from the other files bring their content, web links and links to their own pages, but not that file's bookmarks, and their form fields may stop being fillable. To keep filled-in answers from those files, flatten them first.

How this differs from merging or organising

Merge PDF puts whole files one after another: all of A, then all of B. Organize PDF lets you drag every page into place by hand, which is fine for a few pages but slow for a 60-page scan. This tool works out the interleaved order for you from a simple rule, so a long stack of double-sided paper is put together in one step. If a few pages still need moving afterwards, open the result in Organize PDF.

Limits and privacy

You can mix up to 10 PDFs and 300 MB in total. Password-protected PDFs need Unlock PDF first, and a damaged file can often be fixed with Repair PDF. Everything runs in your browser: the files are read on your device, the new PDF is made on your device and saved straight to it. Nothing is uploaded to NeedMyTools or anyone else.

Frequently asked questions

How do I alternate and mix PDF pages from two files?

Add both PDFs, keep "Pages per turn" at 1 for each, and press "Mix PDFs and download". The new file takes page 1 of the first PDF, page 1 of the second, page 2 of the first, and so on.

My back sides are in reverse order. What do I do?

Tick "Read backwards" on the file of back sides. The tool then takes its last page first, so the first front is followed by its own back. The order preview shows the result before you save.

Can I take one page from the first file and two from the second?

Yes. Set "Pages per turn" to 1 on the first file and 2 on the second. Any number from 1 to 10 works, and with three or more files the tool goes round them in list order.

What happens if the two PDFs have a different number of pages?

Choose "Keep going" to add the remaining pages of the longer file at the end, or "Stop" to end the new PDF when a file runs out. A warning appears when the counts do not match.

Will the text in my scanned or typed pages still be searchable?

Yes, if it was searchable before. Pages are copied without redrawing, so typed text stays real text and scans keep their original image quality. A scan with no text layer stays an image; use our image-to-text tool to read it.