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.
