Deskew PDF

Deskew PDF documents to straighten crooked scanned pages one by one. Auto-detect tilted text lines or adjust any sheet from −10.0° to +10.0° in 0.1° steps with a live Original vs Straightened preview.

Corner-safe white margins Processed in your browser (no upload)Free, no 3-task hourly cap

Page-by-page scan alignment

Before and after on tilted test scans

Actual outputs from the browser detector. Click any sample below to open the Original vs Straightened preview and test the 0.1° angle slider without choosing a file.

Clockwise-tilted invoice

−3.0° auto

Applies a −3.0° counterclockwise rotation to level the invoice lines, adding thin white margins so corner headings and totals stay intact.

Before
Clockwise-tilted invoice (before)
After
Clockwise-tilted invoice (after)

Counterclockwise letter on gray paper

+4.0° auto

Applies a +4.0° clockwise correction to level counterclockwise text lines on dark gray scan paper without altering the paper tone.

Before
Counterclockwise letter on gray paper (before)
After
Counterclockwise letter on gray paper (after)

Already straight report

0.0° auto

Recognizes horizontal print (under 0.2° tilt) and keeps the angle at 0.0° instead of introducing unwanted rotation.

Before
Already straight report (before)
After
Already straight report (after)

How to deskew PDF pages

  1. 01

    Open your scanned PDF

    Choose a PDF or load a test sample above to run automatic tilt detection on each page.

  2. 02

    Check or dial in ±10.0°

    Compare Original vs Straightened and drag the 0.1° slider on sparse or steep pages left at 0.0°.

  3. 03

    Save your -deskewed.pdf

    Download all pages at up to 144 DPI with white corner margins intact.

Automatic detection and manual controls

CapabilityHow this tool worksPractical note
Automatic text-line detectorScales each page down to at most 700 px, then uses a local Web Worker to filter out photos, table borders, and scanner speckles and search ±7° (0.25° coarse, 0.05° fine steps) before rounding to 0.1°.Applies automatic corrections from ±0.2° to ±6.8° when clear horizontal print is found.
Per-page manual sliderSaves an independent −10.0° to +10.0° angle in 0.1° steps for every page with a live side-by-side preview and buttons to restore the automatic angle or reset to 0.0°.Negative angles rotate counterclockwise; positive angles rotate clockwise.
Corner-safe white margin expansionExpands each rotated page's width and height to fit the tilted corners and fills the outer triangular wedges with white instead of cropping back to the old frame.Rotated sheets become slightly wider and taller than the original page; check print scaling if exact paper size matters.
Image-based PDF export (up to 144 DPI)Renders rotated pages in your browser tab at up to 2x scale (144 DPI) and assembles a new -deskewed.pdf file.Capped at 8,192 px on the longest edge and 16 MP per page to stay within browser canvas memory limits.

Frequently asked questions

Why did automatic deskew leave a crooked page at 0.0° in my multi-page scan?

Each sheet from a document feeder is scored independently so clockwise and counterclockwise pages get their own angles, while ambiguous pages stay at 0.0° instead of risking a wrong turn. Automatic detection holds at 0.0° whenever a page has fewer than 3 clear text lines, heavy photos or dark shading (over 35% dark pixels), competing text angles, or a tilt of 6.85° or steeper; drag that page's slider to align it visually.

Will the downloaded PDF keep searchable text, links, or original vector pages?

No. Every page in the -deskewed.pdf download, including straight pages left at 0.0°, is rebuilt as a flat PNG image without built-in OCR. Selectable text layers, clickable links, bookmarks, and form fields are not preserved.

Can this flatten curved book-spine scans or flip pages scanned sideways at 90°?

No. Deskew PDF applies one flat 2D rotation within ±10.0° per page. Sideways or upside-down scans lack horizontal rows of print and need a 90° or 180° page rotator first, while warped text along a thick book binding requires dedicated page-dewarping software.

After straightening a scan, you can lift gray or yellow paper shading in Whiten PDF Background. If you are printing text scans and want crisp two-color contrast, use Convert PDF to Black and White.