You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

How do I rotate multiple images at once on my computer?

I recently encountered a problem, which is to rotate multiple pictures at once. I have a lot of pictures on my computer that I need to process, and it is too time-consuming to rotate them one by one manually, so I want to ask if there is any way to rotate multiple pictures at once. I use the macOS system and want to find a simple method.


I wonder if anyone has any recommended tools or built-in functions that can achieve batch images rotation? Has anyone encountered a similar situation? Please share your experience, thank you!

MacBook Pro (M2 Max, 2023)

Posted on Oct 21, 2024 2:08 AM

Reply
4 replies

Oct 21, 2024 2:40 AM in response to Aboosaidi

To rotate multiple images at once on a Mac using the command line, you can use the sips (scriptable image processing system) command in Terminal. Here's how to do it:


Use the cd command to change the directory to the folder where your images are located. To rotate all the images in the folder, use the following command. This example rotates all .jpg images by 90 degrees clockwise:


sips -r 90 *.jpg


You can adjust the degree of rotation based on your need:

  • 90: Rotate 90 degrees clockwise.
  • 180: Rotate 180 degrees.
  • 270: Rotate 90 degrees counterclockwise.


If you have different image formats, you can replace *.jpg with *.png, *.jpeg, or the specific format of your images.

Oct 21, 2024 2:13 AM in response to Aboosaidi

Adobe Lightroom is really convenient for batch processing of pictures, especially for needs like rotating multiple pictures at once. I used it to process a large number of pictures before. I just need to import all the photos, select them and set the rotation direction, and then click to rotate them all.


In addition to rotation, Lightroom can also make some exposure and color adjustments by the way, which is very efficient. Although it is a paid tool, it is really worth it if you often process a large number of pictures. It has comprehensive functions and is very smooth to process.

Oct 21, 2024 2:36 AM in response to Aboosaidi

To rotate multiple images at once on a Mac, you can use the Preview app.


Step 1: Open Finder, navigate to the folder containing your images, and select all the images you want to rotate. You can do this by holding down the Command key and clicking each image, or press Command + A to select all the images in the folder.


Step 2: Once the images are selected, right-click on one of them and choose Open With > Preview.


Step 3: In Preview, you'll see all the selected images on the sidebar. Select all the images in the sidebar by clicking one image and then pressing Command + A.


Step 4: Click the Rotate button on the toolbar at the top of the Preview window (it looks like a curved arrow) or use the keyboard shortcut Command + L to rotate counterclockwise. If you need to rotate clockwise, you can press Command + R.


This method allows you to rotate multiple images at once quickly without needing any third-party software.

Oct 21, 2024 2:56 AM in response to MikeLaba

MikeLaba wrote:

To rotate multiple images at once on a Mac using the command line, you can use the sips (scriptable image processing system) command in Terminal. Here's how to do it:

Use the cd command to change the directory to the folder where your images are located. To rotate all the images in the folder, use the following command. This example rotates all .jpg images by 90 degrees clockwise:

sips -r 90 *.jpg
You can adjust the degree of rotation based on your need:
90: Rotate 90 degrees clockwise.
• 180: Rotate 180 degrees.
• 270: Rotate 90 degrees counterclockwise.

If you have different image formats, you can replace *.jpg with *.png, *.jpeg, or the specific format of your images.

I have a question, if I want to rotate only a few pictures, not all the pictures in a folder, is there a way to specify the file name to rotate? Or is there a more flexible command that can process according to different conditions of the file?

How do I rotate multiple images at once on my computer?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.