About Rectangle
Rectangle manages application windows on macOS and descends from the earlier Spectacle app. It lets you move and resize windows with keyboard shortcuts or by dragging a window to a screen edge or corner, where a footprint previews the position it will snap to. It is written in Swift and the repository lists its license as Other.
Snap areas map screen regions to actions: left or right edges give halves, the top edge maximizes, corners give quarters, and the bottom thirds give respective thirds or two-thirds. Optional settings turn on window animation, which is marked experimental, and a blurred footprint preview. Current versions require macOS 14 or later, with older releases available for macOS 10.13 to 13. It can be installed from a downloadable dmg on the releases page or with a Homebrew cask.
Key features
- Keyboard shortcuts to snap and resize windows
- Drag-to-edge snap areas with preview footprint
- Halves, quarters, thirds and maximize actions
- Optional experimental window animation
- Installs by dmg download or Homebrew cask
- Based on the Spectacle window manager
Good fit for
- Tiling windows on a Mac without a mouse
- Organizing a large display into zones
Rectangle: questions and answers
- What is Rectangle used for?
- Rectangle is a macOS window manager that moves and resizes windows using keyboard shortcuts and drag-to-edge snap areas. It is a good fit for tiling windows on a Mac without a mouse and organizing a large display into zones.
- Is Rectangle open source?
- Yes. Rectangle is open source under a custom licence. Its source code is on GitHub at rxhanson/Rectangle and is written mainly in Swift.
- Is Rectangle free?
- Yes. Rectangle is open source, so the software itself is free to use under the terms of its own licence.
- Can I self-host Rectangle?
- Yes. Rectangle can be self-hosted on your own server or infrastructure; there is no official hosted version.
- What is Rectangle an alternative to?
- Rectangle is an open-source alternative to BetterTouchTool and Magnet. Other open-source alternatives to BetterTouchTool include Amethyst, Hammerspoon and Slate.
- Is Rectangle actively maintained?
- Yes. The most recent commit to Rectangle was on 11 November 2026, and the latest release is v2.0.4, published on 20 October 2026. The project has 30k stars on GitHub, with 212 added in the last 30 days.
Open-source alternatives to Rectangle
See all
Amethyst
Utilities & System Tools
Automatic tiling window manager for macOS à la xmonad.
MITvs BetterTouchTool★ 16k
Hammerspoon
Workflow Automation
Staggeringly powerful macOS desktop automation with Lua
MITvs Keyboard Maestro★ 16k
Slate
File Storage & Sharing
WIP - We're building the place you go to discover, share, and sell files on the web.
MITvs Dropbox★ 520
Karabiner-Elements
Open source
Karabiner-Elements is a powerful tool for customizing keyboards on macOS
Unlicensevs Keyboard Maestro★ 23k
Hyperswitch
Finance & Accounting
Open source, composable payments platform | PCI compliant | SaaS and Self-host options | E
Apache-2.0vs Stripe★ 46k
Phoenix
Open source
Peace of mind from prototype to production
MITvs Pusher★ 23k
SaaS alternatives to Rectangle
See all
BetterTouchTool
Productivity
Mac utility to customize trackpad gestures, keyboard shortcuts and window snapping
SaaS
Magnet
Productivity
Window manager for macOS that snaps windows into screen positions
SaaS
Bartender
Productivity
Menu bar organizer for macOS that hides and rearranges menu bar icons
SaaS
OmniNotch
Productivity
macOS notch utility with twenty tools in one hover, including clipboard, timers and now playing
SaaS
ReturnFast
Productivity
macOS app that adds global Back and Forward navigation across apps, windows, tabs and files
SaaS
Shortap
Productivity
Mac app that turns taps on the sides of your MacBook into shortcuts with 50+ actions or any Apple Shortcut
SaaS

