# Rotate Image

Turn an image by adding `rotate` to its URL with the number of degrees, from -180 to 180. Try it in the demo below.

Try it

![Original image](https://demo.sirv.com/look.jpg?w=800)

Original

![Image with the options applied](https://demo.sirv.com/look.jpg?w=800&rotate=45)

With options

Rotate45°

https://demo.sirv.com/look.jpg**?rotate=45**

[](https://demo.sirv.com/look.jpg?rotate=45)

Using an AI coding agent?

Install the [`sirv-dynamic-imaging`](https://www.skills.sh/sirv/image-optimization-skill/sirv-dynamic-imaging) skill, and your agent can build these image URLs for you. Ask in plain words, such as “Serve our product photos as 800px WebP.” [See all 8 skills](/help/rest-api/sirv-skills-for-ai-agents/)

`https://demo.sirv.com/look.jpg?rotate=45`

  
![Image rotated 45 degrees](https://demo.sirv.com/look.jpg?rotate=45)

Use a negative value to rotate the image anti-clockwise.
