A macOS app that moves and resizes windows through a radial menu, keyboard shortcuts, and cycles triggered by a modifier key.
- Stars
- 30,255
- Forks
- 1,040
- Open issues
- 73
- Last commit
- yesterday
What is it?
Rectangle is a window management app for macOS, forked from Spectacle. It lets you snap windows to halves, quarters, thirds, and other layouts using keyboard shortcuts, or by dragging a window to the edge or corner of the screen to see a snap preview.
Beyond basic halves and thirds, it adds actions such as moving a window to each edge without resizing, maximizing only the height, almost-maximizing, and tiling all windows in rows or columns. Stacked windows can be cycled through, and mouse side buttons can be assigned as shortcuts. Apps can be ignored so their own shortcuts keep working.
Rectangle runs on macOS 14 and later, with older versions available from the releases page. It can be installed from the DMG or via Homebrew Cask, and it can be controlled through URL schemes and a JSON config import/export.
Key features
- 01Snap windows to halves, quarters, thirds, and sixths with keyboard shortcuts
- 02Drag windows to screen edges or corners to snap them with a preview
- 03Tile windows in rows or columns across the current Space
- 04Cycle through stacked windows with dedicated shortcuts
- 05Assign mouse side buttons as window action shortcuts
- 06Ignore specific apps so their shortcuts are not intercepted
- 07Control window actions through rectangle:// URLs
Use cases
- Arranging code editor, browser, and terminal side by side on a Mac without a mouse
- Keeping a laptop screen organized with keyboard-driven window layouts
- Tiling several chat or document windows into a grid for multitasking
Quick start
- 1
Install Rectangle with Homebrew Cask
brew install --cask rectangle - 2
Or download the latest DMG from the releases page
Things to know
- macOS only, and requires macOS 14 or later for the current version.
- Window animation is experimental and may cause issues in some edge cases.
- The license is not clearly specified in the metadata.
In collections
Topics
FAQ
- What is Rectangle?
- A macOS window manager that moves and resizes windows with keyboard shortcuts and drag-to-edge snap areas. Rectangle is a window management app for macOS, forked from Spectacle. It lets you snap windows to halves, quarters, thirds, and other layouts using keyboard shortcuts, or by dragging a window to the edge or corner of the screen to see a snap preview.
- Is Rectangle free to use? What license does it have?
- Rectangle is open source under the Other license. Check the license terms before using it in commercial products.
- Is Rectangle still maintained?
- Actively maintained. The last commit to Rectangle was on Nov 6, 2026.
- What can I use Rectangle for?
- Arranging code editor, browser, and terminal side by side on a Mac without a mouse Keeping a laptop screen organized with keyboard-driven window layouts Tiling several chat or document windows into a grid for multitasking
- How do I install Rectangle?
- Install Rectangle with Homebrew Cask: brew install --cask rectangle Or download the latest DMG from the releases page
- Where can I get Rectangle?
- The source code and installation instructions are on GitHub: https://github.com/rxhanson/Rectangle
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A macOS keyboard shortcut utility that maps hotkeys to automated workflows, app launches, scripts, system actions and window tiling.
A scrolling, Niri-inspired tiling window manager for macOS that arranges windows in columns on a horizontal strip.
A tiling window manager for macOS that arranges windows automatically using binary space partitioning, controlled from the command line.
A tiled, scrollable window manager for macOS, written as a Spoon plugin for the Hammerspoon automation app.
A collection of over 30 Windows utilities for customizing the desktop and speeding up everyday tasks, from window layouts to keyboard remapping.