Skip to main content
PDFtoOCR
Deskew PDF Tool

Auto-Deskew & Straighten PDF Online.

Detect the tilt angle pixel-by-pixel, fine-tune it, and download a perfectly aligned PDF โ€” all in your browser, no upload.

๐Ÿ“ Auto-Deskew & Straighten PDF

๐Ÿ”’ 100% Private ยท In-Browser WASM ยท Zero Upload Guarantee

Crooked scanned PDFs, camera photos & book pages โ€” .pdf, .png, .jpg, .jpeg, .webp, up to 50 MB. Paste works too (Ctrl+V).

๐Ÿ”’ Zero Upload Guarantee: every page is decoded, measured & rotated on your device โ€” nothing ever leaves your browser.

How it Works

Three steps to a perfectly straight scan.

Upload, auto-detect, download โ€” aligned entirely on your device.

01

Upload crooked scan

Drag and drop, browse, or paste any .pdf, .png, .jpg, .jpeg, or .webp scan. The page renders instantly in a live side-by-side preview โ€” nothing is uploaded anywhere.

02

Auto-detect or adjust the angle

Hit Auto-Detect to instantly compute the precise tilt, then fine-tune with the -15ยฐ to +15ยฐ slider, quick 90ยฐ flips, and optional contrast cleanup. The preview updates as you type.

03

Download aligned PDF

Click Straighten & Download to get a clean, level PDF with full source resolution preserved โ€” generated entirely client-side with pdf-lib.

Why pdftoocr.com

Straighten anywhere, without the upload queue.

Cloud PDF tools shuttle your scans to a server to process them. Ours measures the angle right on your machine.

Aspectpdftoocr.comCloud PDF Tools
Server uploads๐Ÿ”’ NEVER โ€” 100% client-side canvasYes โ€” scans sent to remote servers
Processing speedInstant โ€” pixels computed in your tabQueue waiting & multi-minute turnaround
Privacy100% local โ€” no document ever leavesStored on remote servers, retention policies
Cost & limitsFree โ€” no account, no watermarks, 50 MBSubscriptions, credits & file-size tiers
Offline resilienceWorks disconnected after page loadRequires internet for upload & download
Deskew PDF Guide

How to straighten a crooked scanned PDF.

Deskewing a PDF (also called deskew PDF online free, image alignment, or tilt correction) means measuring the rotation angle of a crooked scan or photo and rotating each page back until the text runs truly horizontal. A tilted page is more than a cosmetic annoyance โ€” skewed text measurably hurts OCR accuracy, disrupts line-of-text selection, and looks unprofessional in submissions. This tool auto-corrects that angle in a fraction of a second.

This is a free deskew PDF online solution that runs completely in the browser. Instead of sending your scan to a desktop-download server queue, the tool decodes the page into an HTML5 canvas on your machine, projects the pixel rows to detect the tilt, and renders a straightened result into a clean, aligned PDF via pdf-lib WebAssembly. It is a beautifully simple pipeline for a very common problem: your scan, your device, zero cloud round-trips.

Why deskew crooked scanned PDFs matter for OCR

Optical character recognition suffers on slanted pages. Even a 3ยฐ tilt can split a single line of text into fuzzy fragments, causing words to be read incorrectly or dropped entirely. Straightening the page before OCR โ€” whether you use it here or inside a review tool โ€” keeps the text baseline aligned with the recognizer's lines, which is why OCR-first workflows straighten before extracting. This tool levels the page before you even run recognition.

Manual vs automatic angle correction

