Image Size Reducer
PNG rotator

Rotate a PNG

Turn an image to any orientation, from a quick quarter turn that costs nothing in quality to a fine correction of a few degrees. The preview updates as you go and the file never leaves the browser.

  • Ninety, one eighty, and two seventy steps
  • Custom angles to any degree
  • Lossless at right angles
  • Transparency preserved
  • Processed in the browser
Open the rotator

Right Angles Are a Different Operation

Turning an image a quarter or a half turn moves whole pixels to new positions. Any other angle has to invent new ones, and the two behave nothing alike.

At a right angle every pixel lands exactly where another pixel used to be. The grid stays aligned with itself, no blending is required, and the result is mathematically perfect. Color values are carried across untouched, so quality is identical and the operation can be repeated as often as you like without consequence. At any other angle the new grid no longer lines up with the old one. Each new pixel falls between several originals and has to be calculated from them, which is a resampling operation with all the usual costs. That distinction is the single most useful thing to understand about how to rotate a PNG, because it determines whether the result will be pristine or merely acceptable, and it depends entirely on the number you choose.

What the Rotator Does

Quarter turns that cost nothing, arbitrary angles when they are needed, and transparency carried through both.

Right-angle steps

Turn the image by ninety, one hundred and eighty, or two hundred and seventy degrees with no loss of quality whatever.

Custom angles

Enter any degree value to correct a picture that is only slightly tilted, with the canvas adjusted to suit.

Transparency preserved

Alpha values travel with their pixels, so a cut-out keeps its outline and stays on an empty background.

Live preview

Watch the frame and the orientation change as you set the angle, which is how a wrong direction is caught immediately.

Local processing

The image is handled in the browser, so nothing is uploaded.

ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Why ninety degrees costs nothing

A quarter turn is a rearrangement rather than a recalculation, which is why you can rotate a PNG by ninety degrees for free. Every pixel keeps its exact value and its relationship to its neighbors, and the whole grid is simply re-indexed so that rows become columns. The same is true of a half turn, which is a quarter turn applied twice, and of two hundred and seventy degrees. All three are lossless in the strict sense: open the result and the pixel data is identical to the original, merely in a different order. This is why a rotated file looks exactly as sharp as its source, and why there is no penalty for turning an image back and forth while deciding which orientation is right.
Rotate it
A diagram showing pixels re-indexed by a quarter turn with values unchanged
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

The two costs of an arbitrary angle

Choose thirty degrees and two things happen at once. The first is resampling, since every new pixel now falls between originals and must be interpolated, which softens fine detail in proportion to how far the angle sits from a right angle. The second is the canvas, the part people forget when they rotate a PNG. A rotated rectangle no longer fits inside its own frame, so the corners stick out and the edges leave gaps. Something has to give: either the image is enlarged to contain the whole tilted version, or it is cropped so that the original corners fill the frame and some content is lost. Neither is wrong, and both are visible in the preview, which is why an arbitrary rotation is worth checking carefully rather than applying blindly.
Rotate it
A tilted image shown enlarged to fit and cropped to fill the frame
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

The frame changes shape at a quarter turn

Rotating through ninety degrees swaps the width and the height. A landscape image becomes a portrait one, and vice versa, with the pixel counts exchanged exactly. That is obvious on its own and easy to forget inside a workflow. A banner built for a specific slot will no longer fit the slot once it has been turned, and a thumbnail grid will reflow around the new proportions. Half turns leave the frame unchanged, which is why they are the safer choice when the content needs correcting and the layout must stay put after you rotate a PNG.
Rotate it
A landscape image shown becoming a portrait image after a quarter turn
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Choosing a direction

For the right-angle steps the direction barely matters: clockwise and counterclockwise are mirror images, and one produces the orientation the other produced two steps earlier. Only when you rotate a PNG by a small amount does the choice become critical. Pick either and step through until the picture sits the way you want. For a small correction it matters more, because going the wrong way doubles the error rather than fixing it. A photograph that is leaning slightly to the left needs a small clockwise turn, and the reliable way to judge it is to find a line in the image that should be horizontal and watch which way it tilts as the angle changes.
Rotate it
A tilted photograph corrected with a small clockwise rotation
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Sideways scans and camera orientation

