Document Scanner
Turn a photo of a page into a clean, flat scan without an app or an upload. Drop in a picture of a document and the tool finds its edges, perspective corrects it to a straight top-down view, enhances it for legibility, and exports a PNG or a PDF. It uses OpenCV running entirely in your browser, so your document never leaves your device. OpenCV downloads once on first use, then is cached.
How to scan a document from a photo
- Drop in a photo of the document, or click to browse.
- Wait a moment while the page edges are detected and the perspective is corrected.
- Pick an enhance mode (Color, Grayscale, or Black and white), then download a PNG or a PDF.
Examples
Phone photo of a receipt to PDF
An angled photo of a receipt on a desk
A straightened, high-contrast scan saved as a one-page PDF
Tilted page to a flat PNG
A page shot at an angle with the corners visible
A flat, top-down PNG of just the page, edges cropped away
Frequently asked questions
Is my document uploaded anywhere?
No. Nothing is uploaded. The scan runs entirely in your browser using OpenCV (WebAssembly). Your photo is processed on your device and never sent to a server. Only the OpenCV engine is downloaded, once.
Why does the first scan take a moment?
OpenCV, the computer vision engine that finds the page edges and corrects the perspective, downloads the first time you use the tool and is then cached for instant reuse. Larger photos also take a little longer to process.
Can I export the scan as a PDF?
Yes. Use Download PDF to save the corrected scan as a one-page PDF (A4 with a small margin), or Download PNG for an image. Both are generated in your browser.
What gives the best results?
Good contrast between the page and the surface behind it. Lay the document on a darker, plain background, get all four corners in the frame, and use even lighting so the edges are easy to detect.
What if it cannot find the page edges?
If no clear page is detected, the tool falls back to scanning the full frame so you still get a result. Improve the contrast and lighting and try again for an auto-cropped scan.
Related tools
Image to Text (OCR)
Extract text from an image with OCR, right in your browser. Supports many languages, copy or download the result. Your image is never uploaded.
EXIF Remover
Remove EXIF and metadata from JPEG and PNG images in your browser. Strip GPS location, camera details, and timestamps, then download a clean copy. Private.
Image Cropper
Crop an image in your browser by dragging a box, with aspect-ratio locks like 1:1 and 16:9. Free, private, and nothing is uploaded.
Add Border to Image
Add a colored border or frame around an image, with adjustable width and color. Live preview, runs in your browser, nothing uploaded.
AI Alt Text Generator
Generate accessible alt text for any image with AI, right in your browser. Copy clean alt text or a ready HTML img tag. Nothing is uploaded.
AI Background Remover
Remove the background from a photo automatically with AI, right in your browser. Get a transparent PNG or a solid color. Nothing is uploaded.