Free online tool

Upload a file

Drop your file hereTap to choose a file

or click to browse, or paste from the clipboard

← Back to Blog

How to Rotate, Crop and Flip an Image and Fix Sideways Photos

To rotate an image, turn it in 90-degree steps until it is upright, then save a new copy so the turn is written into the pixels, not just recorded in the file's metadata. Cropping and flipping work the same way: mark the area to keep or the direction to mirror, check the preview, and export.

Zutilium's Image Editor does all three without installing anything, and it can also make a photo grayscale or two-tone black and white. Below are its steps, the built-in alternatives on your phone and computer, why photos turn sideways after upload, and which format to save in.

How to rotate an image, crop it or flip it with Zutilium

  1. Open Image Editor and drop a JPG, PNG, WebP, GIF or TIFF file of up to 30 MB on the upload area, or click the area to browse.
  2. To crop, switch on Enable Crop, pick Free, 1:1, 4:3, 16:9, 3:2 or 9:16, drag the frame with a mouse or finger or type X, Y, Width and Height in pixels, and click Done. While the frame is open, the preview shows the picture without any turn or flip, so the frame covers exactly what you keep.
  3. Under Rotation, choose 90° to turn the picture clockwise, 180° to turn it upside down or 270° to turn it counter-clockwise.
  4. Under Flip, choose Horizontal to swap left and right, which gives a mirror image, or Vertical to swap top and bottom.
  5. Optionally, choose Grayscale or Black & White under Effect.
  6. Pick an Output Format (Keep Original, JPG, PNG, WebP, GIF or TIFF) and a Quality level. High (90%) is the default.
  7. Press Convert Now, then Download.

Before converting, switch between the Preview and Original tabs. The numbers above the preview give the output size, such as 3024 x 3024 after a square crop. A phone photo stored sideways opens upright, and the download is saved upright too, so it looks the same in every app (explained below).

The preview is drawn in your browser, but Convert Now uploads the original image and your settings to Zutilium's server, which renders the download. After a successful conversion, the upload is scheduled for deletion after about one minute and the result after about ten minutes. Cleanup runs periodically, so save the file promptly. The download carries no camera details or GPS location.

Image Editor changes one flat image at a time and turns only in 90-degree steps. It does not open HEIC, so convert HEIC to JPG first. For text, layers or masks, use Advanced Photo Editor, covered in how to edit PSD files without Photoshop.

Crop an image online to an exact ratio

The ratio presets draw the largest box of that shape that fits, but they place it in the top-left corner. To center the box, drag it or type the offset:

X = (image width - crop width) / 2
Y = (image height - crop height) / 2

For a typical 12-megapixel phone photo of 4032 x 3024 pixels, the presets give these boxes:

Preset Box drawn Centered position
1:1 3024 x 3024 X = (4032 − 3024) ÷ 2 = 504
16:9 4032 x 2268 Y = (3024 − 2268) ÷ 2 = 378
3:2 4032 x 2688 Y = (3024 − 2688) ÷ 2 = 168
9:16 1701 x 3024 X = 1165 (1165.5 rounded down)
4:3 4032 x 3024 Already the whole photo

For a shape without a preset, such as a 4:5 portrait post, type the numbers: Height 3024, Width 3024 × 4 ÷ 5 ≈ 2419, and X = (4032 − 2419) ÷ 2 ≈ 806.

Cropping only removes pixels, so the area you keep stays as sharp as the original. If the result must also be an exact pixel size, read how to resize an image without losing quality or run the cropped file through Image Resizer.

Why is my photo sideways?

Phones and cameras often store a photo the way the sensor captured it and add an EXIF tag called Orientation that tells apps how to turn it for display. Your gallery reads the tag, so the picture looks right there. Software that ignores the tag shows the stored pixels instead, and software that deletes metadata without rotating the pixels causes the same problem. That is why a photo can look fine on your phone and turn sideways on a website, an upload form or an older program.

The tag, number 0x0112 in Microsoft's EXIF property reference, holds one of eight values:

Value What a viewer does to display the photo
1 Nothing: the pixels are already upright
3 Turns it 180°
6 Turns it 90° clockwise
8 Turns it 90° counter-clockwise
2, 4, 5, 7 Mirrors it, in some cases with a turn

Web browsers have honored the tag by default since 2020, as MDN's page on image-orientation notes, so your own screen is a poor test. The dependable fix is a copy whose pixels are physically upright, so it needs no tag at all.

Fix a sideways photo: what you see and what to do

Image Editor makes that copy: open the photo, leave Rotation at 0° and press Convert Now. It turns the pixels upright using the tag and saves the file without one, so every app and website shows the same thing. Any crop, turn or flip you add applies to the picture as the preview shows it. Image Converter also saves an upright copy when you only need another format. One exception: Chrome and Edge show a WebP file as stored even when it has an orientation tag. The editor then edits it as shown, so if the preview is sideways, fix it with 90°, 180° or 270°.

What you see Likely cause Fix
Upright on your phone, sideways or upside down after uploading The site ignores or strips the tag Upload an upright copy
Sideways or upside down everywhere, including your gallery The phone guessed wrong, common when shooting a page lying flat 90°, 180° or 270° in Image Editor
A WebP is sideways in Image Editor in Chrome or Edge The browser ignores the tag in WebP files 90°, 180° or 270°; the download matches the preview
Text reads backward A mirrored selfie Flip set to Horizontal

Make a photo black and white: Grayscale or Black & White?

