Skip to content

Image Rotator

Rotate a PNG or JPG by 90, 180, or 270 degrees clockwise. The page does not keep the file.

Result

Choose an image and an angle

How to Use

  1. 1 Choose a PNG or JPG up to 5 MB.
  2. 2 Choose 90, 180, or 270.
  3. 3 Download the rotated PNG.

Example Output

  • A square image rotated 90 degrees swaps width and height.

About This Tool

The angle must be 90, 180, or 270. The download is rotated.png.

Using the Image Rotator

The Image Rotator rotates a PNG or JPG by 90, 180, or 270 degrees clockwise. The file field is labeled Image. It starts with no file. The angle field is labeled Degrees clockwise, and it starts at 90. Choose Rotate the image. On a successful run the label above the headline reads Rotation. With the angle left at 90, the headline is 90 degrees. A 2 by 1 image rotated 90 degrees clockwise has the sentence The image was rotated 90 degrees clockwise. The PNG is 1 by 2 pixels. The file is not stored.

The Width line is 1 and the Height line is 2 for that image, matching the 1 by 2 in the sentence. The download is named rotated.png, and the button reads Download PNG. The steps say to read the image, rotate it clockwise by 90 degrees, and encode the result as PNG. The page does not keep the file. The about line says the angle must be 90, 180, or 270, and the download is rotated.png.

Before you choose Rotate the image, the headline reads Choose an image and an angle and the label reads Result. The angle is checked first. A value that is not a whole number from 90 to 270 is refused with Degrees must be a whole number from 90 to 270. A whole number in that span that is not 90, 180, or 270 is refused with Degrees must be 90, 180, or 270. With the angle left at 90 and no file chosen, the refusal is Choose a PNG or JPG image up to 5 MB.

What the Headline 90 Degrees Measures

The headline is the angle you typed, then the word degrees. For the starting angle, after a successful rotation, the headline is 90 degrees. The label reads Rotation. The headline is not the width and not the height. Those are the Width line and the Height line, and they are also written in the sentence as the PNG size. For a 2 by 1 image rotated 90 degrees clockwise, the sentence is The image was rotated 90 degrees clockwise. The PNG is 1 by 2 pixels. The file is not stored. The Width line is 1. The Height line is 2.

The download name is rotated.png on every success. The button reads Download PNG. The result is a PNG even when the upload was a JPG. Copy result copies the sentence. The download saves rotated.png. The page does not keep the file. The form starts with degrees 90 and with no image, so the sentence does not exist until both checks pass.

How 90 Degrees Turns 2 by 1 into 1 by 2

The page reads Degrees clockwise as a whole number before it reads the file. The field starts at 90, which is allowed. 180 and 270 are the other allowed angles. 100 is inside 90 to 270 and is refused with Degrees must be 90, 180, or 270. 45, 271, a decimal, and a blank field are refused with Degrees must be a whole number from 90 to 270. The angle check happens first, so a bad angle is reported even when the file is also missing.

Interest on a principal is a different product. The Simple Interest Calculator multiplies principal by an annual percent and by years. A principal of 1000 at 5 percent for 2 years earns interest of 100 and a total of 1100. The headline there is the interest. That page does not rotate an image. Use it when the sample principal of 1000 should earn interest of 100. Use this page when a 2 by 1 image at 90 degrees should return the headline 90 degrees and a PNG that is 1 by 2 pixels.

What the Rotation Does Not Keep

The page does not keep the file. The sentence ends with The file is not stored. Reset clears the file field and returns Degrees clockwise to 90. The headline returns to Choose an image and an angle, and the label returns to Result. The sentence, the Width line, and the Height line are cleared. The next rotation needs the image again. The download name will still be rotated.png.

From a 2 by 1 Image to 1 by 2 Pixels

Leave Degrees clockwise at 90 and leave the file empty. The headline reads Choose an image and an angle. Choose Rotate the image. The headline is Choose a PNG or JPG image up to 5 MB, because the angle 90 is allowed and the file is missing. Change the angle to 100 and rotate again, still with no file. The headline is Degrees must be 90, 180, or 270. Change the angle to 45. The headline is Degrees must be a whole number from 90 to 270. Restore 90.

A compounded amount is a different figure. The Compound Interest Calculator compounds a principal at an annual percent. A principal of 1000 at 5 percent, compounded 1 times a year for 1 years, is 1050. The interest line there is 50. The headline there is the amount. That page does not rotate an image. Use it when the sample principal of 1000 should become 1050. Use this page when the sentence should say the PNG is 1 by 2 pixels.

Angles That Are Not 90, 180, or 270

A common miss is to type 100, 91, or 269. Each of those is a whole number from 90 to 270, and each is refused with Degrees must be 90, 180, or 270. Another miss is to type 45, 0, 360, or 90.5. Those are refused with Degrees must be a whole number from 90 to 270. A blank angle and a word use that same whole-number message. Another miss is to expect a missing file to be reported while the angle is 100. The angle is checked first. The file message appears when the angle is already 90, 180, or 270.

