How to reorder, remove and rotate PDF pages

The organizer builds a new PDF from an explicit page sequence. Type the page numbers in the order you want them and the browser writes a document that contains exactly that sequence.

Numbers refer to the file you selected, so output page 1 can be any page of the input. Everything runs in this tab with pdf-lib: the file is read from disk, never uploaded, and the original stays untouched.

  1. Choose the PDF or drop it on the input panel. One file is processed per run, up to 250 MB.
  2. Fill in Output page sequence. 3,1,2,4-6 puts page 3 first, then 1 and 2, then the run 4 to 6. A range can run backwards (6-4), a number may repeat (1,1,2) and a page left out of the list is not copied. An empty field keeps every page in its original order.
  3. Choose a rotation for the output pages: 0°, 90°, 180° or 270°. The value is added to the rotation a page already carries, so a page stored at 90° becomes 180° when you pick 90°.
  4. Press Process files. The output panel reports the number of pages and the input and output sizes.
  5. The download is named after the source (report-organized.pdf). Press Clear before the next document.

Reading the page sequence

Numbers and ranges are separated by commas, and extra commas or spaces are ignored. Every number refers to the input document rather than to the result, so the same page can appear twice and any page missing from the list is not copied at all. An empty field is a shortcut for the whole document.

A sequence that names page 0, a page beyond the last one, or something that is not a number is refused with “Enter valid page numbers within this document.” and no file is produced. The check uses the real page count of the selected PDF, so a six-page document accepts 1-6 and rejects 7.

What the rotation does

The rotation applies to every page of the output, not to a selection: list three pages, choose 90°, and all three are turned a quarter turn clockwise. A page that already carries a rotation keeps it and the new value is added to it — 90° + 90° = 180°, 270° + 90° = 360°, which is stored as 0°.

Rotation is a display attribute, so the page box keeps its width and height and nothing is cropped or scaled. A sideways scan becomes upright when the page is turned, which is also why 90° on an already-rotated page can look wrong; check the result before passing it on.

What the new file keeps, and what it does not

Pages are copied rather than re-rendered: text stays selectable, images keep their resolution, and page size and existing rotation are preserved. The tool writes a new document, so document-level parts of the source — bookmarks, fillable form fields, digital signatures and the original title and author metadata — are not carried over.

Encrypted or password-protected files cannot be read and are refused, so remove the protection first. The working limit is the browser: a 250 MB PDF is accepted, but the whole document is held in memory, so very large scans are slower on a small device. The source file is never modified, and a sequence you do not like costs nothing but another run.

Recent tools: