PDFMacroPDFMacro
Tool · Deskew

Deskew a PDF: straighten crooked scans

Measures how far each scanned page is tilted and levels it. Pages that already have a text layer are left alone — straightening one would cost more than it fixes.

Processed in your browser
Common questions

Frequently asked questions

What is the difference between deskew and rotate?
Rotate turns a page in 90-degree steps, which is what a PDF can record directly and what fixes a page that went through the scanner sideways. Deskew corrects the small tilt — a degree or two — that a sheet picks up in the feeder. That angle cannot be recorded in the file, so correcting it means re-rendering the page, which is why the two are separate tools with quite different costs.
Why does it refuse pages that already have text?
Because straightening one would make it worse. Correcting a tilt requires re-rendering the page as an image, permanently removing its text layer, its annotations and its crisp type. A born-digital PDF is not tilted — its text sits on exact baselines — so there is nothing to gain. If its text does sit at an angle, that is a design choice such as a rotated stamp, and rasterising the page to level it would be a poor trade.
How does it measure the tilt?
By the one thing every document reliably has: horizontal lines of text. It sums the dark pixels in each row of the page at a range of candidate angles, and picks the angle where those sums are sharpest — where the lines stack into tight peaks with clear gaps between them. A tilted page smears each line across many rows and flattens that pattern.
Does deskew upload my PDF to a server?
No. The file is opened, processed and saved back by code running in this browser tab — there is no upload endpoint on our servers to send it to. You can watch the Network panel in your browser's developer tools while you work and confirm nothing carrying the document leaves the page.
Is Deskew free?
Deskew is free, with no account required and no page or file-size caps imposed by the plan. Corrected pages become images, so run OCR afterwards if you need them searchable.
Does it work offline?
Yes. Once the page has loaded, every tool keeps working with the network disconnected, because the processing never depended on a server round-trip. AI features that use an on-device model need one download the first time; after that they run offline too.

Deskew runs in your browser. Try it now.

No account, no upload, no watermark on the way out. Open a file and see for yourself — the network panel is right there if you want to check.