FileNorm
← Back to the blog
2026-08-06

How to Straighten and Crop a Phone Photo of a Document

A document photographed at a slight angle, with background around the edges, looks unprofessional and sometimes gets rejected outright. Here's how to fix both problems properly.

A document photo taken by hand is almost never perfectly straight, and almost always includes some of the table or floor around the edges. Both are easy fixes, but they're two different problems that need two different tools.

Sideways or upside down: rotate

If the whole photo is turned 90 or 180 degrees — common when a phone's orientation sensor gets confused, especially photographing something flat on a table — rotate fixes the entire image at once:

Slightly tilted, with background around the edges: crop

If the document itself is basically right-side-up but slightly angled, and there's visible table/desk/floor around it, cropping tightly to just the document removes the distraction and often makes the content look noticeably larger and clearer:

Actually skewed (not just tilted): the document scanner

There's a third case crop and rotate don't fully solve: the document was photographed at an angle relative to the camera, not just rotated — so it looks like a trapezoid instead of a rectangle, wider at one end than the other. This happens whenever the phone wasn't held perfectly parallel to the page. A straight crop can't fix that shape; it needs perspective correction, which maps the four corners of the tilted document back onto a proper rectangle:

  • Document scanner — drag the four corners onto the document's actual edges, and it straightens the perspective, crops tightly, and cleans up the contrast so it reads like an actual scan instead of a phone photo

A good order to work in

  1. If the photo is sideways, rotate it first
  2. If it's a trapezoid shape (skewed perspective), use the scanner tool — it handles the cropping too
  3. If it's just tilted a few degrees with visible background, crop is enough on its own

Getting this right before submitting matters more than it might seem — a lot of portals and reviewers reject or flag documents that are visibly crooked or include distracting background, even when the actual content is perfectly legible.

Everything processes on-device; nothing is uploaded anywhere to straighten or crop it.