Blog
Image Tools
Crop Image
Resize Image
Rotate & Flip
Compress Image
Photo Filters
Meme Generator
GIF Maker
Collage Maker
Watermark Image
Blur Image
Convert
JPG to PNG
PNG to JPG
HEIC to JPG
DNG to JPG
Image Converter
PDF to JPG
JPG to PDF
Merge PDF
Compress PDF
MP4 to MP3
Video to GIF
MOV to MP4
MP3 Converter
Video & Audio
Trim Video
Crop Video
Remove Audio
Text to Speech
Audio Cutter
MP3 Compressor
Design & Editor
Resume Builder
Design Editor
Add Text to Photo
Social Media Resizer
QR Code Generator
Signature Generator
More Tools
Word Counter
Password Generator
Random Picker
Dice Roller
Spinner Wheel
Favicon Generator
Barcode Generator
Browse All Tools
Photo Editing

How to Straighten a Crooked Horizon in Your Photos

Last updated 7 min read
A seaside photo with a tilted horizon being levelled with a grid overlay and a rotation angle

Quick answerTo straighten a crooked horizon, open the photo straightener, add the picture, let it detect the tilt from straight lines or turn the photo by hand with a grid for guidance, choose to crop to fit or keep all with a fill colour, compare with the original and save.

In this guide
  1. Why do photos end up crooked?
  2. What can be straightened?
  3. Step by step: straighten a photo
  4. Crop to fit or keep all?
  5. Which guide lines help most?
  6. What if automatic detection gets it wrong?
  7. Straighten, rotate or flip: which tool?
  8. Does straightening reduce image quality?
  9. Where to straighten in your workflow
  10. How do you get a level horizon when you take the photo?
  11. Is it ever right to leave a picture tilted?
  12. How do you straighten scanned documents and old prints?
  13. Quick checklist
  14. Frequently asked questions

A crooked horizon is one of the most common mistakes in photography, and one of the most noticeable. A sea that seems to slope downhill, a skyscraper that leans, a table edge that tilts: our eyes are very good at spotting lines that should be level or upright, and a tilted picture feels wrong even if people cannot say why. The fix is simple. You rotate the picture by the small angle it is off, and crop the corners. The only challenge is knowing the exact angle.

The photo straightener works out the angle for you by finding straight lines in the photo, or lets you turn the picture by hand with a grid to guide you. This guide explains how to use it, how to deal with the corners and when a different tool is the better choice.

Why do photos end up crooked?

Holding a camera level is surprisingly hard, particularly when you are excited by the scene, shooting quickly or holding the phone with one hand. A slight lean of your wrist becomes a clear slope in the picture. Wide-angle lenses and phone cameras make this more obvious, because their wide view shows long lines at the edge of the frame. Photos of scanned pages and documents are often crooked too, since the paper was not placed perfectly straight on the glass.

A seaside photo with a tilted horizon being levelled with a grid overlay and a rotation angle

What can be straightened?

  • Landscapes and seascapes with a visible horizon.
  • Buildings, doors and windows with vertical edges that lean.
  • Interior shots where walls, shelves and ceilings should be straight.
  • Scans of pages and prints that went in slightly crooked.
  • Product photos with a table edge or a shelf in view.
  • Screenshots and whiteboard photos taken from a slight angle.

Pictures with no straight lines at all, such as a close-up of a face or a forest, cannot be levelled automatically, because there is nothing to measure. You can still turn them by hand if the picture looks tilted.

Step by step: straighten a photo

  1. Open the photo straightener and add your picture. It stays on your device.
  2. Let it find the tilt. Press the automatic option. The tool looks for strong straight lines and calculates the angle needed to level them.
  3. Check the result against the grid. Turn on guide lines, such as a fine grid or a rule of thirds grid, and see whether the horizon or the edges now line up with them.
  4. Fine-tune by hand. Use the angle slider, or the small buttons for tenth of a degree and one degree steps, until the picture looks right.
  5. Choose what happens to the corners. Crop to fit removes the empty corners, which loses some of the picture. Keep all keeps everything and fills the corners with white, black, light grey or see-through for PNG.
  6. Save. Choose JPG, PNG or WebP and the quality.

Crop to fit or keep all?

When you turn a rectangle, its corners no longer fit inside the original frame, so you have to decide what to do with them. Crop to fit trims the picture to the largest straight rectangle inside the rotated image. You lose a bit around the edges, which is fine for most pictures, but be careful if something important sits near the border. Keep all preserves every pixel and adds empty corners, which you can fill with a colour or leave see-through. Use that for a document scan that you will crop later, or when you want to place the picture in a design.

