Home › Image Tools › Straighten Image

Straighten Image

Fix a crooked photo in seconds. Rotate it by any angle down to a tenth of a degree while a grid shows what is level, or simply draw a line along the horizon or a wall and let the tool calculate the angle. The empty corners are cropped away automatically.

Last updated:

Drag along the horizon or any edge that should be level or vertical.

Advertisement
Advertisement

How to use the Straighten Image

  1. Add your photo by dropping it in, choosing a file or pasting. A tilted sample is shown first.
  2. Level it with the horizon tool: click Draw level line and drag along the horizon, a table edge or a wall. Vertical lines work too.
  3. Fine-tune with the slider or the ±0.1° and ±1° buttons while checking the grid.
  4. Choose the edges: keep Auto-crop on to remove the empty corners, or turn it off and pick a corner fill.
  5. Download the straightened image as JPG, PNG or WEBP.

How much does straightening crop?

When an image of width w and height h is rotated by an angle θ, the largest rectangle of the same shape that still fits inside it is scaled by

k = min( w ÷ (w·cos θ + h·sin θ), h ÷ (w·sin θ + h·cos θ) )

Auto-crop uses exactly this rectangle, centered. The table shows how much of each side remains for common photo shapes:

Angle3:2 landscape4:3 landscape1:1 square16:9 landscape
0.5°98.7%98.9%99.1%98.5%
1°97.5%97.7%98.3%97.0%
2°95.1%95.6%96.7%94.2%
3°92.8%93.6%95.2%91.6%
5°88.7%89.9%92.3%86.9%
10°80.3%82.2%86.3%77.3%

A slightly tilted handheld photo is often off by just a degree or two, so the loss is small. If you need every pixel, turn Auto-crop off and fill the corners instead.

Tips for a perfectly level photo

  • Use the true horizon for seascapes and open landscapes. Hills and shorelines are rarely level, so they make poor references.
  • In architecture, use vertical lines near the center of the frame, such as a door frame or the edge of a building. Lines near the edges can lean because of lens perspective, which rotation cannot fix.
  • Indoors, a table edge, window sill or the line where the wall meets the ceiling works well.
  • Draw a long line. The longer the reference, the more precise the measured angle. You can draw again on the corrected preview to refine it.
  • Scanned documents straighten best along a line of text or the edge of the page.

Frequently asked questions

How do I straighten a crooked photo?

Add the photo, click Draw level line and drag along something that should be horizontal, such as the horizon, a shelf or a window sill. The tool measures the tilt and rotates the image by the opposite angle. Check the grid, adjust with the ±0.1° buttons if needed, and download.

Why does straightening crop my photo?

Rotating a rectangle by any angle other than 0° or 90° makes its corners stick out, leaving empty triangles in a rectangular frame. Auto-crop keeps the largest rectangle of the same shape that fits inside the rotated image. The larger the angle, the more is cut: on a 3:2 photo each side shrinks by about 5% at 2° and about 11% at 5°.

Can I straighten without losing the corners?

Yes. Turn off Auto-crop and the canvas grows to fit the whole rotated image. Choose transparent corners (PNG or WEBP), white, or any color to fill the empty triangles.

Does the horizon tool work with vertical lines?

Yes. If the line you draw is closer to vertical than horizontal, the tool makes it perfectly vertical instead. That is useful for buildings, door frames and poles.

Does rotating reduce image quality?

Rotation by an arbitrary angle resamples the pixels, which softens the image very slightly; this is unavoidable in any editor. Saving as PNG avoids extra compression. With Auto-crop the result is a little smaller than the original unless you enable scaling back to the original size.

Which way does a positive angle rotate?

