Blog

Reorder, Rotate and Delete PDF Pages Online

Fix the page order of double-sided documents scanned one side at a time, rotate pages and delete blanks in your browser.

Two page lists from the PDF page organizer side by side. On the left, right after loading: Page 1, 3, 5, 7, a blank page, then upside-down Page 6, 4, 2. On the right, after organizing: Page 1 through 7 in order and the right way up.
A sample PDF that simulates a single-sided scan (left), put back into paper order with four buttons (right). Both are the English UI.
Contents

I scanned the copies of a contract and an application form into PDF on a copier, and the page order came out scrambled. This happens easily when the automatic document feeder (ADF) can only read one side and the document is printed on both. The scanner reads all the fronts, you flip the stack and feed it again, and the PDF ends up as front 1, front 2, front 3, front 4 followed by back 4, back 3, back 2, back 1, with the backs in reverse order. Depending on how you flip the stack, the backs can also come out upside down.

Fixing this by dragging one page at a time is tedious even with 8 pages. A 20-sheet document means 40 pages, and you soon lose track of how far you have got. The paid version of Adobe Acrobat can organize pages, but it is not always at hand. Online PDF editors are convenient, yet I hesitate to upload a contract or a document containing personal details.

The Reorder, Rotate and Delete PDF Pages tool opens a PDF inside the browser, lets you fix the order, the orientation and the unwanted pages while looking at thumbnails of every page, and saves the result as a new PDF. The file is not sent to a server. Here I used the sample PDF built into the tool, which simulates a double-sided document scanned on a single-sided scanner, to go through the steps back to paper order and to check what is inside the saved PDF.

How a double-sided document scanned one side at a time is ordered

Press “Try a sample PDF” in the tool and an 8-page PDF named sample-duplex-scan.pdf opens. It assumes four double-sided sheets where only the back of the fourth sheet is blank, and each page has its original position printed in large letters, such as “Page 1”. All the images below were taken on the English UI, and the button positions and steps are the same in the other language versions.

Eight thumbnails in two rows in the page list. The top row shows Page 1, Page 3, Page 5, Page 7. The bottom row shows a blank page and upside-down Page 6, Page 4, Page 2. Above each thumbnail are the numbers 1 p.1 to 8 p.8, and below it are buttons for rotating, moving and deleting.
Right after opening the sample. The first four pages are the fronts (Page 1, 3, 5, 7), and the last four are the backs, in reverse order and upside down: blank (back of sheet 4), Page 6, 4, 2.

The large number at the top left of each thumbnail is the page’s position in the new PDF, and the “p.3” next to it is its position in the original PDF. When you reorder pages the large numbers are renumbered, but the “p.” number stays with the page, so you can always trace which page went where.

Three things have to be done to fix this order: interleave the fronts and backs, turn the upside-down backs the right way up, and remove the blank page. Let’s take them in that order.

Interleave the fronts and backs with “Fix double-sided scan order”

In the “Overall order” section above the list, press “Fix double-sided scan order”. The “Backs are in reverse order” checkbox to its right is ticked by default.

The Overall order section. It contains the Fix double-sided scan order button, a ticked Backs are in reverse order checkbox and a Reverse order button. Below them is the text Interleaves the first 4 page(s) as fronts and the last 4 page(s) as backs., followed by Undo and Reset buttons.
Below the buttons, a note explains that the first 4 pages will be treated as fronts and the last 4 as backs.

Pressing it treats the first four pages as fronts and the last four as backs, and rearranges them as front 1, back 1, front 2, back 2, and so on. Because the backs are in reverse order, the last page of the second half (p.8) becomes the back of the first sheet and moves to position 2.

The page list after rearranging. 1 p.1 is Page 1, 2 p.8 is an upside-down Page 2, 3 p.2 is Page 3, 4 p.7 is an upside-down Page 4, 5 p.3 is Page 5, 6 p.6 is an upside-down Page 6, 7 p.4 is Page 7 and 8 p.5 is the blank page.
The result of the rearrangement. The pages now run Page 1–7 plus the blank, but the even pages (the backs) are still upside down.

In terms of original positions, the new order is p.1, p.8, p.2, p.7, p.3, p.6, p.4, p.5. The tool took one page at a time alternately from the front of the first half and from the end of the second half.

If your scanner can read the backs starting from the first sheet, or you reloaded the stack from the other end, the backs are not reversed. In that case untick the checkbox before pressing the button, and both halves are taken from the front. If you are not sure which applies, look at the result in the list; if it looks wrong, go back with “Undo” (Ctrl+Z), switch the checkbox and press the button again.

According to the tool’s help text, when the page count is odd the fronts are assumed to have one extra page. If you use a scanner setting that skips blank sides (blank page removal), the number of fronts and backs no longer match and the interleaving breaks. When scanning double-sided documents, it is safer to turn blank page removal off and delete the blank pages in this tool afterwards.

Turn all the upside-down backs with “Select even pages” → “Rotate 180°”

After the rearrangement, every back is on an even page. Press “Select even pages” in the “Select pages” section, and pages 2, 4, 6 and 8 are selected, with “4 page(s) selected” shown below the section. Then press “Rotate 180°” in the “With the selected pages” section, and all four pages turn the right way up at once.

To rotate pages one by one, use ↺ ↻ under each thumbnail to turn them 90° at a time. This is quicker when, say, only a landscape table page needs to be straightened.

Rotation only rewrites the page’s display orientation (the PDF /Rotate entry) and does not redraw the page content. Checking the saved PDF with pdfinfo showed rot: 180 on page 2 and rot: 0 on pages 1 and 3. With pdftotext, the text “Back side of sheet 1.” came out of the page turned 180° unchanged. If your scanned document has been through text recognition (OCR), it remains searchable after rotation.

