Guides › Photos

How to make an image square on Mac

Updated 24 October 2026 · by Vistaar Studio

Short answer: to crop to a square, open the photo in Photos, click Edit › Crop, open the Aspect menu and choose Square. In Preview, hold ⇧ Shift while you drag a selection, then press ⌘ K to crop. If you can't lose any part of the picture, add white borders instead. The Terminal and Keynote methods below do that.

Square images are everywhere: profile pictures, product listings, catalogue grids, app icons, some social posts. Turning a wide or tall photo into a square always means one of two things. Either you cut some of it off, or you add empty space around it. Decide which you want first, because it changes the method.

Crop or add borders?

Crop to squareAdd borders (pad)
What happensThe edges of the longer side are cut offThe whole photo stays; empty space fills the gaps
Good forPortraits, profile pictures, photos with space to spareProducts, logos, documents, group photos
Built-in waysPhotos, Preview, sipssips, Keynote

1. Photos: crop to Square (easiest, and you can undo it)

  1. Double-click the photo in Photos and click Edit.
  2. Click Crop at the top.
  3. Open the Aspect menu on the right and choose Square.
  4. Drag the photo inside the frame to choose what stays. Drag a corner to zoom in.
  5. Click Done. To save a copy, choose File › Export › Export 1 Photo.

Photos edits are non-destructive: Image › Revert to Original brings back the full photo. If the file isn't in your library, drag it into Photos first, or use Preview.

2. Preview: Shift-drag a square selection

  1. Open the image in Preview. If you want to keep the original, choose File › Duplicate first.
  2. If you don't see the selection tool, click the Markup button and choose the Rectangular Selection tool.
  3. Hold ⇧ Shift and drag over the picture. The box stays square. Drag inside it to move it.
  4. Choose Tools › Crop (⌘ K).
  5. Check the result with Tools › Adjust Size. Width and height should match. If you also want a set size, such as 1080 × 1080, type it there with Scale proportionally ticked.

Dragging by hand can leave you a pixel or two off square. Most websites won't mind; if yours is strict, use the Terminal method, which is exact.

3. Terminal: exact squares, one photo or a whole folder

macOS includes an image tool called sips. Open Terminal, type cd (with a space), drag your folder into the window and press Return. First find the size of a photo:

sips -g pixelWidth -g pixelHeight photo.jpg

Crop the centre to a square. Use the shorter side. For a 1920 × 1080 photo:

sips -c 1080 1080 photo.jpg --out square.jpg

Add white borders instead. Use the longer side. The photo goes in the middle:

sips -p 1920 1920 --padColor FFFFFF photo.jpg --out square.jpg

sips may print a line starting <CGColor when padding; that's harmless. Change FFFFFF to any hex colour, such as 000000 for black. To shrink the square afterwards, add sips -Z 1080 square.jpg.

A whole folder. This loop crops every JPG in the current folder to a centred square and puts the results in a new square folder. The originals aren't touched:

mkdir square
for f in *.jpg; do
  w=$(sips -g pixelWidth "$f" | awk '/pixelWidth/{print $2}')
  h=$(sips -g pixelHeight "$f" | awk '/pixelHeight/{print $2}')
  s=$(( w < h ? w : h ))
  sips -c $s $s "$f" --out square/"$f"
done

For white borders instead of cropping, change w < h ? w : h to w > h ? w : h and -c $s $s to -p $s $s --padColor FFFFFF.

What we found when we tested it

We ran these commands on macOS Tahoe 26.2 with photo-style images from this site:

Two cautions. sips crops from the centre, so check that nobody's head got cut off in tall portraits. And if you ask -c for a size larger than the photo, sips adds black bars instead of cropping. That's why the loop uses the shorter side.

4. Keynote: white square with a preview

If you'd rather see what you're doing, Keynote works as a quick layout tool. Create a presentation, open the Document sidebar and set the Slide Size to a Custom Slide Size such as 2000 × 2000. Use a white theme and drop your photo onto the slide. Then choose File › Export To › Images and pick JPEG or PNG. You can place several photos on separate slides and export them all at once.

Square product photos in a batch: Pictailor

We make this app, so read this part with that in mind. For a few photos, Photos and Preview are all you need. Pictailor is for when a whole folder has to be square and meet a shop's or form's size, for example product photos for Amazon, Flipkart or Shopify.

Pictailor on Mac with the Amazon / Flipkart product ready-made size selected: a brown and cream sneaker cut out and centred on a white 1:1 square, set to Fit inside with a white frame, saving as a 1,536 by 1,536 pixel JPEG of about 252 KB from a 2.7 MB original
The shop size cuts the product onto white, centred and square.

Pictailor is available now from vistaar.studio for $5 (₹499 in India), paid up front, with a licence key for 1 Mac. It's also on the Mac App Store for $4.99. It runs on Apple Silicon and Intel Macs with macOS 15 or later. Meet Pictailor →

FAQ

How do I crop a photo to a square on a Mac?

In Photos: Edit › Crop › Aspect › Square, frame it, click Done. In Preview: Shift-drag a selection, then Tools › Crop.

How do I make an image square without cropping it?

Add borders: sips -p 1920 1920 --padColor FFFFFF photo.jpg --out square.jpg (use the longer side), or place it on a white square slide in Keynote and export.

How do I make many photos square at once?

Use the sips loop above. It works out each photo's shorter side and crops the centre into a new folder.

Does Preview have a square crop option?

Not as a menu item, but holding Shift while dragging keeps the selection square.

What size should a square image be?

1080 × 1080 is common for social posts. Shops usually want 1,000 px or more per side. Check the site's own help page.

Will making an image square lower its quality?

Cropping doesn't soften what's left, but re-saving a JPEG costs a little. Keep the original and work on a copy.