PDF Page Reorderer
Reorder PDF pages locally with ranges and presets, then verify duplicate or omitted pages through an exact output-to-source manifest.{{ summaryTitle }}
{{ summaryLine }}
Reordered PDF
The chart renderer is unavailable. The exact route remains available in the page manifest.
| Output page | Source page | Selector | Route | Copy |
|---|---|---|---|---|
| {{ row.outputPage }} | {{ row.sourcePage }} | {{ row.token }} | {{ row.route }} |
A PDF has an internal page sequence even when the visible pages carry printed numbers, Roman numerals, or no numbers at all. Reordering operates on those file positions. “Page 3” therefore means the third page object in the file, not necessarily a page that visibly says 3.
- Source page
- A one-based position in the original PDF.
- Output page
- A position in the newly assembled document.
- Page route
- The ordered mapping from each output position back to its source position.
Common jobs include moving an attachment into place, reversing a scan made in the wrong feed order, separating odd and even scans, or deliberately repeating a cover sheet. The main risk is silent omission or duplication. A document can open normally while still containing the wrong sequence, so the route should be checked against visible page content before the new copy replaces anything important.
Encrypted files and badly damaged page trees may not be readable by a browser PDF engine. Reordering also creates a new document structure; it is not the same as changing printed page labels, repairing damaged content, or guaranteeing that every document-level feature remains identical.
How to Use This Tool:
Load the source, describe the output sequence, and verify the resolved route before relying on the new PDF.
- Choose one unencrypted PDF up to 100 MB. The loaded page count becomes the boundary for every selector.
- Enter New page order with page numbers, comma-separated selectors, ranges, or a preset such as
reverse,odd, oreven. - Choose how Repeated pages are handled. Allow repeats for intentional copies, keep the first occurrence to remove later repeats, or sort the unique source pages in ascending order.
- Create the PDF, then compare Page manifest with the intended sequence. Download only after the output-to-source mapping is correct.
Interpreting Results:
Coverage measures how many distinct source pages appear in the final sequence. It can be 100% even when pages are repeated, because repetition changes output length without adding another distinct source page.
- Use Page manifest as the exact audit trail. Each row names the output page, source page, selector, and route.
- A nonzero repeated-selection count is harmless only when duplication was intentional.
- A route chart can reveal large jumps, but it cannot confirm that headings, attachments, or visual content appear in the right narrative order. Open the downloaded PDF and check it.
Technical Details:
The page-order expression expands against the loaded source page count. Whitespace is removed from the expression, tokens are read from left to right, and every token must resolve to a positive one-based source position. Duplicate policy is applied only after the raw selector sequence has been expanded.
Transformation Core:
| Selector | Expansion for a six-page source |
|---|---|
all | 1, 2, 3, 4, 5, 6 |
reverse | 6, 5, 4, 3, 2, 1 |
odd / even | 1, 3, 5 / 2, 4, 6 |
first / last | 1 / 6 |
2-5 / 5-2 | 2, 3, 4, 5 / 5, 4, 3, 2 |
4- / -3 | 4, 5, 6 / 1, 2, 3 |
1,3,3,2 | Typed: 1,3,3,2; first unique: 1,3,2; ascending unique: 1,2,3. |
Formula Core:
Output length, source coverage, omissions, and route jumps are calculated from the final sequence. A jump occurs whenever adjacent output pages came from source positions that are not consecutive in either direction.
For an eight-page source and 1,3,2,4-6,3 in typed mode, the output has seven pages, six distinct source pages, one repeated selection, two omitted source pages, and 75% coverage.
Validation Rules:
| Check | Boundary |
|---|---|
| Source | One PDF no larger than 100 MB, with a PDF header and at least one parser-readable page. |
| Expression | At most 2,000 characters; every number and range endpoint must fall from 1 through the source page count. |
| Output guard | The resolved sequence must contain at least one page and cannot exceed the selected guard. The guard accepts 1 to 500 pages, inclusive. |
| Document title | The new PDF receives either a neutral reordered title or a title based on the source filename. Other source document information is not copied as a selectable metadata mode. |
Privacy Notes:
The selected PDF is read and rebuilt in the current browser session; its bytes are not uploaded by this workflow. Browser memory may contain both source and output while the PDF is being created, so large selections can still be limited by the device even when they are below the file and page guards.
References:
- ISO 32000-2: Portable document format, Part 2, PDF Association, 2020 edition.