Select blank pages with “Find blank pages” before deleting them

Finally, remove the blank page. Press “Find blank pages”, and the tool looks for pages with almost nothing printed on them, selects them and marks their thumbnails with “Blank?”.

The page list. Positions 1 to 7 show Page 1 to Page 7 the right way up. Only the eighth, blank page is ticked and highlighted in green, with a red Blank? label at its top right.
Searching for blank pages after the backs were turned. Only the eighth page (originally p.5) is selected and marked Blank?.

The check renders each page as a small image and, ignoring an outer margin of 4% where scanning shadows tend to appear, tests whether dark dots cover 0.2% of the area or less. A page with some show-through from the other side or a speck of dust is still likely to count as blank, while a page with only a page number or a faint pencil note may also be treated as blank. Check the thumbnails before deleting, and click any page you want to keep to deselect it.

Delete the selected blank pages with “Delete” or the ✕ under the thumbnail.

The finished page list. From 1 p.1 to 7 p.4, Page 1 to Page 7 are all in order and the right way up.
The list after deleting the blank page. Page 1–7 are in paper order and the right way up.

That makes five buttons in all: “Fix double-sided scan order”, “Select even pages”, “Rotate 180°”, “Find blank pages” and “Delete”. If you make a mistake, “Undo” goes back one step at a time, and “Reset” returns to the state right after loading.

Checking what is inside the saved PDF

Enter a file name in the “Save” section below the list and press “Save PDF in this order”, and a new PDF is downloaded. The original PDF is not changed. With the sample, the tool reported “Saved a 7-page PDF (sample-duplex-scan_organized.pdf, 3 KB).”

Reading the saved PDF page by page with pdftotext gave “Front side of sheet 1.”, “Back side of sheet 1.”, “Front side of sheet 2.” and so on, with fronts and backs alternating across 7 pages. pdfinfo also reported 7 pages.

When the fronts and backs ended up in separate PDFs

Some copiers save the fronts as one file as soon as they are scanned and the backs as another. In that case, join the two files inside this tool and then press the same button.

First open the fronts PDF with “Choose PDF”, then choose the backs PDF with “Add PDF” at the top right of the list. The back pages are appended at the end, and you press “Fix double-sided scan order” there. You can also choose both files at once from the start; they are joined in the order you selected them.

When I split the sample into two files, four fronts and four backs, the file area showed “fronts.pdf: 4 page(s) / backs.pdf: 4 page(s)”, and the rearranged result was the same as with a single file.

The page list after loading two PDFs and rearranging them. 1 1-p.1 is Page 1, 2 2-p.4 is an upside-down Page 2, 3 1-p.2 is Page 3, 4 2-p.3 is an upside-down Page 4, and so on, with 8 2-p.1 being the blank page.
With several files, labels like “1-p.2” show which file and which page each one came from.

Rotating the backs and deleting the blank page afterwards work the same way as with a single file.

Other jobs besides double-sided scans

Beyond restoring paper order, the same screen handles most of the page tidying you do before submitting a document.

  • Extract only some pages: type something like 1-3, 8 into “Select by page number”, press “Select”, then “Keep only selected” and save. The numbers refer to the current order. Keeping 1-4 in the sample produced a PDF with only the four fronts.
  • Insert pages from another PDF in the middle: append it with “Add PDF”, then drag the thumbnails or use ← → to move them where you want. For long distances, select the pages and use “Move to start” or “Move to end”.
  • Make chapters start on a front side for double-sided printing: select the last page of a chapter and press “Insert blank after”, and a blank page of the same size is inserted.
  • Reverse the whole document: “Reverse order” fixes a PDF that was scanned starting from the last page in one go.

The tool loads files of up to 300 MB each and up to 2,000 pages in total. Thumbnails are generated starting with the ones visible on screen, so you can start working right away even with a long PDF.

If you only want to combine separate PDFs file by file rather than rearrange their pages, the PDF Merger covered in “Combine several PDFs into one without uploading them” is the better fit, and to split a PDF into several files by page range, use the PDF Splitter. To add sequential numbers to the finished document, see “Numbering the pages of a PDF”, and to make a PDF from photos of documents taken on a phone, use the Images to PDF tool.

Test environment

  • Reorder, Rotate and Delete PDF Pages tool (operated on the English UI), Chromium (via Playwright)
  • The sample PDF was loaded with the tool’s “Try a sample PDF”. The two-file version (fronts and backs) was made from the same sample with the tool’s “Keep only selected”
  • Page counts and rotation of the saved PDF were checked with pdfinfo, and the text of each page with pdftotext (poppler-utils)

Frequently asked questions

Why is the page order wrong when I scan a double-sided document on a single-sided scanner?

After the scanner reads all the fronts, you flip the stack over as it is and scan the backs, so the backs are read starting from the last sheet. With four sheets the order becomes front 1, front 2, front 3, front 4, back 4, back 3, back 2, back 1. Interleaving the first half as fronts with the second half as backs in reverse puts the pages back into paper order.

Does rotating a PDF page lower the quality or make the text unsearchable?

Rotation in this tool only changes the display orientation stored on the page (/Rotate) and does not redraw its content. In my test, pdftotext still extracted the text from a page turned 180° after saving, and the 7-page PDF stayed at 3 KB.

What if I saved the fronts and the backs as separate PDFs?

Open the fronts PDF, append the backs PDF with Add PDF, then press Fix double-sided scan order. The pages end up in the same order as when everything was scanned into one file.