Two very common sources of a wrongly oriented image are worth separating. A scan is genuinely stored the wrong way round: the pixels really are arranged sideways, and rotating them is the whole fix. A phone photograph is often correct in its pixels and wrong in its metadata. Cameras record an orientation tag alongside the image data, and software that reads the tag displays the picture upright while software that ignores it shows it on its side. That tag is why the same file can look correct in one application and rotated in another, and it is worth knowing before concluding that you need to rotate a PNG at all.
Rotate it
A sideways scan beside a phone photo whose orientation tag causes the confusion
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Turned assets in a design system

Icons, stamps, and signatures are frequently needed at an angle. An arrow glyph pointing up can be turned to point right, which means one asset covers four directions without redrawing. A signature scanned straight can be rotated a few degrees to look as though it was signed on a tilted line. The useful habit here is to keep the upright master and produce the rotated variants from it, rather than rotating an already rotated file. At right angles that makes no difference, but as soon as you rotate a PNG by a custom angle the softening starts to accumulate, and a variant produced from a variant is measurably worse than one produced from the source.
Rotate it
One arrow glyph rotated to serve four directions in an icon set
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

What happens around the transparent areas

Rotation preserves the alpha channel, so any empty background stays empty and a cut-out keeps its shape and its soft edges. Nothing is filled in behind the subject at any angle. The one thing to look at after a custom rotation is the corner. Because a tilted rectangle cannot fill its original frame, the areas that become empty are transparent rather than white, which is correct but can be unexpected on a subject that normally sits on an opaque background. If the image is destined for a surface where transparency will not be understood, flattening it afterwards onto a chosen color avoids a surprise later.
Rotate it
A tilted cut-out showing transparent corners filling the gaps

How to Rotate a PNG

Four steps. The second is the decision that determines whether the result is perfect or merely good.

Step 1

Upload the image

Use the original file rather than a screenshot, so the pixels you are rearranging are the genuine ones.

Step 2

Pick a right angle or a custom one

Use ninety, one eighty, or two seventy for a lossless result, and a custom value only when the tilt is genuinely small.

Step 3

Check the frame and the corners

A quarter turn swaps width and height, and a custom angle leaves transparent corners, so confirm both before saving.

Step 4

Download and keep the upright master

Save the result, and hang on to the original so future variants come from it rather than from this file.

Who Rotates Images

Four kinds of work where orientation has to be corrected or reused.

OT

Office teams

correcting scans

A sheet fed the wrong way round produces a sideways page that nobody notices until it is unreadable. A quarter turn fixes it with no quality cost at all.

ID

Icon designers

one glyph, four directions

An upward arrow rotated three times covers every direction, which keeps an icon set consistent and half the size it would otherwise be.

PH

Photographers

straightening horizons

A horizon that is a degree out is more noticeable than a tilted subject. A small custom angle corrects it, and the canvas handles the corners.

PT

Print teams

fitting artwork to a layout

Half turns are the safe correction when the frame has to stay the same, because the dimensions do not change and nothing in the layout needs adjusting.

Frequently Asked Questions

Which angles are free, which are not, and what changes around the edges of the frame.

Turn it the way you need it

Upload a PNG and rotate it by ninety, one hundred and eighty, or two hundred and seventy degrees without any loss, or by a custom angle when the tilt is small.

Rotate it
Turn, Do Not Rebuild

One operation that is free and another that only looks the same

Rotation is unusual because it covers two completely different operations under one word, and the difference between them is a single number. At a right angle the image is rearranged: the grid stays aligned with itself, every pixel keeps its exact value, and the result is indistinguishable from a perfect move. At any other angle the grid no longer lines up, so each new pixel has to be calculated from its neighbors, and the picture softens in proportion to how far the angle sits from a right angle. That is why the useful instinct is to solve an orientation problem with ninety-degree steps whenever the problem allows it, and to reach for a custom angle only when the fault is genuinely a small tilt. The other thing to watch is the frame. A quarter turn exchanges width and height, which changes how the image fits into whatever layout it belongs to, and a custom angle leaves transparent corners because nothing can fill them. Neither is an error, and both are easier to see in a preview than to reason about afterwards. Keep the upright master as well, since variants are always better produced from it than from one another. Do those things and rotating a picture is one of the few edits that can be described as genuinely free.

Smaller files, same picture.