Straighten Image Online

Rotate a crooked photo to level the horizon, line it up on the grid, then auto-crop the empty corners away, all in the browser.

or browse filesdrop an image here or paste

Straighten
Alignment grid
Auto-crop edges
Straightened image
.png

Straighten a Tilted Photo Online

A photo taken freehand almost never comes out level. The horizon leans, the walls tip, a scanned page feeds through the machine askew - and the eye catches it every time. This image straightener fixes that: drop a picture on the page, drag the one Angle slider until the crooked lines stand true, and the tool rotates the whole photo to match. You set the angle by hand, so a slight tilt and a badly leaning shot are both a small drag away, anywhere from -45 to +45 degrees in tenth-of-a-degree steps. The degree readout beside the slider shows exactly how far you have turned it, and a Reset link puts the picture back to zero.

Straightening is really a small, precise rotation, and the whole point of a dedicated straightener over a plain rotate is what happens to the corners. Turn a rectangle a few degrees and its bounding box grows, leaving four empty triangular wedges around the picture. This tool crops those away for you automatically, so a level photo comes out clean-edged with nothing to trim by hand.

How to Straighten an Image

Open a JPG, PNG or WebP - drop it on the page, browse for it, or paste it from the clipboard. Then:

For fine work there is a fullscreen button in the corner of the stage, which grows the picture to fill the screen so a horizon is easier to aim. Everything runs in your browser and the image is never uploaded.

Auto-Crop Keeps the Aspect Ratio, and Keeps More Image

When you rotate a photo, the level rectangle you actually want sits inside the tilted one. Auto-crop finds the largest upright rectangle of the same aspect ratio as your original that stays entirely within the rotated image, and trims to it. Because the crop matches the source shape, a 3:2 photo stays 3:2 and a square stays square - and because the aspect never changes, the picture holds its shape while you drag the angle, easing in size rather than jumping around. No empty wedges survive, so the result drops straight into a post, a document or a print with clean edges.

If you would rather keep every pixel, switch auto-crop off. The tool then outputs the whole rotated frame, corners included, with those corners left transparent so you can drop the straightened image over any background. PNG and WebP save that transparency; a JPG has no transparency, so its corners are filled white instead.

This matters more than it sounds. The old version of this page used a crop formula that ignored the picture's proportions, and it went wrong two ways. On a near-square image it cropped far too aggressively - a square straightened by 45 degrees kept only about 28 percent of each side, where the true largest rectangle keeps about 71 percent, more than six times the area. On a long, narrow image at a bigger angle it did the reverse, cutting too little and leaving empty corners behind - the very thing a straightener is meant to clean up. The rebuilt tool keeps the true largest rectangle of your image's own shape in every case.

When to Straighten a Picture

A straightener corrects a whole-image tilt - a rotation. If your photo instead narrows toward one end, like a picture of a sign or a page shot from an angle, that is keystone distortion from perspective rather than a tilt, and the perspective crop tool fixes it by dragging the four corners of the page. To crop or reframe a picture without rotating it, use the crop tool, and to change its dimensions there is the resize image tool.

Manual Angle, Automatic Crop

This is a hands-on straightener: you choose the angle. There is no automatic horizon detection here - a person lining a photo up against the grid beats a guess on tricky scenes like a hilly skyline or a room with no single true horizontal, and it takes only a second. What is automatic is the crop: once you have set the angle, the empty corners are removed for you with no second step and no guesswork about how much to cut.

The rotation is resampled once, with smooth interpolation, from the original file at its native resolution - the download is computed from your full-size photo, not from the preview on screen. At zero degrees the image passes straight through untouched. Very large results are capped at 64 megapixels and scaled down uniformly with a note, so a big photo rotated hard cannot balloon out of control.

Straighten, Skew and the Other Transforms

Straightening is a rotation that levels the image. A related fix is a skew or shear, which slides the rows of a picture sideways to lean it like italic text - handy for isometric graphics or for undoing a slant rather than a tilt. All of these are a small corner of the image utilities on this site, which also covers cropping, resizing, converting and much more - see what is live right now on the all tools page.

Private, Full Resolution, No Watermark

The preview and the download run the same rotation and the same crop: what you see levelled on screen is what you save, computed from the original file at full resolution. Transparency in the source survives, nothing adds a watermark, and no account is needed. The whole tool runs client-side through the canvas API, so the image never leaves your device and the page keeps working offline once it has loaded.

Frequently Asked Questions

How do I straighten a tilted photo online?

Open the picture on this page and drag the Angle slider until the crooked lines stand straight - use the alignment grid to line a horizon up against a level rule. The photo rotates live and the readout shows the angle. Leave auto-crop on to trim the empty corners, then download at full resolution. It is free, there is no watermark, and the image is not uploaded.

Does this straighten the photo automatically?

You set the angle yourself with the slider, which is the reliable way to level a tricky scene against the grid. The crop, though, is automatic: once the photo is rotated, the empty triangular corners are removed for you with no extra step. So the tool is a manual straightener with automatic edge cropping.

Why does rotating a photo leave empty corners, and how are they removed?

A rotated rectangle no longer fills an upright box, so four empty triangles appear around it. Auto-crop trims to the largest upright rectangle of the same aspect ratio that fits inside the rotated image, which removes every empty corner while keeping as much of the picture as possible. Turn auto-crop off to keep the full frame with those corners left transparent instead.

Will straightening change my image's shape or aspect ratio?

No. Auto-crop keeps a rectangle of the same aspect ratio as your original, so a 3:2 photo stays 3:2 and a square stays square - it only becomes a little smaller to lose the empty corners. Because the aspect is fixed, the picture keeps its shape steadily while you drag, rather than reshaping as the angle changes.

What is the difference between straightening and cropping or rotating?

Straightening is a small rotation that levels a crooked image, and this page adds the automatic corner crop that a plain rotate leaves you to do by hand. If you only want to reframe or cut a picture without turning it, use the crop tool. To resize it, use the resize image tool.

Can I straighten a scanned document that fed through crooked?

Yes. Load the scan, drag the Angle slider until the lines of text sit horizontal against the grid, and keep auto-crop on to trim the slanted edges. Download it as a JPG to flatten the page for sharing or filing.

How far can I rotate, and how fine is the control?

The Angle slider runs from -45 to +45 degrees in steps of 0.1 degree, which is fine enough to level a horizon that is off by a fraction of a degree and wide enough to fix a badly leaning shot. A tilt bigger than that is usually a quarter-turn, which is a job for a plain rotate rather than a straightener.

Are my downloads full resolution, and is my image uploaded?

The download is rendered from your original file at its native resolution, not from the on-screen preview, so it is full quality. Nothing is uploaded - the whole rotation and crop run in your browser with the canvas API, and the page keeps working with the network disconnected once it is open.