Perspective Correction

Pull leaning walls upright and square up things shot at an angle, right in your browser.

Drop a file here,
or use Ctrl+V / Cmd+V to paste

Adjust

Drag until the lines in the photo run along the grid. The edges that would be left empty are cropped away.

Runs in your browser. Your photo is never uploaded.

Or try a sample photo:

Try a sample photo:

Upload or drag & drop an image to start

Continue editing in

Straighten Leaning Walls and Slanted Shots

Perspective Correction is a free online tool that fixes the perspective of a photo. Point a camera up at a tall building and its walls lean in toward the top; Vertical widens the top until they stand upright. Shoot a door, a shop front or a painting from the side and it looks slanted; Horizontal squares it up. Rotation levels a tilted horizon, and a grid over the photo shows when the lines are straight. It runs in your browser, so your photo is never uploaded, and it is free with no sign-up and no watermark.

  • Free, no watermark
  • No sign-up
  • Photos never leave your device
  • Works on phone and computer

Before and After

Real results of the tool. Drag the line to compare.

A white apartment building photographed from across the street with its walls leaning in, and the same photo with the walls uprightBeforeAfter

How to Fix the Perspective of a Photo

  1. 1 Upload Your Photo

    Upload a photo (JPEG, PNG, WebP or HEIC), or try one of ours. A grid is drawn over it to line the walls and edges up against.

  2. 2 Straighten It

    Drag Vertical until upright walls run along the grid's lines, Horizontal for something seen from the side, and Rotation to level it.

  3. 3 Save Your Photo

    Hold the compare button to see the photo as it was, then save it as JPEG, PNG or WebP.

Perspective Correction at a Glance

PriceFree, with no watermark and no sign-up
What it doesPulls leaning walls upright and squares up things shot at an angle
SettingsVertical, Horizontal, Rotation
EdgesWhat would be left empty is cropped away, so there are no blank corners
OpensJPEG, PNG, WebP, HEIC
Saves asJPEG, PNG, WebP
Saved sizeFull size, in the shape the building really has, up to 16 megapixels
Where it runsIn your browser; nothing is uploaded

Updated December 3, 2026

Frequently Asked Questions

How do I fix the perspective of a photo?

Upload the photo and drag Vertical until the walls run along the grid's upright lines. For something photographed from the side, drag Horizontal; for a tilted horizon, Rotation. Hold the compare button to check, then save.

Why do buildings lean backward in my photos?

When the camera is tipped up to fit a tall building in, its top is farther away than its foot, so it comes out smaller and the walls lean in toward each other. The building also looks squashed from top to bottom. Vertical widens the top of the photo again, so the walls stand upright, and gives the building back its height.

Which way do I drag the sliders?

Vertical above 0 widens the top, for buildings photographed from below; below 0 it widens the bottom, for a table or a floor photographed from above. Horizontal above 0 widens the right side, for something that gets smaller toward the right; below 0 the left side. Rotation above 0 turns the photo clockwise.

Why is my photo cropped after correcting it?

Straightening turns the photo into a different shape, and the corners of a rectangle around it would be empty. The tool cuts the result to the largest part with no empty corners, so the edges of the photo are lost. Leave some room around a building when you take the photo.

Can it fix a document or a whiteboard photo?

For a page, a receipt or a whiteboard shot at an angle, use Scan & Crop Document: it finds the four corners and flattens the page exactly. Perspective Correction is for whole scenes, such as buildings, rooms and doors.

Is this AI?

No. The photo is reshaped by a geometric warp, worked out from the slider settings, so it is quick, runs on your own device and gives the same result every time.

Why is the result taller than my photo?

Straightening a building that was photographed from below also undoes the squashing, so it comes out as tall as it really is, and a round window stays round. The part nearest the camera keeps the full detail of your photo; the far part is stretched to match. Horizontal likewise makes the photo wider.

How big is the saved photo?

Full size: the part of the photo nearest the camera keeps every pixel, and the saved photo is at most 16 megapixels. The preview is smaller so the sliders stay quick, but the saved photo is made again from your original.

Are my photos uploaded?

No. Your photo is edited in your browser and never leaves your device.

Does it work on a phone?

Yes. Once you add a photo it opens as a full-screen editor with the three sliders at the bottom and a Grid button to turn the lines on and off. Hold the photo to see the original, then save it or share it straight to another app.

Fix Your Photo's Perspective