In everyday speech, a black-and-white photo means grayscale: no color, but every shade of gray in between. Image Editor offers both meanings:

Effect What it does Best for
Grayscale Removes color, keeps up to 256 shades of gray Portraits, landscapes, an old-photo look
Black & White Turns every pixel pure black or pure white Signatures, line art, text, stencils

Black & White splits pixels at the middle of the brightness scale, 128 out of 255: brighter pixels turn white and darker ones black. A dim photo can therefore come out mostly black. Brighten it first, or use Filter > Threshold in Advanced Photo Editor, which lets you choose the cutoff from 0 to 255.

Save Black & White results as PNG, which keeps exactly two colors and a small file; JPG compression adds gray specks along the edges.

Choose the export format

Output Format Use it for What to know in Image Editor
Keep Original Saving in the uploaded type Still re-encodes; .jpeg saves as .jpg
JPG Photos No transparency: Background fills it white or black
WebP Photos and graphics for websites Small files, keeps transparency
PNG Screenshots, logos, Black & White Limited to 256 colors, so photos turn grainy and grow
GIF Sites that insist on GIF 256 colors, one still frame, on-or-off transparency
TIFF Print or archive steps that ask for TIFF Uses JPEG compression inside, so not lossless

Quality (Optimized (70%), Standard (80%), High (90%) or Maximum (100%)) sets the compression for JPG, WebP and TIFF. PNG is capped at 256 colors whatever you pick, and GIF ignores it. Even Maximum (100%) is not lossless, so start from your original file each time instead of re-editing a download.

The preview paints the Background color behind transparent areas, but PNG, WebP and GIF downloads keep the transparency. For JPG, Transparent gives white, in the preview and in the download.

Rotate, crop or flip on iPhone, Android, Mac and Windows

The photo apps on your devices handle the same quick fixes:

Device and app Rotate and flip Crop
iPhone Photos: Edit, then Crop Rotate (90° per tap), Flip (horizontal only) Drag the corners or pick an aspect ratio
Android Google Photos: Edit, then Crop Rotate (90°), Mirror Drag the handles or tap Aspect ratio
Mac Preview Rotate Left (Option-click for Rotate Right), Tools > Flip Horizontal or Flip Vertical Rectangular Selection, then Crop
Windows Photos: Edit image (Ctrl + E) Rotate and flip buttons in the crop controls Drag the frame or pick a preset ratio

The steps follow Apple's iPhone Photos guide, Apple's Preview guide, Google Photos help and Microsoft's Photos guide, checked in November 2026. Google Photos asks whether to Save over the original or Save as copy, and on iPhone you can undo saved edits later with Edit, then Revert.

Troubleshooting

The download is sideways

Image Editor saves what the preview shows, and the preview turns a phone photo upright using its orientation tag. If the preview was sideways as well, the pixels themselves are sideways or your browser ignores the tag (Chrome and Edge do in WebP files). Choose 90°, 180° or 270° until the preview is upright, then press Convert Now again.

The preview drops my rotation while I crop

While the crop frame is open, the preview shows the picture without any turn or flip, so the frame sits over exactly the pixels you keep. Click Done: the preview then shows the cropped area with your Rotation and Flip, as the download will.

The cropped image looks squashed after resizing

With Resize Mode set to Stretch, the picture is forced to the exact Width (px) and Height (px), whatever its shape. The default, Fit Inside, keeps the crop's proportions inside those boxes, and the lock between the boxes follows the crop. Size presets such as 1920×1080 set both boxes, so with Stretch crop to the same ratio first, or choose Cover (crop to fill) to fill that size without distortion; Original clears them.

The flip went the wrong way after rotating

The flip is applied before the turn, so with 90° or 270° selected, Horizontal looks like a top-to-bottom flip on screen. Pick the other option; the preview shows the flip and turn exactly as the download will have them.

A TIFF file doesn't open in the preview

Most browsers can't display TIFF, so the editor shows an error instead of the preview. Convert the file to JPG or WebP with Image Converter, then open that copy.

Frequently asked questions

How do I rotate an image without losing quality?

Turning in 90-degree steps moves pixels without blending them, so the turn itself costs nothing; any loss comes from saving a JPG or WebP again. In Image Editor, work from the original file and choose Maximum (100%) to keep that loss small. Desktop tools such as jpegtran can rotate a JPG with no re-encoding at all; the jpegtran manual explains its 8- or 16-pixel edge limits.

What is the difference between rotating and flipping an image?

Rotating turns the whole picture around its center, so nothing is reversed. Flipping mirrors it: Horizontal swaps left and right, and Vertical swaps top and bottom. A horizontal flip followed by a 180° turn gives the same result as a vertical flip.

How do I fix a mirrored selfie?

Front cameras show a mirrored preview, and depending on the phone's settings the saved photo may be mirrored too. Set Flip to Horizontal in Image Editor to swap left and right. Text in the picture tells you which version is the true view, because it reads normally only when the photo is not mirrored.

Can I rotate an image by a few degrees to straighten it?

Not in Image Editor, which turns in 90-degree steps only. Use the straighten control in iPhone Photos (Edit, then Crop) or the rotation slider in Windows Photos (Edit image), then save.

Does cropping reduce image quality?

Cropping discards the pixels outside the frame and leaves the rest untouched, so the kept area is as sharp as before. It does lower the pixel count, which matters if you print large later. The only other loss is the usual one from saving a JPG or WebP again.