PDF Page Organizer
Organize PDF pages locally: write a page order (e.g. 2,1,3-8), drop pages you do not need, rotate upside-down scans, preview the plan, then download the new file. The original stays untouched.
Scanned pages that came out in the wrong order, a blank page that slipped in, a few pages lying on their side — this tool tidies a PDF in the browser in one pass: rewrite the page order with an expression (2,1,3-8, or 8-1 for the whole document in reverse), drop pages by leaving them out, and turn flipped scans back with 90°, 180° or 270°. The plan is computed first, and the new file downloads once it checks out.
On the notation: pages are numbered from 1, and a trailing hyphen means the remaining pages follow in their original order. A page cannot appear twice (duplicating a page is not supported yet). Organizing moves pages as they are, without recompressing, so text, images, fonts and resolution are unchanged; a PDF with an open password cannot be parsed, so unlock it in its original application first.
Did this tool solve your problem?
Submitting sends the tool name, your input and the current result to the server. Please do not include ID numbers, phone numbers or other private data.
AI assistant It answers using your current input and result
Asking again sends your current input and result to the server once more. Please do not include private data.
How to use
- Load the PDF to organize.
- Write the page order — for example 2,1,3-8, or 8-1 to reverse the document.
- Add rotation for pages that are upside down or sideways.
- Check the plan, then generate and download the new file.
How it works
Writing the page-order expression
Write page numbers in the order you want: singles as-is (3), ranges as intervals (1-3), reversed ranges expand backwards (8-1 reverses the whole document), and a trailing - appends the remaining pages in original order (2,1,3-8). Empty or just - keeps the original order.
Deleting pages by omission
Pages you omit simply disappear: writing 1,3-8 on an 8-page document deletes page 2; the result area reports "1 page deleted", the output is a new file, and the original stays untouched.
Rotating pages upright
Enter the pages to rotate (like 2,5-7), pick 90, 180 or 270 degrees, and the result area previews how many pages will turn — right for standing up sideways scans, with stubborn pages rotated individually afterwards.
No re-compression
No re-compression. Pages move as-is: text, images, fonts and resolution inside pages are untouched — only order, membership and orientation change, and file size stays essentially the same.
Code example
JavaScript Reorder pages and rotate them
import { PDFDocument, degrees } from 'pdf-lib';
// page order syntax: '3,1-2' means page 3 first, then pages 1 and 2; '-' keeps the rest
async function organize(file, orderText, angle) {
const src = await PDFDocument.load(await file.arrayBuffer());
const indices = parseOrder(orderText, src.getPageCount()); // -> zero-based indices
const out = await PDFDocument.create();
const pages = await out.copyPages(src, indices);
for (const page of pages) {
page.setRotation(degrees((page.getRotation().angle + angle) % 360)); // add to existing
out.addPage(page);
}
return out.save();
}
Python Reordering and rotating with pypdf
from pypdf import PdfReader, PdfWriter
reader = PdfReader('input.pdf')
writer = PdfWriter()
# page_indices decides the new page order (here 3,1,2)
for i in [2, 0, 1]:
page = reader.pages[i]
page.rotate(90) # 90 degrees clockwise
writer.add_page(page)
with open('organized.pdf', 'wb') as f:
writer.write(f)
FAQ
Are files uploaded when organizing?
No. Order parsing, the organizing plan and file generation all happen in the browser — contracts and bills stay local from selection to download.
Where does page numbering start?
At 1, matching what your reader displays — enter exactly the numbers you see on screen, no conversion needed.
What if I list the same page twice?
Duplicate pages in the order are rejected with a clear error rather than producing a file with two identical pages; duplicating a page isn't supported yet.
Can reversed ranges mix with deletions?
Yes. Singles, forward ranges, reversed ranges and the rest-token combine freely — 8-6,1,2 places 8 down to 6 then appends 1 and 2. The result area previews the full order first.
Can password-protected PDFs be organized?
Those with an open password can't be parsed and are reported as unsupported; remove the protection in the source software first, then organize here.
How does the output relate to the original?
The output is a brand-new PDF; the original file stays on disk byte-for-byte. Unhappy with the result? Organize again — there's no "I broke it" risk.
What tool extracts just a few pages?
The site's PDF splitter: extract by page range into a new file, with skip patterns and reversed ranges supported. This tool focuses on whole-document order, deletion and rotation — the two complement each other.