Key Facts
- Category
- Documents & PDF
- Input Types
- file, select, number, text
- Output Type
- file
- Sample Coverage
- 4
- API Ready
- Yes
Overview
The PDF Deskew tool automatically detects and corrects tilted pages in your PDF documents. Using a content-aware processing pipeline, it straightens scanned image pages while preserving vector text, fonts, and searchability on native text pages without rasterizing them unnecessarily.
When to Use
- •When scanned PDF documents or digitized contracts are tilted, making them difficult to read or process.
- •When you need to straighten skewed pages in a PDF while keeping the searchable vector text intact on non-skewed pages.
- •When you want to apply a specific, uniform rotation angle to correct a known tilt on select pages of a document.
How It Works
- •The tool analyzes the PDF page by page to distinguish between vector text pages and rasterized image scans.
- •For image pages, it detects the skew angle within a ±15° range using horizontal projection-profile variance.
- •It rotates the tilted image pages to correct the alignment while copying text and empty pages verbatim to preserve searchability.
- •The corrected pages are reassembled into a single, straightened PDF document ready for download.
Use Cases
Examples
1. Auto-Aligning Scanned Invoices
Accounts Payable Clerk- Background
- Receives batches of scanned invoices from various vendors, many of which are scanned at slight angles, making them hard to read and archive.
- Problem
- The tilted pages look unprofessional and make manual data entry slow.
- How to Use
- Upload the scanned PDF, select 'Auto detect skew' mode, set the threshold to 0.5, and run the tool.
- Example Config
-
Mode: Auto, Threshold: 0.5, Rasterize Text: No - Outcome
- The skewed pages are automatically straightened, while any native text pages remain fully searchable.
2. Manual Tilt Correction for Specific Pages
Digital Archivist- Background
- Digitizing a historical manuscript where pages 1 to 3 were scanned with a consistent 3-degree clockwise tilt.
- Problem
- Auto-detection might vary slightly across pages, but a uniform 3-degree counter-clockwise correction is needed for consistency.
- How to Use
- Upload the PDF, switch the mode to 'Manual angle', enter '3' in the manual angle field, and set the page range to '1-3'.
- Example Config
-
Mode: Manual, Manual Angle: 3, Page Range: 1-3 - Outcome
- Pages 1 through 3 are rotated exactly 3 degrees to correct the tilt, while the rest of the document remains untouched.
Try with Samples
pdf, image, textRelated Hubs
FAQ
Will this tool make my searchable PDF text unselectable?
No. By default, the tool preserves text pages as vector content. Only image-based pages are rasterized and deskewed.
Can I force the tool to deskew pages that contain vector text?
Yes. You can set the 'Rasterize Text Pages' option to 'Yes', though this will convert those pages to images and remove text selectability.
What is the maximum angle the auto-detect mode can correct?
The auto-detect mode can identify and correct skew angles within a range of ±15 degrees with a 0.5-degree resolution.
How do I correct a specific page range instead of the whole document?
Enter the desired pages in the 'Page Range' field (for example, '1-3,5') to limit the deskew process to those pages.
What does the auto-detect threshold option do?
It sets the minimum tilt angle required to trigger a correction, preventing unnecessary processing on pages with negligible skew.