A positive angle rotates the image clockwise and a negative angle rotates it counter-clockwise. If the right side of your horizon is too low, the photo needs a counter-clockwise (negative) correction.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Rotate & Flip ImageRotate images by any angle or mirror them, one or many at once.Image CropperCrop images, including circle crops for profile pictures.Change Image Aspect RatioConvert photos to 1:1, 4:5, 16:9, 9:16, 3:2 or any ratio by crop, color padding or blur fill.Trim Image WhitespaceAuto-crop white borders or transparent padding from images with tolerance and margin. Batch.Background RemoverRemove image backgrounds automatically with AI.Photo EnhancerOne-click auto enhance: fix exposure, contrast, color cast and sharpness, one photo or a batch.Remove Object from PhotoBrush over unwanted objects, people or text and fill the area with matching background.Make Image TransparentRemove a white or solid-color background and save a transparent PNG, right in your browser.Photo to CartoonTurn photos into cartoons with smooth colors and bold outlines. Free, private, no upload.Add Watermark to PhotoAdd a text or logo watermark to one or many photos at once.Blur Image & Face Pixelate ToolBlur or pixelate faces, plates and backgrounds in a photo.Pixelate Image & Pixel Art ConverterTurn any picture into pixel art with retro palettes and dithering.Add Text to ImageAdd styled text layers with outline and shadow to any photo, then downloadRound Corners ImageGive any picture rounded, circle or squircle corners and save a transparent PNG.Grayscale Image ConverterTurn color photos into black and white with luma, luminance or average methods and sepia.Photo FiltersApply 27 one-click photo filters like Vintage, Noir and Teal & Orange with an intensity slider.Photo EditorEdit photos online: brightness, contrast, saturation, crop, rotate, flip and filters with undo.Image SharpenerSharpen soft or slightly blurry photos with a real unsharp mask and before/after view.Invert Image ColorsTurn any picture into a color negative, with R/G/B channel toggles and an intensity slider.Screenshot BeautifierPut screenshots on gradient backgrounds with padding, rounded corners, shadow and a browser frame.Image Metadata ViewerSee a photo's EXIF data: camera, lens, exposure, date and GPS location, then strip it in one click.EXIF RemoverRemove EXIF, GPS location and other metadata from JPG, PNG and WEBP photos.Online PaintDraw and paint in your browser: brushes, shapes, fill bucket, text, undo and PNG export.Photo to SketchTurn any photo into a pencil, charcoal or color sketch in your browser and download it.GIF Frame ExtractorSplit an animated GIF into PNG frames with delays, a sprite sheet and ZIP download.Photo Frame MakerPut photos in polaroid, film strip, gallery, rounded or shadow frames with a caption.Duotone GeneratorTurn any photo into a bold two-color duotone image with presets, custom colors and intensity.Glitch Image EffectAdd RGB split, scanlines, slice shifts and noise to a photo for a digital glitch look.Add Date Stamp to PhotoStamp the EXIF or a custom date on photos in a retro orange camera font. Batch and ZIP download.Add Drop Shadow to ImageAdd a drop, long or reflection shadow to PNGs and photos and save a transparent PNG.Add Text to GIFPut captions on animated GIFs with outline, position and frame range, then download.Blend Two ImagesOverlay two photos with opacity, 16 blend modes, fades and free positioning, then download.Blur Photo BackgroundBlur the background of any photo for a portrait-mode look. AI subject detection, no upload.Brick Mosaic GeneratorTurn a photo into a toy-brick stud mosaic with a parts list and printable build guide PDF.Online Document ScannerTurn photos of paper into clean scans: auto edge detection, perspective fix, multi-page PDF.Add Film Grain to PhotoAdd realistic analog film grain, light leaks, fade and vignette to any photo, then download.GIF Speed ChangerSpeed up or slow down an animated GIF, or set each frame's delay, without losing quality.Halftone GeneratorTurn images into mono or CMYK halftone dots and lines; export PNG or SVG.Dehaze ImageRemove haze, fog and smog from photos with the dark channel prior. Free, private, in your browser.HDR Photo EffectGive any single photo an HDR look with local tone mapping, detail boost and a strength slider.Low Light Photo EnhancerBrighten dark and night photos with an adaptive tone curve plus noise reduction.Photo StackingStack photos online: star trails (lighten), noise reduction (mean) and remove passers-by (median).Image Noise RemoverRemove grain and color noise from photos with median, bilateral or non-local means filters.Image Dithering ToolDither photos with Floyd-Steinberg, Atkinson or Bayer in 1-bit, Game Boy, CGA and retro palettes.Perspective CorrectionDrag 4 corners to straighten skewed photos of signs, screens and whiteboards, then download.Photo Mosaic MakerBuild a big picture out of many small photos by color matching, then export a high-res PNG.Photo to Oil PaintingTurn a photo into an oil painting with brush size, detail, impasto and canvas texture.Red Eye RemoverClick on red eyes to fix them automatically: adjustable threshold, undo, download the photo.Tilt Shift EffectMake photos look like miniature models with an adjustable tilt-shift focus band and blur.Colorize Black and White PhotoAdd natural color to old black and white photos with AI that runs in your browser. No upload.Draw on ImageAnnotate photos and screenshots with arrows, boxes, text, highlighter and numbered steps.Photo to AnimeTurn selfies and landscapes into anime-style art with AI in your browser. Free, no upload.Face Shape DetectorUpload a selfie to find your face shape on-device, with hairstyle and glasses tips.Add Background to Transparent PNGFill the transparent areas of a PNG with a color, gradient or photo, plus padding and shadow.Add Stickers to PhotoPut emoji and cute stickers on your photos; scale, rotate, flip and layer them, then save PNG.Color Splash EffectKeep one color, or a brushed area, in color and turn the rest of the photo black and white.Old Photo Face RestorerRestore blurry and damaged faces in old photos with AI (GFPGAN) in your browser. Free, no upload.Image Opacity ChangerMake an image semi-transparent with an opacity slider or fade, and save a transparent PNG.Photo to WatercolorTurn a photo into a watercolor painting with soft washes, color bleed, wet edges and paper texture.Product Photo White BackgroundRemove the background and center products on pure white at 2000 x 2000 for marketplaces. Batch.Redact ImageBlack out or pixelate private info in screenshots; burned in, metadata stripped, PNG download.Rubber Stamp MakerDesign round or rectangular stamps with curved text, borders, stars and grunge ink; PNG or SVG.Signature Background RemoverTurn a signature photo or scan into a clean transparent PNG: threshold, ink color, auto-crop.Skin SmoothingSmooth skin in portraits with face-aware retouching that keeps eyes, lips and skin texture sharp.AI Style TransferRepaint your photo in the style of any painting or pattern with AI, right in your browser.SVG EditorEdit SVG files visually: move shapes, change colors, text and strokes, add shapes, edit the code.Symmetry Drawing ToolDraw mandalas and kaleidoscope art with radial and mirror symmetry, glow brushes and PNG export.Virtual Background MakerDesign 1920×1080 video call backgrounds with your name, title, logo, blur and branded templates.
See all 69 Photo Effects & Editing →