PasteZap
🌐 English
Free · No account

FREE · IMAGE TOOLS

Document Perspective Scanner.

Turn photos of documents into clean flat scans: page edges are found automatically, corners can be adjusted, and pages export as JPG, PNG or a multi-page PDF.

Limits & supported formats

Up to 50 pages, 30 MB per photo, processed at up to 4,000 px on the longest side. Detection needs a page that contrasts with the background; otherwise drag the corners. No text recognition (use Image to Text for OCR).

Drop photos of your document here, or

JPG, PNG, HEIC, WebP… · up to 50 pages · processed on your device, nothing is uploaded

Steps to use Document Perspective Scanner

Add photos of your pages or take one with your phone. The page edges are detected; drag a corner if needed, pick a scan look (clean colour, black & white, greyscale) and download the PDF or images.

How Document Perspective Scanner processes your input

OpenCV (Apache-2.0) runs in a background worker: edge detection and contour search find the page, a perspective transform flattens it, and adaptive thresholding or background division produce the scan look. PDF pages are built with pdf-lib. Nothing is uploaded.

Document Perspective Scanner: worked example

A receipt photographed at an angle on a dark table is detected, straightened and turned into a black-and-white scan; three pages become one A4 PDF.

Scan a document with your phone or a photo

  1. Press Choose photos or, on a phone, Take a photo. You can add up to 50 pages.
  2. The page edges are found automatically and outlined in green. If a corner is wrong, drag it onto the page corner (or use the arrow keys).
  3. Pick a Scan look: Clean colour evens out shadows, Black & white makes text crisp, Greyscale keeps tones. Choose a Page shape such as A4 or US Letter if needed.
  4. Press Download PDF for all pages in one file, or Download JPG / Download PNG for the page shown.

For the best result, photograph the page flat on a darker surface, in even light, with all four corners visible.

Tips and limits

Detection looks for a light page that contrasts with the background. On a white table or with a hand covering a corner, press Use the whole photo and drag the corners yourself. Photos are processed at up to 4,000 pixels on the longest side, which is about 340 dpi for an A4 page.

The scan is an image: it does not recognise text. To make the text searchable or copyable, use Image to Text (OCR) on the scan, or combine scans with Images to PDF.

Questions about Document Perspective Scanner

Are my documents uploaded?

No. OpenCV runs as WebAssembly in a background worker of your browser; the photos and scans stay on your device.

Why are the corners in the wrong place?

The page needs a clear edge against the background. Drag each green corner onto the real page corner, or retake the photo on a darker surface.

What size is the PDF page?

With Detected shape, each page keeps the proportions of the paper you photographed. With A4, US Letter or US Legal, the scan is fitted to that paper size.

Is Document Perspective Scanner free, and do I need an account?

Yes. This tool is free to use in your browser without an account. Processing takes place on your device.

What are the limits and what should I check?

Up to 50 pages, 30 MB per photo, processed at up to 4,000 px on the longest side. Detection needs a page that contrasts with the background; otherwise drag the corners. No text recognition (use Image to Text for OCR). Review image dimensions, transparency and quality before downloading.

Is my input sent to a server?

Your input is processed in your browser and is not uploaded by this tool. Files and pasted text are cleared when the page is refreshed. Normal website requests are still required to load the page and its libraries. Read the privacy explanation.