How to Rotate an Image and Fix a Sideways Photo
4 min read
To rotate an image, open the photo, choose Rotate left, Rotate right, or Rotate 180, check the preview, select an output format, and apply the transform. If several photos need the same correction, add them as a batch and the tool will apply one shared rotation and flip setup to all of them.
The Rotate and Flip Image tool accepts JPG, PNG, WebP, GIF, BMP, and AVIF files up to 100 MB each. Processing stays in your browser. You can keep a supported source format or create JPG, PNG, or WebP, then download one result or rotated-images.zip for a completed batch.
Why a photo appears sideways
A camera does not always rearrange its stored pixels when you hold the device vertically. It can save the sensor pixels in one direction and add an EXIF Orientation tag telling compatible software how to display them. When a viewer honors that instruction, the photo looks upright. When another program ignores or removes it, the same file can appear sideways or upside down.
Sideways display can also be caused by pixels that were actually saved in the wrong direction, an editing export that handled orientation incorrectly, or a manual rotation applied twice. Compare the image in more than one viewer before deciding what correction it needs. The desired result is an output whose rendered pixels have the intended direction.
This tool opens each image with its embedded orientation applied, then draws the selected transform into the exported pixels. That orientation-aware starting point prevents you from having to interpret raw camera storage. Quarter turns also exchange output width and height so the full image fits without clipping.
Rotate versus flip an image
Rotate left turns the image 90 degrees counterclockwise, while Rotate right turns it 90 degrees clockwise. Rotate 180 turns it upside down relative to its current direction. Use these controls when the top of the scene is pointing toward the wrong edge of the frame.
Flip horizontal mirrors the picture from left to right. Flip vertical mirrors it from top to bottom. A flip does not solve the same problem as a quarter-turn: words become reversed after a horizontal flip, and familiar asymmetric objects switch sides. Use flipping intentionally for mirrored scans, camera previews saved backward, or creative composition.
Transforms can be combined. For example, you can rotate right and then flip horizontal. The preview shows the current combination on the first selected image. If the sequence becomes confusing, choose Reset to return rotation and both flip controls to their original state before trying again.
How to rotate an image with Tools on Deck
The preview uses the first image as a quick visual guide, while Apply to images renders every selected source at full dimensions with the same transform, output choice, and quality setting.
- Add one or more JPG, PNG, WebP, GIF, BMP, or AVIF images, each no larger than 100 MB.
- Choose Rotate left, Rotate right, Rotate 180, Flip horizontal, or Flip vertical as needed.
- Check the Transformation preview of the first image and use Reset if you want to start over.
- Choose Same as input, JPG, PNG, or WebP under Output format.
- Set Quality from 50 to 100 when the selected output uses JPG or WebP.
- Select Apply to image or Apply to images, then Download or Download all (ZIP).
Batch rotate several photos safely
Batch rotation is appropriate when every selected photo needs the same correction. A set from one camera session may all require Rotate right, for example. Add the group, inspect the first-image preview, scan the file list for outliers, and remove any item that needs a different direction before applying the transform.
Do not mix portrait files needing a right turn with landscape files that are already correct merely because they share a folder. The operation does not analyze each picture and choose a direction independently. Process separate groups for separate corrections, and use the displayed result dimensions to spot an unexpected width-height swap.
Processing can be canceled while a batch is running. Completed items remain available, but check the list before downloading so you know which files finished. Multiple results can be packaged as rotated-images.zip; one completed result uses the Download button directly.
Choose Same as input, JPG, PNG, or WebP
Same as input keeps JPG, PNG, and WebP in their corresponding encodable format. Inputs that the browser cannot encode directly are rendered as PNG. In particular, GIF input uses its first frame and the exported result is a still image, not an animated GIF. The tool also accepts BMP and AVIF input when the browser can decode them.
Choose JPG for typical photographs when broad compatibility and manageable size matter. JPG cannot preserve transparency and uses the Quality setting. Choose PNG for lossless output and transparency where present, understanding that photographic files may be large. Choose WebP for modern compressed output when the destination supports it; its Quality setting also ranges from 50 to 100.
A transform requires drawing and encoding a new file, so Same as input does not mean byte-for-byte preservation. Keep the original as a backup. If your goal is only to remove camera details or GPS while keeping an upright image, the EXIF Remover normally strips metadata without recompression and has a special orientation safeguard for JPEG files.
Quick answers about sideways photo fixes
Use rotation when the top edge points the wrong way; use a flip when the image needs mirroring. A 90-degree or 270-degree turn swaps width and height. The same transform applies to every file in a batch, so separate photos that need different corrections.
The tool applies EXIF orientation while opening the source and writes the chosen direction into newly rendered pixels. Preview the first file, select the output based on transparency and compatibility, and open downloaded results before replacing or sharing originals.