Skip to content
documentflare
Tutorials

Straighten a crooked scan: align PDF pages

Fix the skew of scanned or photographed pages in a PDF — automatic deskew in the browser, no upload.

This page contains affiliate links: we may earn a commission if you use them, at no extra cost to you. This does not influence our recommendations. As an Amazon Associate, we earn from qualifying purchases.

Table of contents

The slightly crooked scan

A page poorly placed on the glass, a document photographed handheld: a few degrees of tilt is enough to tire the reader and spoil an otherwise clean document. Deskewing measures the angle and corrects it page by page.

Canon LiDE 300 — flatbed scannerCanon LiDE 300 — flatbed scannerCompact flatbed, suited to photos and fragile documents.affiliate

How it works

The tool identifies dominant lines — text lines, table edges, margins — derives the tilt angle, then rotates the content to cancel it. On well-contrasted text, the correction is precise to a tenth of a degree.

Honest limits

  • Blurry or dark photos — indiscernible lines prevent detection.
  • Very graphic layouts — posters or pages without dominant lines may be misestimated.
  • Extreme tilts — beyond a few degrees, the problem calls for an explicit rotation instead.

After deskewing

The content frame has rotated: a pass through cropping tightens the margins that appeared at the corners — for a clean final document.

Scanning hardware

Canon LiDE 300 — flatbed scannerCanon LiDE 300 — flatbed scannerCompact flatbed, suited to photos and fragile documents.affiliate Brother DS-640 — portable scannerBrother DS-640 — portable scannerThe classic portable document scanner.affiliate Epson WorkForce ES-50 — mobile scannerEpson WorkForce ES-50 — mobile scannerThe lightest option when travelling.affiliate