The automatic detector scans the binary pixel matrix across -15ยฐ to +15ยฐ to find the angle with the strongest horizontal edges (the projection-profile variance), then you can fine-tune with the .1ยฐ slider for pixel-perfect alignment. Quick 90ยฐ buttons flip scans that arrived sideways, and the contrast toggle scrubs out the shadows and yellowing common to book and receipt scans. When you're satisfied, the download is a genuine PDF page, crisp at any zoom.

  • Auto-detect tilt from pixels โ€” no guessing, no cloud
  • 0.1ยฐ fine-tuning slider, -15ยฐ to +15ยฐ, live preview
  • Quick โ†บ 90ยฐ CCW / โ†ป 90ยฐ CW rotation buttons
  • Multi-page PDFs with Page X of Y + Apply to All Pages
  • Contrast boost & scanner shadow cleanup toggle
  • Pure client-side: .pdf, .png, .jpg, .jpeg, .webp โ€” zero uploads

Whether you're straightening a tilted book page, a crinkled receipt photo, or an entire box of skewed court scans, drop the file into the tool above, hit auto-detect, fine-tune, and download a clean aligned PDF โ€” your documents were corrected, and they never left your hard drive.

Who it's for

Perfectly level pages, everywhere scans happen.

๐Ÿ“„

Legal & documentation teams

Straighten a box of skew-signed contracts and evidence before e-discovery, so OCR and clean audit trails actually work.

๐Ÿงพ

Receipts & expense scans

Phone-photo receipts with tilted tables straighten instantly โ€” before expense parsing, your line items need to be level.

๐Ÿ“š

Book & archive digitization

Book page photos from a camera inherently keep a curve and tilt โ€” auto-deskew levels each global spread before archiving.

Must Try

Must Try Tools

More free, private, browser-based tools โ€” every one runs 100% on your device with nothing uploaded.

PDF to OCR

Turn scanned PDFs and images into searchable text โ€” no limits, no upload.

Make PDF Searchable

Add a hidden text layer to scanned PDFs so they become searchable.

Screenshot to Text

Extract text from screenshots and images instantly, in your browser.

Handwriting to Text

Turn handwritten notes, forms and letters into editable text.

PDF Table Extractor

Pull tables from PDFs into Excel, CSV or JSON with drag column guides.

Bank Statement to CSV

Convert statement PDFs into clean CSV/XLSX โ€” transactions stay private.

Credit Card to Excel

Convert credit card statements to Excel/CSV with auto-categorized transactions.

Flatten PDF

Lock form fields, signatures and annotations into read-only PDFs.

Redact PDF

Permanently erase sensitive text from PDFs before sharing.

Receipt OCR to Excel

Turn receipt scans into editable Excel rows, entirely offline.

PDF Bates Numbering

Add Bates numbers to PDF pages for legal disclosure sets.

Bulk PDF Signer

Sign and fill multiple PDFs in one pass โ€” no upload, no account.

Medical OCR Sanitizer

OCR medical records while flagging and removing PHI.

Scanned PDF to Word

Convert scanned PDFs into editable Word documents.

PDF to ID Card Size

Crop any PDF to an exact ID card size โ€” CR80, PAN, passport or custom.

e-Aadhaar to ID Size

Crop your e-Aadhaar PDF front and back into a CR80 card.

PAN Card to ID Size

Trim PAN card PDFs to exact 85.6 ร— 53.98 mm paper size.

Voter ID to ID Size

Crop your voter ID (EPIC) card to a clean CR80 file.

Driving Licence to ID Size

Convert licence PDFs to 85.6 ร— 54 mm front and back cards.

Ayushman Card to ID Size

Crop the Ayushman Bharat card out of its PDF.

Passport Photo 35ร—45

Cut a 35 ร— 45 mm passport photo out of any PDF.

Custom Card Size Cropper

Crop PDFs to any custom card size in mm or inches.

Exam Photo Compressor

Crop and compress photo, signature and certificate PDFs for SSC, IBPS, UPSC & RRB size and KB limits.

Photo & Signature Joiner

Merge passport photo and signature into one image โ€” vertical, horizontal, or overlapping for govt exam forms.

Ready to straighten your scans?

Auto-detect, fine-tune, download โ€” free, 100% client-side, zero uploads.

Deskew a PDF Now