100% in-browser · no upload

Even a tilted document,four points make it flat.

Drop a photo and drag the four corners of the document. Perspective is corrected into a flat scan you can download as PNG or JPG. Everything stays on your device.

  • 014-point perspectiveThe document scanner transform, ported to TypeScript.
  • 02Color · gray · B&WB&W uses an adaptive threshold to clean up paper and text.
  • 03On-device onlyImages never leave this browser.
Drop / Select01

Drop a photo to scan

Drag a file here or choose one from your device.

JPG · PNG · WEBP · AVIF · HEIC · TIFF · BMP · GIF · ICOUp to 40 MB

How it works

A flat scan from any angle, without sending your photo anywhere.

Photo Scanner & Cropper is a free browser tool for turning a photo of a page into a straight, readable scan. It runs entirely on your device, so the photo never leaves your browser.

Use it for receipts, contracts, book pages, whiteboards, or any document photographed at an angle. The four-point perspective transform removes the tilt and produces an image you can keep as PNG or JPG.

Built by Hyunseok Byun · hs@gumyo.net · Updated December 1, 2026

01

Drop a photo

Choose a JPG, PNG, WEBP, AVIF, HEIC, TIFF, BMP, GIF, or ICO file, or drag it onto the page. Files up to 40 MB are supported.

02

Place four corners

Drag a handle to each corner of the document. The 3× loupe shows the exact pixels while you drag, and the arrow keys make fine adjustments.

03

Correct perspective

The scanner solves a homography and resamples the selection into a flat rectangle. Color, grayscale, and adaptive black-and-white modes are available.

04

Save the scan

Pick a resolution, rotate or flip if needed, check the exact output size, and download a PNG or JPG. The estimated size comes from the same encoded file.

Private by design

There is no upload endpoint and no cloud processing. Images are decoded, warped, enhanced, and encoded in the browser tab. The app also works offline after the first visit.

Formats and output

Native browser decoding covers the common formats. HEIC and TIFF fall back to bundled decoders when needed. Output is a clean PNG or a quality-controlled JPG at the resolution you choose.

Built for readable pages

The black-and-white mode uses a Gaussian adaptive threshold to separate paper from ink. It is designed for text documents, not for artistic filters or photo retouching.

Why four-point correction?

A photo taken at an angle turns a rectangle into a trapezoid. Four corner points are enough to estimate the perspective transform. Mapping that quadrilateral back to a rectangle removes the tilt and keeps the page proportions, so the result reads like a scan instead of a photo.

Tips for a clean scan

Fill the frame with the page, avoid harsh shadows, and keep the four handles just inside the paper edge. If a corner is hard to see, drag the loupe over it and use the arrow keys for a one-pixel adjustment. Rescan after changing the corners so the export matches the preview.

Supported input formats

JPG, PNG, WEBP, AVIF, HEIC/HEIF, TIFF, BMP, GIF, and ICO. SVG, PDF, RAW, PSD, and JPEG 2000 are not supported as inputs.

Questions or feedback: hs@gumyo.net