How to fix a scanned PDF

Sideways pages, sheets out of order, blank backs and dark borders are the usual faults of a scan. Here is how to tell which fix each one needs, and the order to do them in.

By NoUploadPDF ยท Published

Why scans go wrong in the same few ways

A scanner does not know what a document is supposed to look like. It records each sheet the way it was fed: upside down if it went in upside down, in whatever order the stack was in, and with both sides of every sheet if it was set to scan both sides. The result is a file that is complete but untidy, and the faults fall into a handful of kinds. Each has its own fix, and most take less than a minute once you know which one you are looking at.

Before changing anything, open the scan and page through it once, noting what is wrong and on which pages. Writing it down, even roughly ("4 upside down, 7 and 8 swapped, blank every other page"), tells you which tool to reach for and saves going back and forth.

Pages that are sideways or upside down

A PDF stores rotation as a separate instruction for each page, in quarter turns: 0, 90, 180 or 270 degrees. Turning a page changes that instruction and leaves the picture of the page untouched, so nothing is redrawn and nothing loses quality.

There are two ways to set it, and the choice depends on whether you already know the page numbers.

  • By number. If you know that pages 4 and 9 are sideways, Rotate PDF turns exactly those pages, Right, Left or Upside down, and leaves the rest alone. It also keeps everything else in the file, and it can turn several files the same way at once, which suits a batch of scans that all came out of the same machine turned the same wrong way.
  • By sight. If you only know the scan "looks wrong in places", Organize PDF shows every page as a thumbnail, and each one has its own turn button. You fix what you see, and nothing is saved until you choose to save.

One limit is worth knowing early. Quarter turns are all a PDF can record, so a page that went through the scanner slightly crooked, a few degrees off true, cannot be straightened by rotating it. Straightening means redrawing the picture of the page, which no tool on this site does. If a crooked page matters, rescanning it with the sheet pushed square against the guide is usually quicker than any repair.

A related trap: some PDF viewers let you turn a page on screen without saving the turn into the file. The page then looks right on your computer and wrong for everyone you send it to. A rotation saved by Rotate PDF or Organize PDF is part of the file, and every standard PDF reader follows it.

Pages in the wrong order

When only a few pages are out of place, dragging them in Organize PDF is the fastest fix, and it lets you turn and delete pages in the same pass. Every page also has buttons to move it earlier or later, so the whole job can be done from the keyboard.

When the order is wrong throughout but follows a pattern, typing it is quicker than dragging. Extract pages saves the pages you list in the order you list them, so typing 3, 1, 2, 4-10 moves page 3 to the front and keeps everything else. The original file is not changed, so a mistake costs nothing but another try.

Double-sided documents scanned one side at a time

Many scanners with a sheet feeder scan only one side. The usual workaround is to scan the stack once for the fronts, turn the whole stack over and scan it again for the backs. Because the stack is turned over, the backs come out in reverse: the back of the last sheet first.

Take a five-sheet letter, printed on both sides, ten pages in all. After merging the two scans (fronts first, then backs, with Merge PDF), the file holds:

Page in the filePage of the letter
1 to 51, 3, 5, 7, 9 (the fronts, in order)
6 to 1010, 8, 6, 4, 2 (the backs, reversed)

There is no button here that interleaves the two halves automatically. There does not need to be, because the correct order can be typed into Extract pages in one go:

1, 10, 2, 9, 3, 8, 4, 7, 5, 6

The pattern is simple once you see it: take the first front, then the last page of the file, then the second front, then the second-to-last page, and so on inward. For a stack of any size, front number k is page k of the merged file, and its back is page 2n + 1 - k, where n is the number of sheets. For a long document, write the list out on paper first; for a short one, dragging the backs into place in Organize PDF works just as well.

If the second pass went through the scanner without the stack being turned, the backs are already in order (2, 4, 6, 8, 10), and the list becomes 1, 6, 2, 7, 3, 8, 4, 9, 5, 10.

Blank pages

Scanning single-sided originals with the scanner set to both sides produces a blank page after every real one. A cover sheet, a separator or an empty last page can also slip in.

Remove pages deletes the pages you name and keeps the rest in their original order. For a scan with a blank after every page, the blanks are the even pages: in a 12-page file, type 2, 4, 6, 8, 10, 12. There is no automatic blank-page detection here, partly because a page that looks blank on screen may carry a faint stamp or a few handwritten words, and deciding that is better left to the person who knows the document.

Dark borders and the edge of the scanner bed

A scan of a book or a small sheet often shows a dark frame where the lid did not cover the glass. Crop PDF moves the visible edge of each page inward by the number of millimeters you set for each side, so the border no longer shows on screen or in print.

Two things to keep in mind. A scanned page is usually a single picture, and cropping does not cut that picture: it hides the part outside the new edges, which is still in the file and can be brought back by anyone with a PDF editor. That makes cropping right for tidying and wrong for hiding anything private. And there is no preview, so start with small values, such as the default of 10 mm, look at the result, and run it again on the original if you need more.

The order to work in

Each step saves a new file and leaves the one before it untouched, so you can always go back. Working in this order avoids redoing anything:

  1. Combine separate scans of the same document into one file, if there is more than one.
  2. Put the pages in order, including untangling a double-sided scan.
  3. Turn the pages that are sideways or upside down. In Organize PDF this and the step before can be done together.
  4. Remove blank or unwanted pages.
  5. Crop borders, if they bother you.
  6. Number the pages last, with Add page numbers, so the numbers run without gaps. A scan often already carries the original printed numbers, so choose a corner they do not use.

What a scan cannot do

A scanned page is a photograph of paper. Its words are pixels, not text, so they cannot be searched, selected or copied, and no tool on this site recognizes the letters in a picture. If you need searchable text, the scanner's own software often offers text recognition as it scans; it is worth switching on before the next scan rather than after.

Scans are also large, because every page is a full-page picture: one of the three-page scans this site's tools are tested with is over 3.5 MB. Reordering, turning, removing and cropping do not redraw those pictures, so the fixed file is about the size of the original, minus any pages you removed. If it has to be smaller to send, Compress PDF can store large scanned pages at fewer pixels and checks that they still look the same; making a PDF smaller explains what each setting costs.

The tools for this

More on scans, images and converting