Perspective Correction Online
Straighten a document photographed at an angle by adjusting its corners. Export a corrected image for reading or OCR preparation.
Flatten a flat document photographed at an angle by selecting all four page corners. Unlike a center crop or rotation, the projective correction maps the selected quadrilateral to a rectangle. Processing and PNG export stay in your browser.
Input and result example
Result
A rectangular page ready for PNG export and OCR
The supplied illustration contains a flat page transformed into a parallelogram. Try it to compare the source with the corrected preview; it is not a claim that all phone photos will be repaired.
Supported inputs, outputs, and browsers
- Supported input
- One browser-readable image of a flat document, up to 16 megapixels
- Output
- Perspective-corrected PNG, with the longest side limited to 2,000 pixels
- Browser compatibility
- Use a current version of Chrome, Edge, Firefox, or Safari with JavaScript, File API, Canvas, and downloads enabled. Available memory and browser format support can limit very large files.
How to use Perspective Correction
- 1.Load one document image. Keep the complete page visible, including all four corners.
- 2.On the original image, click top left, top right, bottom right, then bottom left. You can fine-tune each X/Y percentage using the numeric fields.
- 3.Press Process. Check that the corrected page and any rectangular table have straight edges. Adjust the corners and process again if needed.
- 4.Export the corrected PNG, then use Arabic OCR or Image to Text if you need editable text.
Limitations
- Select corners clockwise without crossing them. This is manual correction, not automatic edge detection.
- Curved book pages, blur, shadows and missing parts of the photograph cannot be fully repaired.
- The 2,000-pixel export limit controls browser memory usage. Keep the original when you need full-resolution archival output.
Privacy and processing
Local browser processing
The input content never leaves your device. Processing happens inside your browser, with no file or text upload to an external processing server. No registration is required, so the content-processing step is private to your device.
Frequently asked questions
Why is this different from rotating or cropping an image?
Rotation keeps converging edges. This tool uses the four selected corners to map the page to a rectangle, correcting the perspective of a flat sheet.
Are my document images uploaded?
No. The correction and PNG export run locally in your browser. Anonymous operation events contain no image or filename.
What should I know before using Perspective Correction?
Perspective correction cannot fully undo curved book pages, blur, or content hidden outside the photograph.
Where is my input processed?
The input content never leaves your device. Processing happens inside your browser, with no file or text upload to an external processing server. No registration is required, so the content-processing step is private to your device.