Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Photo straightener & document scan

Straighten a tilted photo and crop the corners, or turn a photo of a page, receipt or whiteboard into a flat, clean scan.

or drop it here, or . It stays on your device.

How to use

  1. Choose or drop a photo. It is opened in this page only.
  2. Straighten: move the slider until the grid lines match the horizon or a wall, or tap two points along something that should be level (or upright) and it turns for you. Keep the crop ticked to remove the empty corners.
  3. Document scan: drag the four numbered corners onto the corners of the page, receipt, whiteboard or screen: 1 top left, then clockwise. Pick the shape and how to clean it up.
  4. Press Make to see the result, then Save.

Keyboard and touch

← → on the sliderTurn by 0.1°
1 to 4 on the photoPick a corner in document scan
Arrow keys on the photoMove the picked corner (hold Shift for bigger steps)
Drag a cornerMove it with mouse, finger or pen

Tips

  • For document scans, photograph in good, even light without your shadow on the page, and fill most of the frame.
  • "Black and white" gives the sharpest text for forms and receipts; "Bright document" keeps pencil, stamps and greys.
  • Choose A4 or Letter so a scanned page prints at the right shape.
  • Straightening crops a little: about 1.5 % of the width per degree of turn.
  • To make a PDF from your scans, use our Images to PDF tool.
  • Saved pictures leave out the camera data and location of the original.

About this tool

Straightening rotates the picture and, if you like, keeps the largest upright rectangle that fits inside the turned photo, so no blank corners are left. Document scan works out the projective transform (a homography) that takes your four corners to a flat rectangle by solving eight linear equations, then fills each output pixel from the photo with bilinear interpolation. The size follows the average lengths of opposite sides unless you pick a page shape.

"Bright document" stretches the tones so the paper turns white and the ink dark; "Black and white" compares each pixel with its surroundings (Bradley's adaptive threshold with an integral image), which copes with shadows across the page. Everything happens in your browser; nothing is uploaded.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product