A comparison that does not pick a base is a different percent. The Percentage Difference Calculator uses the absolute difference divided by the average of the absolute values, times 100. The absolute difference of 40 and 50 is 10. The average of the absolute values is 45. The percentage difference is 22.22. That page does not rotate an image. Use it when you are comparing 40 and 50. Use this page when the angle should be 90, 180, or 270.

Keeping the Angle and the Pixel Size

Copy the sentence and download rotated.png before you reset. For a 2 by 1 image at 90 degrees, the sentence is The image was rotated 90 degrees clockwise. The PNG is 1 by 2 pixels. The file is not stored. The headline is 90 degrees. The Width line is 1 and the Height line is 2. A note that says only 90 degrees can be any image at that angle. The sentence keeps the pixel size with the angle.

A margin from revenue and cost is a different percent. The Profit Margin Calculator subtracts cost from revenue and divides that profit by revenue. Revenue of 200 and cost of 150 give profit of 50 and a margin of 25 percent. The headline there is the margin percent. That page does not rotate a PNG or a JPG. Use it when the inputs are revenue and cost and the sample margin is 25 percent. Use this page when the record you need is 90 degrees and a PNG of 1 by 2 pixels.

A PNG at the Angle You Typed

The headline answers which allowed angle was used. From 90 degrees on a 2 by 1 image, the answer is 90 degrees, and the sentence says the PNG is 1 by 2 pixels. From 180 degrees on that image, the headline is 180 degrees and the PNG stays 2 by 1 pixels. From 270 degrees, the headline is 270 degrees and the PNG is 1 by 2 pixels. The label on each of those runs reads Rotation. The download name is rotated.png. The file is not stored.

Checking the Angle and the Sides

Leave the angle at 90, submit with no file, and confirm Choose a PNG or JPG image up to 5 MB. Type 100 and confirm Degrees must be 90, 180, or 270. Type 45 and confirm Degrees must be a whole number from 90 to 270. Restore 90. Rotate a 2 by 1 image and confirm the headline 90 degrees, the label Rotation, and the sentence The image was rotated 90 degrees clockwise. The PNG is 1 by 2 pixels. The file is not stored. Confirm Width 1 and Height 2. Confirm the download name rotated.png and the button Download PNG.

A sale price after one discount percent is a different reduction. The Discount Calculator multiplies a price by one percent and subtracts. A price of 80 at 25 percent is a discount of 20 and a sale price of 60. The headline there is the sale price. That page does not rotate an image. Use it when the sample price of 80 at 25 percent should return a sale price of 60. Use this page when a 2 by 1 image at 90 degrees should return a PNG of 1 by 2 pixels.

Frequently Asked Questions

What does a 2 by 1 image at 90 degrees return?

The headline is 90 degrees. The label reads Rotation. The sentence is The image was rotated 90 degrees clockwise. The PNG is 1 by 2 pixels. The file is not stored. The Width line is 1 and the Height line is 2. The download is rotated.png.

Which angles are allowed?

90, 180, and 270. The field starts at 90. Degrees must be 90, 180, or 270 is the message for another whole number from 90 to 270, such as 100. Degrees must be a whole number from 90 to 270 is the message for a blank, a word, a decimal, or a number outside that span.

What does a missing file return?

Choose a PNG or JPG image up to 5 MB, when the angle is already 90, 180, or 270. The angle is checked first. A file that cannot be read returns Choose a PNG or JPG image. The image could not be rotated is the message when the turn fails. The page does not keep the file.

What do 180 and 270 do to a 2 by 1 image?

180 degrees keeps the PNG at 2 by 1 pixels, and the headline is 180 degrees. 270 degrees makes the PNG 1 by 2 pixels, and the headline is 270 degrees. The download name is rotated.png either way. The file is not stored.

Is the download a JPG?

The download is a PNG named rotated.png. The button reads Download PNG. A JPG upload and a PNG upload both come back as that PNG. The sentence names the PNG size. For the 2 by 1 image at 90 degrees, it says 1 by 2 pixels.

Does the page keep the file?

No. The page does not keep the file. The sentence ends with The file is not stored. Reset clears the image and returns the angle to 90. The headline returns to Choose an image and an angle. Download rotated.png during the run if you need the PNG.

What does the headline measure?

The angle. At the starting value, after a successful rotation, the headline is 90 degrees and the label is Rotation. The pixel size is in the sentence and on the Width and Height lines. For a 2 by 1 image those lines are 1 and 2.

What does reset restore?

Degrees clockwise returns to 90. The file field is cleared. The headline returns to Choose an image and an angle. The label returns to Result. The sentence and the Width and Height lines are cleared. The page does not keep the file.