Rotate image
Rotate 90, 180 or 270 degrees clockwise and download a PNG.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
Photos taken sideways, scanned pages that came in upside down and screenshots from a rotated phone often need a quick turn before you can use them. This tool rotates an image by 90°, 180° or 270° clockwise, swaps the width and height for quarter turns and saves a PNG, so the rotation itself does not add any compression loss.
Unlike the orientation flag some cameras write into EXIF data, the pixels themselves are rotated, so the image looks right in every program.
How to use it
- Choose the image.
- Choose 90°, 180° or 270° clockwise (270° is the same as 90° counter-clockwise).
- Run it and download the PNG.
How the calculation works
A canvas is created with swapped dimensions for 90° and 270°, the drawing origin is moved to the centre and rotated by the chosen angle, and the image is drawn and saved as PNG.
clockwise rotation; resized output canvasWorked example
A student photographs a printed handout in landscape and gets a 1200 × 800 image lying on its side. Rotating 90° clockwise produces an upright 800 × 1200 PNG ready to insert into notes.
Sample input and result
1200 × 800 + 90° → 800 × 1200
Limitations
- Quarter and half turns only.
- Output is always PNG.
- Metadata is not kept.
Last updated:
Frequently asked questions
Why is the output PNG?
PNG is lossless, so rotating does not reduce quality. Convert to JPG afterwards if you need a smaller file.
Can I rotate by 45°?
No, only quarter and half turns.
Why does my photo look rotated in some apps and not others?
Cameras often store orientation as metadata; apps that ignore it show the raw pixels. Rotating the pixels fixes this.
Troubleshooting
The PNG is large.
Convert it to JPG for photos.
It rotated the wrong way.
Choose 270° to rotate counter-clockwise.
I need to flip, not rotate.
Flipping (mirroring) is a different operation not offered here.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
Image resizer
Fit an image inside maximum dimensions, preserving aspect ratio and preventing enlargement.
Image toolsImage compressor
Re-encode JPG or WebP at adjustable quality. Output can be larger; always compare sizes.
Image toolsJPG, PNG & WebP converter
Convert images to JPG, PNG or WebP. JPG replaces transparency with white.
Image tools