Document Scanner - Photo Perspective Correction & Deshading

Upload a photographed document, drag the four corners to fit the page edges, then auto-correct the perspective and deshade, boost contrast or binarise — all locally in your browser.

All processing happens locally in your browser; images are never uploaded to a server

Click or drag to upload an image

Supports PNG / JPG / WebP / GIF and more

Tip

Upload a photographed document, drag the four corners to line up with the page edges, and the tool performs perspective correction, deshading and enhancement to output a neat black-and-white or colour scan — all processed locally in your browser with no uploads.

Features

Four-Corner Perspective Correction

Drag the four handles onto the page edges; any tilted shot is precisely projected into a straight rectangle via a homography, removing the keystone distortion.

Deshading & Illumination Normalisation

Estimates the background brightness with a heavy blur and normalises illumination, stripping uneven shadows and greyness so the page returns to a clean, even white.

B&W Scan & Colour Enhancement

Offers four levels — original, deshade, contrast boost and Otsu black-and-white binarisation — for a crisp scan-like result; the binary level suits pure-text documents.

Local Processing, No Uploads

Perspective correction and deshading run entirely with Canvas in your browser, so your document never leaves your device.

Steps

1

Upload a Document Photo

Click or drag in a photographed document image; even lighting and the whole page in frame help with corner picking.

2

Drag the Four Corners

Drag the four handles to align with the page edges, and hit reset corners to start over if needed.

3

Generate & Download

Choose a deshading level and output format, generate the scan, compare before and after, then download as PNG or JPG.

FAQ