Scan multi-page documents with your camera or upload photos — perspective correction, auto-enhance, export as PDF, ZIP, JPG, or PNG. 100% in-browser, private, free.
When you photograph a paper contract, receipt, or whiteboard with a smartphone or webcam, the camera lens rarely sits perfectly perpendicular to the page. This introduces projective distortion (keystoning), where rectangular paper edges converge into a trapezoid and uneven room lighting casts shadows across the text.
ViewAnyFile.app’s Document Scanner solves both problems entirely inside your browser using the HTML5 MediaDevices API (`getUserMedia`) and custom Canvas 2D projective geometry:
Does the camera stream ever leave my device?
Never. The video feed from navigator.mediaDevices.getUserMedia is drawn directly onto a local HTML5 <canvas> element in your browser tab. Zero frames or document photos are transmitted over the network.
Can I upload an existing photo from my phone gallery or desktop?
Yes. You can either capture a live frame using your device camera or drop existing JPG, PNG, WebP, or HEIC photos of documents to straighten and convert them into a single PDF.
Related Tools: Need to combine your scanned PDF with other documents? Use our PDF Merger or PDF Watermark Tool.