As a guide, one degree of rotation removes only a thin strip around the border, while five degrees removes a visible chunk. If a picture is very tilted and the subject fills the frame, consider retaking it. To trim to a particular shape afterwards, see cropping a photo to any size or ratio.

Which guide lines help most?

A fine grid is helpful for horizons and building edges, because you can compare a line in the picture with the neat lines of the grid. The thirds grid helps with composition at the same time: it lets you check that the horizon sits on the upper or lower third instead of cutting the picture in half. Turn the grid off when you judge the final result, since lines can fool you into thinking something is off when the picture itself looks fine. A good test is to step back from the screen and view the picture at a small size. If it looks level, it is.

What if automatic detection gets it wrong?

Automatic straightening depends on finding the right line. If the photo has many lines at different angles, such as a building seen from below with converging edges, the tool may pick the wrong one. A sloping hillside or a road going uphill can also trick it, because the true horizon is not where the land is. In such cases, switch to hand control. Choose the line that matters, usually the horizon at sea or the vertical edge of a door, and turn the picture until that line matches the grid.

Straighten, rotate or flip: which tool?

These jobs are related but different. Straightening corrects a small tilt, usually a few degrees. Rotating turns a picture by a quarter turn or a half turn, for example when a phone saved it sideways, and flipping mirrors it. If your photo is sideways rather than slightly tilted, use the approach in fixing photos taken sideways or the guide on rotating and flipping a photo online. Do the quarter turn first, and then fine-tune the small tilt.

Does straightening reduce image quality?

Turning a picture by a small angle means recalculating every pixel, which can soften the image very slightly. The effect is tiny for small angles, and you can reduce it by saving at a high quality. If you need the sharpest possible result, avoid saving the picture repeatedly after each small adjustment. Make all your changes at once, and then save a single final copy. If the picture is important for printing, check sharpness afterwards with the blur checker.

Where to straighten in your workflow

Straighten early, before cropping and before you add text or borders. That way, the later steps work on a level picture, and you do not have to repeat them. For scans of old pictures, straighten first, then clean up, enlarge and colour. For documents, straighten before you run text recognition, because crooked lines are harder to read. A level picture also looks more professional on websites and in print, and it is one of the cheapest ways to make ordinary photos look more careful.

How do you get a level horizon when you take the photo?

Prevention is easier than repair. Most phones and cameras can show a grid on the screen, and many show a level indicator that turns yellow when the camera is perfectly horizontal. Switch these on. Place the horizon on one of the grid lines, and make sure it sits parallel to it. Hold the phone with both hands, keep your elbows close to your body and take a breath before you press the button. For landscapes, a small tripod or resting the phone on a wall removes almost all tilt. If you shoot a building, stand square on to it and keep the camera back vertical, because tilting the phone upward makes the walls lean inwards.

Is it ever right to leave a picture tilted?

Yes. Photographers sometimes tilt a picture on purpose to create energy and a sense of movement, which is called a Dutch angle. It works when the tilt is large and obviously deliberate, such as fifteen or thirty degrees. A tilt of one or two degrees never looks intentional, it looks like a mistake. So the rule is: either make it level or make it clearly dramatic. Also, some subjects naturally slope, such as a hillside, a ship heeling in a wave or a pitched roof. If correcting the horizon makes the subject look wrong, trust your eye over the numbers.

How do you straighten scanned documents and old prints?

Scans are crooked because paper rarely sits perfectly on the glass. For a printed page, straighten using the text lines or the page edge as the guide. For an old photograph, use the border of the print or a strong line in the picture. Use Keep all with a white fill if you plan to crop the scan afterwards, so that you do not lose any of the edge. If you are scanning many items, it is quicker to place them against the edge of the scanner glass every time, which removes most of the tilt before the software has to do anything.

Quick checklist

  1. Try the automatic tilt detection first.
  2. Check with a grid and fine-tune by hand.
  3. Use crop to fit for photos, and keep all for scans.
  4. Step back and view at a small size to judge.
  5. Save once, at a high quality, after all changes.

A level picture looks calm, deliberate and professional. It takes under a minute, and it is one of the simplest improvements you can make to a photo you already have.

How to Straighten a Crooked Horizon in Your Photos (Pinterest pin)

Frequently Asked Questions

How does the tool know the tilt?

It looks for long straight lines such as horizons, walls and edges and works out the angle that makes them level.

Why are the corners cut off?

Turning a picture leaves empty corners. Crop to fit removes them, and Keep all fills them with a colour you choose.

How much can it straighten?

It handles small tilts well. For a quarter turn, use rotate instead.

Does it lose quality?

A small amount from resampling, but it is usually hard to see. Save as PNG or high-quality JPG.

Level your picture: add it to the photo straightener and let it find the tilt.

More free tools: Image Tools

Share this post

Related posts

Tools for this job