Rotate JPG Photos Online Free

Put a sideways phone photo upright for good, or level a tilted horizon by exactly the angle it needs. Processed on your device, start to finish.

Drop an image

Rotate JPG Online — Free, Fast & Private

A photo that lies on its side in one app and stands upright in another is the most common orientation complaint there is, and it is specific to JPGs from cameras and phones. This page fixes it at the root — by rewriting the pixels themselves — and handles the subtler photographic case too: the shot that is almost straight, with a sea horizon or building edge tilted a few degrees. Quarter-turn chips cover the first problem; the −180° to 180° slider covers the second.

Since the input is a photograph, JPEG is already selected as the output, and the quality slider beside it decides how the corrected photo is written. Every step — decode, turn, encode — runs in your browser, so holiday albums and document photos stay yours alone.

Why phone photos come out sideways at all

The camera sensor in a phone has a fixed orientation; holding the phone upright does not rotate it. Instead of physically reordering millions of pixels at capture time, the camera saves the sensor's view as-is and appends a small EXIF note — the Orientation tag — saying "rotate this 90° clockwise when displaying." Modern galleries obey the note. Plenty of software does not: older Windows viewers, various upload pipelines, embedded previews, and tools that strip metadata wholesale. The photo itself was sideways all along; you only notice when something displays it honestly. That is also why the bug seems to appear and disappear as a file moves between apps — the pixels never changed, the audience's respect for the tag did.

The permanent fix: orientation in the pixels

Rotating here resolves the ambiguity for good, because the exported file's pixel rows genuinely run in the displayed direction — there is no tag left for anything to misread. Upload it to a form, embed it in a document, open it in software from 2009: it faces the same way everywhere. Use the 90° chips for this, not the slider; a quarter turn maps pixels one-to-one onto their new positions, so nothing is interpolated and the only change to image content comes from the JPEG re-encode discussed below. If a photo looks wrong in a way no quarter turn cures — text reading right-to-left, a watch on the wrong wrist — it is mirrored rather than rotated, which the flip toggles here or the flip tool addresses.

Levelling a horizon by hand

A tilted horizon is felt before it is seen — a beach photo that reads as vaguely uneasy usually needs about two degrees of correction. Drag the slider until the reference line matches the preview's edges. Two things follow from geometry when the angle is not a multiple of 90. The canvas must expand to hold the tilted frame, and because a JPEG cannot leave the resulting corner wedges transparent, the tool asks you to pick their fill colour. Rather than tolerating visible wedges, the standard finish is to crop inside the tilted content with the JPG cropper — level first, reframe second, which conveniently is also the order that produces the best compositions. Free-angle turns do interpolate the pixels, costing a little sharpness; on photographic content the trade is essentially always worth a level horizon.

Choosing the re-encode quality

Writing the corrected photo means encoding a JPEG again, and the slider (default 90%) sets how gently. One high-quality re-encode is visually free; what erodes photos is repetition, so make rotation part of a single editing pass from the original rather than one more save in a chain. If the destination has a size ceiling — mail attachments, portals — do not lower the quality here below what looks good; correct the orientation at 90%, then let the JPEG compressor and the JPG resizer handle bytes and dimensions with their purpose-built controls. Graphics, scans, and anything with transparency belong on the PNG rotator page instead, where the corner wedges can stay transparent.

How it works

  1. Load the photo: Drop the sideways or tilted JPG into the tool. It decodes on your device at full resolution.
  2. Correct the orientation: Tap a 90° chip until the photo stands upright, or drag the slider a degree at a time to level the horizon.
  3. Pick the fill for odd angles: Free-angle turns expose corner wedges; choose their colour, or plan to crop inside the frame afterwards.
  4. Set quality and export: Leave the slider near 90% for an invisible re-encode, then download. The fix now lives in the pixels themselves.

Frequently asked questions

Why does my photo show sideways in some apps and fine in others?
The file is stored sideways with an EXIF orientation note telling viewers to rotate it on display. Apps that read the note show it upright; apps that ignore or strip the note show the raw sideways pixels. Rotating here rewrites the pixels upright, so every viewer agrees from then on.
Does rotating a JPG by 90 degrees lose quality?
The turn itself does not — quarter turns move pixels without interpolating. Saving the result does re-encode the JPEG, which at the default 90% quality is imperceptible. Keep it to one editing generation from the original and quality is a non-issue.
How many degrees does a crooked horizon usually need?
Less than you would guess — most handheld tilts are between 1° and 4°. Move the slider in single degrees and judge against a straight reference like the horizon or a doorframe. If you find yourself past 10°, the picture likely wants a quarter turn plus a small correction.
What colour should the corners be after straightening?
Ideally invisible: crop inside the tilted frame afterwards and the wedges disappear entirely, along with the question. If you keep them, sample a colour that matches the photo’s border area — sky, wall, water — so the fill reads as intentional matting.
Can I rotate many photos at once?
This page works one photo at a time, since each needs its own judgement. For a folder of uniformly sideways shots, the batch rotation in the parent rotate tool applies the same quarter turn across multiple files in one pass.
Is the photo uploaded to fix it?
No. The whole correction is client-side Canvas work — the photo is decoded, turned, and re-encoded by your browser and never crosses the network. It even works offline once the page is open.

All Image Tools

Solutions by use case