Rectangle is a window manager for macOS. It moves and resizes windows with keyboard shortcuts, or when you drag a window to an edge or corner of the screen. It is based on the older Spectacle app and can use Spectacle's default shortcuts.
Drag a window to the left or right edge to fill that half, to the top to maximize it, or into a corner for a quarter. The bottom edge splits into thirds. Shortcuts go further, with actions for thirds, fourths, sixths, eighths and ninths, plus Tile All, Tile in Rows, Tile in Columns and Cascade. Version 2.0 added mouse button shortcuts, so a side button on your mouse can trigger an action, and Cycle stacked windows, which brings forward each window snapped to the same spot. Window animation and a blurred snap preview are optional and off by default.
It suits people who want Windows-style snapping on a Mac, or a keyboard-driven layout without buying an app. If another app uses the same shortcuts, Rectangle can ignore that app while it is in front. Every action can also be run from scripts through rectangle:// URLs.
Rectangle is MIT licensed and developed by Ryan Hanson. It needs Accessibility permission in System Settings to move windows. The current version needs macOS 14 or later, and older releases are still available for macOS 10.13 to 13. A separate paid app, Rectangle Pro, is built on top of it.
Frequently asked questions
Is Rectangle free?
Yes. Rectangle is free to download from rectangleapp.com and GitHub. Rectangle Pro is a separate paid app with extras such as custom shortcuts for any size and position, and it can be tried free for 10 days.
Is Rectangle safe and open source?
Rectangle is open source under the MIT licence, and the full code is on GitHub. It asks for Accessibility access because macOS requires that for any app that moves other apps' windows.
How do I install Rectangle?
Download the dmg from rectangleapp.com or the GitHub releases page and drag Rectangle to Applications. With Homebrew, run brew install --cask rectangle. On first launch, allow it under System Settings, Privacy & Security, Accessibility.
What macOS version does Rectangle need?
Rectangle 2.x needs macOS 14 Sonoma or later. For macOS 10.15 to 13 use version 1.100, and for 10.13 and 10.14 use version 0.73. Both are on the GitHub releases page. It runs natively on Apple silicon and Intel Macs.
How does Rectangle compare to Magnet and Moom?
All three place windows in set positions with shortcuts or by dragging. Magnet and Moom are paid apps. Rectangle covers the common halves, thirds, quarters and tiling layouts for free. If you want custom sizes and positions, the developer's paid Rectangle Pro is the closer match.
How do I stop Rectangle shortcuts clashing with another app?
Bring that app to the front, open the Rectangle menu and choose Ignore app. Rectangle then releases its shortcuts while that app is frontmost and takes them back when you switch away. Choose the same item again to undo it.
Gallery
No images yet.
Alternatives to Rectangle
Other Mac apps that do the same job as Rectangle.

Amethyst
Free tiling window manager for Mac that arranges windows automatically in xmonad-style layouts.
Window ManagementFree
Also replaces Magnet and Moom

Loop
Free window manager for Mac with a radial menu, keyboard shortcuts and drag-to-snap.
Window ManagementFree
Also replaces Magnet and Moom

ChainYourMac
Scrolling window manager for Mac that lines up every window side by side on one endless strip, so nothing overlaps or shrinks.
Window Management$19.99 lifetime
Also replaces Magnet and Moom