Skip to content

Deskew PDF

Automatically straighten tilted scanned pages using OpenCV.

Click to select files or drag and drop

One or more PDF files

Your files never leave your device.

About Deskew PDF

Deskew detects the angle of tilted scans and rotates each page so lines of text run straight, which also helps OCR.

How to use it

  1. Select your PDF, or drag it onto the drop area.
  2. Adjust the detection settings if needed.
  3. Deskew and download.

Your file stays on your device

This tool runs entirely in your browser. Your file is read from your device, processed in memory, and saved back to your device — it is never uploaded to QPDF or anyone else. The first time you use it, your browser downloads the PyMuPDF engine (software only, about 54 MB) from qpdf.ca and keeps it for offline use.

How QPDF keeps files private →

Good to know

  • Works best on scanned text pages. Downloads the PyMuPDF and OpenCV engine (about 54 MB) the first time.

Related tools

All tools →
OCR PDF Make scanned PDFs searchable and copyable.
Rotate PDF Rotate all or selected pages by 90° steps.
Scanner Effect Make a digital PDF look scanned.
Compress PDF Reduce PDF file size while keeping text sharp and searchable.