Image Toolroom

Document Scanner

Turn a document photo into a clean scan

Detect the document edges, adjust all four corners, correct perspective and clean up shadows or uneven lighting — directly in your browser.

Drop a document photo here

Photograph or upload a document, receipt, form, card or page. Perspective correction and cleanup happen locally in your browser.

Your document stays on your device. Nothing is uploaded for processing.

Document corners

Drag the four blue points onto the exact document corners. Auto detection gives you a starting point.

Upload a document photo to detect its edges and correct the perspective.

Scanned result

Perspective corrected and enhanced using your current settings.

Your corrected scan preview will appear here.

Scan style

Choose how the corrected document should look.

Document cleanup

Balance readability against keeping the original appearance.

0

Lighten dark photos or reduce overexposed paper.

12

Increase text separation and document clarity.

42

Reduces uneven lighting and phone shadows across the page.

34

Adds local edge detail to text and printed lines.

Download

Export a higher-resolution version than the on-screen preview.

Export is generated locally at up to 3,500 px on the longest edge.

Private by design

Sensitive documents stay in your browser

Edge detection, perspective correction, enhancement and export happen locally. Your ID, passport, receipt or document is not uploaded to Image Toolroom for processing.

Image cleanup, not document verification

This tool improves a photographed document image. It does not verify identity, document authenticity or acceptance by a bank, government office or other recipient.

Fix perspective

Turn a skewed phone photo into a flat, rectangular document view with four adjustable corners.

Clean up the scan

Reduce shadows, increase contrast and create color, grayscale or black-and-white copies.

Local processing

Useful for private documents because the source image and corrected scan stay on your device.

Real test results · Example

See how a photographed document becomes a scan

This example shows an actual document image processed with Image Toolroom. Compare the angled photo with the extracted, perspective-corrected PNG. The document remains a raster image; this tool does not extract editable text.

PNG → PNGPerspective correctionReal tool outputNo upload for processing

Inspect the original and the corrected scan

Original document photo

1448 × 1086 px
Phone photo of the Project Update document lying at an angle on a desk
Angled page photographed on a desk, with surrounding objects visible.

Perspective-corrected scan

1420 × 1039 px
Perspective-corrected and cropped scan of the Project Update page
Document extracted, straightened and perspective-corrected.

Original PNG

2.04 MiB

1448 × 1086 px

Scanned PNG

2.17 MiB

1420 × 1039 px

Main improvement

Straighter page

Cropping and perspective adjustment

The displayed images are lightweight WebP previews of the actual PNG test files; file sizes above refer to the test files, not the previews. Some shadows and a narrow edge remain in this scan. The example stays on this page and does not change when you process your own document using the tool above.

Straighten photographed documents and create cleaner scans

A phone photo of a document often includes perspective distortion, desk or table background, uneven lighting and shadows. Correcting the four document corners before export makes the result easier to read and much closer to a flatbed-style scan.

The Document Scanner lets you detect or adjust the document boundaries, correct perspective and apply cleanup intended to improve photographed pages. The corrected page is created locally in your browser and can be exported as an image without uploading the document for processing.

How it works

1

Open the document photo

Choose a clear photo that contains the full page and enough visible contrast around its outer edges.

2

Confirm all four corners

Review the detected boundary and move the corner points when the automatic result does not match the page exactly.

3

Correct and export

Apply perspective correction and the available cleanup settings, then export the straightened page as PNG or JPEG.

How to photograph a document for better results

  • Keep the complete page inside the camera frame and avoid cutting off corners before scanning.
  • Photograph from as close to directly above the page as practical to reduce extreme perspective distortion.
  • Use even lighting and avoid a strong hand or phone shadow across important text.
  • For searchable text after cleanup, send the corrected image to the Image to Text OCR tool.

Frequently asked questions

What does perspective correction do?

It maps the four selected document corners to a flat rectangular output, reducing the trapezoid effect created when a page is photographed at an angle.

Do I need perfect automatic edge detection?

No. The important part is that the final four corner points match the actual document. You can adjust them manually before generating the corrected image.

Can this make text searchable?

The scanner creates a cleaned image. For editable or searchable text, use the Image to Text OCR tool on the corrected result.

Should I export PNG or JPEG?

PNG is useful when crisp text and lossless output matter. JPEG can produce a smaller file for photographed pages where some lossy compression is acceptable.

Is my document uploaded?

The normal scanning workflow processes the document locally in your browser and does not require uploading it to Image Toolroom.

Helpful guide

How to scan a document with your phone

Use perspective correction, cleanup, OCR and PDF creation in the right order for a cleaner document workflow.

Read guide →