Reorder or delete pages in a PDF
Organizing a PDF combines three operations often carried out together on the same document: changing the page order, deleting some of them, and fixing the orientation of pages that are sideways — typical of a batch of scanned pages where some were fed into the scanner upside down. Rather than offering three separate tools for a need that almost always comes combined, this page brings them together in a single page grid you can manipulate by drag and drop.
A thumbnail grid as your workspace
On import, each page of the document is rendered as a thumbnail by pdf.js. These thumbnails behave like physical cards you can reorder by drag and drop (mouse, touch, or keyboard arrows for accessibility), rotate individually by 90°, or mark for deletion. Nothing is applied to the file until you confirm: you can freely adjust the whole layout before generating the final document, avoiding the tedious back-and-forth of a tool that applies each change immediately.
What page deletion actually does
Technically, "deleting" a page doesn't erase its content but simply skips copying it into the new document pdf-lib generates: the output file is rebuilt from scratch, page by page, in the order and with the rotations you set, excluding those marked for deletion. The original file, for that matter, stays completely unchanged on your device — the tool only reads its content to build a new, separate file.
Typical use cases
Removing a blank page left by a badly configured double-sided scan, deleting a cover page before assembling a document into a larger report, reordering a manuscript's chapters written out of sequence, or straightening the orientation of a batch of hastily scanned invoices: these are this tool's most common uses, and that's why it combines reordering, deletion, and rotation into a single interface rather than forcing you to juggle several different tools for the same document.