Free image tools

Rotate or straighten an image

Turn a picture in 90° steps, or nudge it by a fine angle to level a horizon or square up a crooked scan. Choose whether to trim the corners or expand the canvas.

This tool needs JavaScript. It runs entirely in your browser; nothing is uploaded.

Private by design. Your files are processed by your own browser on your own device. They are not uploaded, stored or seen by Archive.London. Tool terms

How to use the Rotate and Straighten Image tool

  1. Choose or drop an image onto the page.
  2. Rotate in 90° steps, or set a fine angle to straighten it.
  3. Pick auto-crop to trim the corners, or expand canvas to keep the whole picture.
  4. Download the rotated image.

To rotate or straighten an image, open Rotate and Straighten Image on Archive.London and add your file. Use the 90° buttons to turn it, or set a fine angle to level it. Choose auto-crop to trim the empty corners or expand the canvas to keep everything, then download. Nothing is uploaded.

Quarter turns versus fine angles: what each does to the pixels

The two kinds of rotation are not equal. A turn of 90, 180 or 270 degrees only rearranges pixels: each one moves to a new position unchanged. A fine angle, such as the 1.5 degrees needed to level a horizon, places pixels between grid positions, so every one has to be recalculated from its neighbours. The result is very slightly softer. It is rarely noticeable, but it is a reason to straighten once, not repeatedly.

A tilted rectangle also no longer fits its frame. Auto-crop trims to the largest clean rectangle inside the rotated picture, losing a little at each edge; the larger the angle, the more goes. Expand canvas keeps every pixel and leaves empty triangles at the corners instead.

Why a photograph appears sideways in the first place

Cameras and phones usually record a sideways photograph as it left the sensor and add an orientation note in the file's EXIF metadata saying which way up to display it. Software that reads the note shows the picture upright; software that ignores it shows it on its side. That is why an image can look correct on a phone and wrong once uploaded.

Rotating here settles the matter by turning the pixels themselves. The image is redrawn in your browser and saved as a new file, with no upload. Since the browser's re-encoding does not carry metadata over, there is no orientation note left to contradict the pixels. Other EXIF, IPTC and XMP data and colour profiles are dropped as well.

Squaring up film scans

Scans are seldom perfectly straight. A strip of film sits a fraction askew in its holder, a print is laid on the flatbed by eye, a slide mount is not quite square to the film inside it. A correction of a degree or less is routine, and the edge of the frame or the rebate of the film gives a more reliable guide than anything in the picture.

Archival practice is to keep the raw scan as captured and apply straightening to a copy, so the correction can be revisited. Many scanning operators also leave a margin around the frame for that purpose. The Robert Harper Photograph Library's film holdings largely await scanning; the digitisation partners page is for organisations able to help with that work.

Frequently asked questions

Does rotating an image reduce its quality?

A 90° turn moves pixels without changing them, so the picture itself is unaffected, although saving as JPEG applies a fresh round of compression. Rotating by a fine angle resamples every pixel and softens the image very slightly. Straighten once from the original and the difference will be negligible.

How do I straighten a crooked scan or horizon?

Set a small angle, positive or negative, until a line that should be level or upright looks true: the horizon, a building edge, or the border of the film frame. Then choose auto-crop for a clean rectangle. Most scans need a correction of a degree or two at most.

What is the difference between auto-crop and expand canvas?

After a fine rotation the tilted picture no longer fills a rectangle. Auto-crop cuts inward to remove the empty corners, giving a tidy image that is a little smaller. Expand canvas enlarges the frame so the whole rotated picture is kept, with blank areas at the corners. Use it when nothing at the edges can be lost.

Why does my photo keep showing sideways after I upload it?

The file probably relies on an EXIF orientation note that the receiving site ignores. Rotate the image here so that it looks correct and download the new file. The pixels are now stored the right way up, with no orientation note attached, so it should display the same everywhere.

Is the image uploaded to a server?

No. Rotation is done in your browser with the HTML canvas, and the result is saved from the page to your device. Nothing is stored and there is no account. The tool works offline once loaded. Scans above roughly 100 megapixels may be too large for a phone and are better handled on a desktop.

About the archive behind this page

Archive.London is the home of the Robert Harper Photograph Library: 95,487 photographs made across a career that began in the Condé Nast studios.

Read the archive in factsWrite to the archive