# Deskew PDF

> Straighten tilted scanned PDF pages locally with best-effort text-line angle detection, optional border crop, and before-and-after preview.

Canonical: https://helpers.aibrush.co/en/deskew-pdf

## Options

Best-effort local text-line angle detection for small tilt correction.

Optional crop trims white borders introduced by rotation when page edges are clear.

Color, grayscale, or black-and-white output with mild contrast and quality controls.

Output is rebuilt as page images; run OCR PDF afterward when you need searchable text.

## How to deskew a PDF

1. **Upload PDF** — Upload a tilted scanned or camera-created PDF.
2. **Choose output** — Choose whether to preserve color, use grayscale, or output black-and-white pages.
3. **Adjust settings** — Adjust DPI, quality, mild contrast, and border crop.
4. **Deskew** — Deskew locally, compare the preview, and download the straightened copy.

## FAQ

### Are PDFs uploaded?

No. Rendering, angle detection, preview, and export run in your browser.

### Will every page rotate?

No. Pages are deskewed only when the local detector finds a confident small-angle text-line signal.

### Can it fix sideways pages?

Use Auto-Rotate Scanned PDF for 90-degree orientation fixes. Deskew PDF focuses on small tilt correction.
