Perspective Corrector (Straighten a Photo of a Page or Building)

Straighten a skewed photo of a page, whiteboard or building.

Use the tool

Why this tool exists

Choose a photo and move four numbered corners onto the corners of the flat object. Press Straighten and the picture is warped into a flat rectangle. You can drag the handles or type each corner position in percent, so it works without a pointer.

The output size is worked out from the edge lengths, or you can set it. Sampling is bilinear, and the warp was checked against Pillow's perspective transform.

How to use it

  1. Choose a photo.
  2. Move the four corners onto the object, clockwise from the top left.
  3. Optionally set the output size.
  4. Press Straighten and download the PNG.

Frequently asked questions

Why four points?

A perspective change is defined by four corner pairs.

Is the result a scan?

It is a flattened picture. For text, a clean scan from a good photo helps.

Is the size limited?

Output is limited to 5000 pixels per side.

Is anything uploaded?

No. The work happens in your browser and the page makes no network request with your input.