Deskew an Image Online
Straighten a tilted or skewed document so the text and edges sit perfectly level — free, fast, and right in your browser.
Drop a photo of a document
Drag & drop, paste, or pick a file
JPG · PNG · WebP — scanned on your device
Why deskewing matters
A scan or photo that's even a few degrees off looks careless and is harder to read — and skewed text trips up OCR (text-recognition) tools. Deskewing rotates and squares the page so lines of text are truly horizontal and the margins are straight.
This tool deskews by letting you set the document's four corners — automatically on open, or by hand — and then mapping them to a level rectangle. That fixes both a simple tilt and the more complex slant you get from an angled photo, in one step.
How to deskew an image
- Add the image. Drag in the skewed scan or photo, choose a file, or paste it. Edges are detected automatically.
- Align the corners. Confirm the four handles sit on the page corners; drag to fine-tune.
- Straighten. The page is remapped level. Apply Black & White or Magic to clean it up for OCR.
- Download. Save the straightened result as a PNG or PDF.
Deskew before OCR
If you plan to run text recognition on the document, deskew it first and use the Black & White filter. Level lines and high contrast give OCR engines the cleanest input, which noticeably improves how accurately the text is read.
How this works
Deskewing straightens a tilted or skewed scan or photo so that rows of text and the page edges sit truly level instead of leaning a few degrees off.
Rather than a flat rotate, it squares the page through its four corners — set automatically on open or by hand — and maps them to a level rectangle with the same perspective warp, which fixes both a simple tilt and the more complex slant from an angled photo in one step.
What you get
Level lines look tidier and, crucially, read far more accurately in OCR (text-recognition) tools, which struggle with slanted text.
Save the straightened page as a PNG or PDF; pair it with the Black & White filter for the cleanest, highest-contrast input before running OCR.
Tip
Deskew first, then apply Black & White, then run text recognition — level lines plus a pure black-on-white page give OCR engines the cleanest possible input.
Enhance filters explained
After the page is straightened, an enhance filter cleans it up. Each one is applied to the corrected scan in your browser; here is exactly what they do and when to use each.
- Magic (colour)
- Stretches contrast about 1.35× around mid-grey and adds a small brightness lift, so dull greys become white and text deepens — the classic colour-scan look. Colour is kept. Best for: Most documents, and anything with colour you want to keep (logos, highlights, coloured forms).
- Black & White
- Measures the page's average brightness, biases the cut-off toward white paper (≈0.82× the mean), then forces every pixel to pure black or pure white. The result is a clean, high-contrast bi-tonal page. Best for: Text-only pages, and the cleanest input for OCR; also gives the smallest PDF.
- Grayscale
- Converts to neutral grey using the standard Rec. 601 luma weights (0.299 red + 0.587 green + 0.114 blue), keeping soft tones without colour. Best for: Pages with photos or shading where pure black-and-white would lose detail, but colour isn't needed.
- Original
- Leaves the warped pixels exactly as photographed — perspective is still corrected, but no contrast, brightness or colour change is applied. Best for: When you only want the page straightened and cropped, or you'll do your own colour edits afterwards.
PDF page sizes
Save a PNG, or a single-page PDF in one of these sizes. Fit makes the page exactly the scan's pixels (no margins); A4 and Letter centre the scan on a standard page. Sizes are shown in millimetres, inches and PDF points (1 pt = 1/72 in).
| Page size | Metric | Imperial | PDF points |
|---|---|---|---|
| Fit to scan | Matches the scan | Matches the scan | Per-scan (no margins) |
| A4 | 210 × 297 mm | 8.27 × 11.69 in | 595.28 × 841.89 pt |
| Letter | 216 × 279 mm | 8.5 × 11 in | 612 × 792 pt |
More ways to scan & correct
Frequently asked questions
What does deskew mean?
Deskewing straightens a tilted or slanted image so horizontal lines (like rows of text) become truly level and the page sits square.
How is deskew different from rotate?
A plain rotate turns the whole image by an angle. Deskew here also squares the page via its four corners, fixing slant from an angled photo, not just a flat tilt.
Does deskewing help OCR?
Yes. Text-recognition tools are far more accurate on level, high-contrast pages, so deskewing (plus the Black & White filter) is a great pre-OCR step.
Where is my image processed?
The scan is created in your browser, so the new file is created on your own device. How any data associated with the tool is handled is described in our privacy policy.
More image tools
Crop an image
Crop to any ratio or an exact pixel size.
Image toolRotate an image
Rotate 90°, flip, or straighten a tilted photo.
Image toolImage to PDF
Combine images into a single PDF document.
Image toolCompress an image
Shrink file size without visible quality loss.
Image toolResize an image
Change dimensions to exact pixels or presets.