Creation
Document Scanner
Scan documents with edge detection, perspective correction, and multi-page PDF export — 100% private.
Drop a photo of a document
JPEG, PNG, WebP, HEIC
☕ Love this tool? Support the developer.
100% free — no ads, no limits. Your support keeps every tool free.
Secure payment via Stripe · No account needed
About Document Scanner
OptiPix Document Scanner turns your laptop or phone camera into a private document scanner. Capture or upload a photo of a document, ID, receipt, or whiteboard — auto-detect the four corners, correct perspective with a real homography transform, then enhance with adaptive binarization (B&W scan), grayscale, color, or high-contrast modes. Add multiple pages and download as a single multi-page PDF, individual PNG/JPEG files, or a ZIP. The output is a perfectly straight, rectangular document image — exactly like CamScanner or Adobe Scan, but everything runs in your browser. No camera-roll permissions, no app, no upload. Manually drag the four corners if auto-detection isn't perfect. Perfect for scanning contracts, IDs, receipts, handwritten notes, and book pages — privately.
How It Works
Edge detection finds dominant lines and the largest quadrilateral contour. The four corners feed a 3×3 homography (DLT) that maps the source quad to a true rectangle. Adaptive binarization (Sauvola/Otsu) produces clean B&W scans. Multi-page PDFs are assembled with pdf-lib.
Use Cases
- •Scan a contract on the kitchen table without uploading it
- •Digitize receipts for expense tracking
- •Scan a handwritten notebook page to PDF
- •Capture an ID card without granting CamScanner access to your camera roll
- •Photograph a whiteboard and turn it into a clean rectangular scan
Frequently Asked Questions
How does this compare to CamScanner?
Can I scan multiple pages into one PDF?
Will this work on my phone?
What's the difference between B&W, Grayscale, and Color modes?
What if the auto edge detection misses a corner?
Related Tools
OCR Text Extractor
Extract text from any image in multiple languages.
Image to PDF
Convert one or multiple images into a PDF document.
EXIF Remover
Strip GPS, camera data, and metadata from photos.
Passport Photo Maker
Make compliant passport, visa, and ID photos for 30+ countries — with face detection and white background.