1. Home
  2. PDF tools
  3. Deskew PDF

Deskew PDF

Pages fed into a scanner at a slight angle look careless and read badly with OCR. The tool measures each page’s tilt from its lines of text and turns it straight.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use Deskew PDF

  1. Open a scanned PDF.
  2. Review the angle detected for each page and adjust if needed.
  3. Straighten and download.

Features

  • Automatic tilt detection from text lines
  • Adjust the angle of any page
  • Pages that are already straight are kept unchanged
  • Resolution choice for corrected pages

Supported formats

You can open

  • PDF

You get

  • PDF

Private by design

Your files are opened and processed by your browser on this device. They are never uploaded to openWorkstand or anyone else, so the Deskew PDF is safe for contracts, IDs, photos and work documents. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Straightened pages are redrawn as images; pages that are already straight stay untouched.
  • Detection needs lines of text; photos or drawings without text may need the angle typed in.
  • Password-protected PDFs open after you enter the password, which is used only on this device. The new PDF is saved without the password.

Guide

Straightening crooked scans before you share or OCR them

Paper rarely goes through a scanner perfectly straight. A page fed half a degree off is barely noticeable; three degrees makes a document look careless, makes it harder to read, and can cut OCR accuracy noticeably. Rotating each page by eye in an image editor is slow and imprecise. This tool measures the tilt of every page from its lines of text and straightens the pages that need it.

How the tilt is measured

Lines of text are the best guide to how a page sits. The tool renders each page, takes the dark pixels and counts them row by row along a range of slightly tilted angles. When the angle matches the text lines, the counts form sharp peaks (lines) and valleys (gaps between lines). The angle with the sharpest pattern is the tilt, measured to a few hundredths of a degree.

The same measure tells how clear the result is. A page of text gives a strong, unambiguous peak. A photo, a blank page or a page with only a few words gives a weak one; those pages are reported as having no clear text lines and are left alone unless you type an angle.

Reading the table

Each page gets a row:

  • Detected tilt: for example +1.84°. Positive means the text runs downhill to the right, negative uphill.
  • Correction: what will be applied. It starts at the detected angle for clearly tilted pages and at 0 for straight or unclear ones.

Change any correction by typing a value or using the arrows in 0.1° steps. Set it to 0 to leave a page as it is. The button tells you how many pages will be straightened.

What happens to the pages

Pages that are straightened are rendered at the resolution you choose, turned, and saved back at their original paper size, with white filling the corners that the rotation exposes. Because the page becomes an image, any text layer it had is not kept; for scans that is normally no loss.

Pages with no correction are copied into the new file untouched: same content, same quality, same selectable text. In a mixed document only the crooked scans change.

Choosing the resolution

  • 300 DPI for documents you will OCR, archive or print.
  • 200 DPI, the default, for sharing on screen and by email.
  • 150 DPI to keep the file small.

Deskew first, then OCR

Text recognition reads lines. Straight lines are recognised more accurately and the recognised words line up better with the image. Straighten the scan here, then run OCR PDF on the result.

A typical clean-up order for scans

  1. Fix page order with Reverse PDF Pages and turn sideways pages with Rotate PDF.
  2. Straighten with this tool.
  3. Trim dark scanner edges with Crop PDF.
  4. Run OCR, then Compress PDF if the file is large.

The whole process runs in your browser, so scanned contracts and records never leave your computer.

A worked example: a scanned lease

A 12-page lease came out of a sheet-fed scanner with several pages tilted.

  1. Open the PDF; the table shows tilts between -2.4 and +1.9 degrees on 7 pages, and 5 pages already straight.
  2. Page 12 is a signature page with little text and shows no clear text lines; it looks straight, so leave it at 0.
  3. Choose 300 DPI, because the lease will be OCR’d, and straighten 7 pages.

Checked against the current version of the Deskew PDF on .

Troubleshooting

The file does not open

Check that it is one of the supported formats above and opens in another app. Damaged files and password-protected PDFs cannot be read until they are repaired or unlocked.

It is slow or stops on a very large file

Everything runs on your device, so speed depends on its memory. Close other tabs, use a computer rather than a phone, or split the file into smaller parts first.

The download did not start

Look for your browser’s download bar or icon. Some browsers ask once before a site may download files; allow it and click the button again.

Frequently asked questions

How accurate is the automatic tilt detection?

On pages with several lines of text it is typically within about a tenth of a degree, which is below what the eye can see. Pages with mostly pictures, tables of numbers or very little text can give a less reliable angle, so check those in the table.

What do positive and negative angles mean?

A positive angle means the lines of text slope down to the right; a negative angle means they slope up to the right. The correction turns the page the opposite way by that amount.

Why are some pages not changed?

Pages that are already straight (less than 0.15°) or where no clear lines of text were found are left exactly as they were, so they keep their original quality and any selectable text.

Which resolution should I choose?

Use 300 DPI if you will run OCR or print, 200 DPI for everyday sharing, and 150 DPI when file size matters more than fine detail.

Should I deskew before or after OCR?

Before. Text recognition works best on straight lines, so straighten the scan first and then run OCR PDF on the result.

Keep working with the result

After you download, choose “Save to Workstand” to keep the result in a folder on your computer, attach it to a project and create a follow-up task. It is saved by your browser, not uploaded.