Skip to main content

Scan & OCR

Document scanner

Turn a photo of a page into a flat, clean scan: finds the page, straightens it, removes shadows. Runs on your device.

  1. 1Add your JPG, PNG or WEBP file
  2. 2Pick options
  3. 3Click Run
  4. 4Download result

Limits

  • Needs a good contrast between the page and what it lies on (a light page on a darker surface works best). White on white, or a page that fills the whole photo, may not be found; you then get a notice and can set the corners by hand.
  • Heavy shadows are reduced but not removed, and curled or folded pages are only straightened as a flat rectangle: they are not unwarped.
  • The page is straightened at the photo's own resolution. Photos up to 50 megapixels are accepted (25 on phones) and are handled one at a time; detection runs on a smaller copy (1,000 px), the warp on the full picture.
  • Nothing is uploaded. The first use downloads the OpenCV.js image engine (13 MB) from this site and keeps it in your browser.
  • Eight corner fields are written by the corner picker; fill all eight to override detection, or clear them for automatic detection. Pixels refer to the photo as you see it (camera rotation already applied).