What Skew Is and Why Scans Have It

Quick answer: Skew is a small rotational tilt — typically half a degree to three degrees — baked into a scanned or photographed page. It comes from paper feeding crookedly, a book not sitting flat on the glass, or a phone held almost, but not quite, level. The text is all there; it just leans.

A degree sounds like nothing until you read a page of it: lines drift, the eye keeps re-finding the margin, and anything downstream that assumes upright pages — OCR especially — starts making mistakes. Skew is also contagious in archives: a crooked scan photocopied or re-scanned for years stays crooked in every copy. Straightening once, at the source file, fixes every future use.

This tool corrects the fractional tilts that scanning produces. It is not a page rotator: a page turned sideways or upside down needs quarter-turns, which the PDF Page Rotator does without touching the page's content at all.

How to Straighten a Scan, Step by Step

Quick answer: Upload the scanned PDF, leave the resolution at 150 DPI unless the file is headed for print, and click Straighten My Scan. Each page is measured and, where a clear tilt is found, rotated back. The results show the detected angle for every page; download the straightened copy and check the pages that matter. Your original is never modified.

Read the per-page report before you file the result away. A healthy run on a typical feeder scan shows most pages corrected by a consistent small angle — the same crooked feed tilts every sheet alike. Wildly varying angles, or a big correction on an unusual page (a photo, a chart), deserve an eyeball on that page in the output.

Under the results sits a share row. Copy Summary puts the page-by-page angle report on your clipboard; Share Link passes this page on; Email Summary opens your mail app with the report written. Reset clears everything and asks for confirmation first.

How the Tool Detects the Angle

Quick answer: By projection profile — the classical method. The rendered page is reduced to its dark pixels. For each candidate angle from −5° to +5°, in steps of a quarter degree, the ink is projected onto an axis at that angle and the sharpness of the resulting line-profile is scored. When the candidate matches the page's true tilt, text lines collapse into tall, narrow peaks and the score jumps. The best-scoring angle is the measurement.

Two guards keep the measurement honest. First, a confidence check: the best angle must beat the untilted profile by a clear margin, or the page is declared straight — noise is not allowed to become a correction. Second, a floor: tilts under about a third of a degree are reported but not applied, because rotating by less than the measurement's own uncertainty trades one guess for another.

The search is deliberately narrow. Skew from real scanning lives within a few degrees; widening the range would mostly give weird pages (diagonal artwork, landscape tables) more room to fool the profile. A page tilted beyond 5° has a different problem and better tools — a re-scan, or a manual rotation.

Best-Effort, Honestly: When Detection Misses

Quick answer: Detection is an estimate from content, and some content estimates badly: pages dominated by one large photograph, pages of handwriting, music scores, forms with strong vertical rules, near-blank pages, and pages in scripts whose lines the profile reads weakly. On such pages the tool may leave a real tilt alone, or — rarer — apply a small wrong correction. That is why every page's angle is printed in the results.

This page uses the words “best-effort” in its title, its settings and its results because the alternative — presenting an estimate as a certainty — is how tools quietly ruin documents. You are the final check, and the tool is built to make checking easy: consistent angles across a run of similar pages are trustworthy; a lone strange angle on an odd page is a flag, not a fact.

If a document matters and one page is wrong, the practical routes are: re-scan that page straighter (best), fix it in a desktop editor with a manual angle (full control), or accept the tilt on that page. What the tool will not do is pretend.

Pages Become Images — the Standing Trade-Off

Quick answer: Rotating a page by 1.7° cannot be done to the page's text and vector objects with the libraries a browser can load — so, like the other render-based tools here, deskew rebuilds each page as an image. The output reads and prints like your document, but its text is not selectable or searchable, and links and form fields do not survive.

For the tool's actual job this trade is usually fair: the input was a scan, whose pages were images already — nothing structural existed to lose. The honest exception is the mixed document (some born-digital pages, some scans): the digital pages also come out as images. If that matters, split the document, deskew only the scanned part, and merge it back.

Searchability can be rebuilt afterwards with OCR PDF — and OCR genuinely works better on straightened pages, so the chain scan → deskew → OCR is the standard order for a reason.

Born-Digital PDFs Gain Nothing

Quick answer: A PDF exported from Word, a browser or a design tool has mathematically upright pages. There is no tilt to find, the detector will report every page straight, and the output is simply a heavier image copy of a file that was better before. The tool says this in its results rather than stopping you — but consider this the warning label.

If a born-digital document looks tilted, the odds are that the tilt is inside an image placed on the page (a crooked scan embedded in a report). Deskewing the whole page would tilt everything else to favour that image. The right fix is at the source: straighten the image, then rebuild the document — or extract the image with Extract Images from PDF, straighten it as a scan of its own, and rebuild the page.

Reading the Per-Page Results

Quick answer: Every page gets one line: its number, the tilt the detector measured, and what was done — “straightened” or “kept as rendered”. The summary counts pages checked, pages straightened, and the biggest correction applied. A page reported at 0.00° with a confident profile was upright; a page kept despite a small measured tilt fell under the confidence or size guards.

Patterns in the report are diagnostic. The same angle on every page: one crooked feed, perfectly corrected. Angles alternating in sign: pages fed from a stack that rocked, or a book scanned two-up. A single page at the range edge (±5°): treat it as suspect and look at it — the true tilt may be larger than the search window. No corrections at all on an obviously crooked scan: the content gave the profile nothing to hold, and a re-scan is the honest fix.

Choosing a Render Resolution

Quick answer: 150 DPI by default: tilt is a whole-page property, so measuring it needs no fine detail, and the output is perfectly readable on screen. 200 DPI renders the final pages sharper for print. Nothing higher is offered — detection gains nothing, conversion slows, and the file grows.

Because the output is image-based, the DPI you pick is also the output's ceiling of quality: a page rendered at 150 DPI and later printed large will look like what it is. For an archive master, 200 DPI is the safer default; for a working copy you will OCR and discard, 150 DPI is plenty and faster.

What to Do After Straightening

Quick answer: OCR, if the document needs text: OCR PDF rebuilds a searchable layer, and recognisers make measurably fewer errors on upright lines. Compression or grayscale, if the rebuilt file is heavy. And filing discipline: keep the original scan, name the straightened copy clearly, and let the copy be the one that travels.

One ordering note if you plan several fixes: rotate first (quarter-turns, content-preserving), deskew second (fractional tilt, image-based), OCR last (it wants final geometry). Doing OCR before deskew bakes the tilt into the text layer's coordinates; doing it after gives the recogniser the straightened pages it assumes.

What This Tool Cannot Do

Quick answer: It cannot fix tilts beyond ±5°, quarter-turn rotations, perspective distortion from photographing a page at an angle (keystoning — the page is a trapezoid, not a rotated rectangle), or pages curled from a book spine. It cannot keep a text layer, and it cannot guarantee its angle on content-poor or content-weird pages.

Perspective deserves its own sentence because phone “scans” suffer from it most: if the top of the page is narrower than the bottom in the image, no rotation straightens it — the geometry is a projection, not a tilt. Dedicated scanner apps correct perspective at capture time; this tool's honest advice for a keystoned page is to re-capture it flatter and squarer.

Your Files Never Leave Your Device

Quick answer: Scanned documents are among the most private files people own — letters, signed forms, records. This tool therefore renders, measures and rebuilds entirely in your browser tab, with pdf.js and pdf-lib running on your device. Nothing is uploaded, stored or accounted anywhere.

Close the tab and everything is gone — which also means you should download the straightened copy before you close it, and keep your original scan as the untouched source.

Sources & References

Sources checked December 2026.