Deskew PDF
Straighten crooked or slightly tilted scanned PDF pages in your browser. Choose automatic skew detection or a fine clockwise/counter-clockwise correction, all on your device.
Runs pdf.js and pdf-lib in your browser, a 641.5 KB download the first time you deskew. Open-source licenses
How to straighten a crooked PDF
Choose your PDF or drop it onto the box above, pick Auto-detect skew or a directional tilt correction, and select Deskew PDF.
Your browser draws each page, measures the slope of its lines of text, turns each crooked page level around its center, and tells you how many pages it turned. Pages already straight are left exactly as they were.
How skew detection and straightening work
Sheet-fed scanners and phone cameras often feed paper at a 0.5° to 3° slant, making lines of text slope across the page.
Each page is drawn at 100 pixels per inch, so scans in any format (JBIG2, CCITT fax, JPEG, JPEG 2000) are measured. The tool tries every angle from -15° to +15° in 0.1° steps and keeps the one that lines the text up in the tightest rows, then turns the page by it while keeping embedded text and vector graphics intact. A page with no lines of text to measure, such as a photo, is left as it is, and the page says so.
Private, in-browser processing
Deskewing runs in your browser with pdf.js and pdf-lib inside a Web Worker. No pages, scans or filenames are uploaded to any server.
Related tools
- Custom Rotate PDF: Rotate PDF pages by custom degrees or auto-straighten sideways pages.
- Rotate PDF: Turn every page, or only some, the right way up.
- Compress PDF: Make a file smaller, or at or under a size you type.
- Repair PDF: fix a file that will not open, and see what came back
- Merge PDF: Join several files into one, in the order you choose.
- Split PDF: Save pages or ranges of a file as new files.