TL;DR
Looking for free alternatives to Magnet? Here are the best open source and free options for Mac.
What is the best free alternative to Magnet?
The best free alternative to Magnet ($8) is Rectangle, which is open source. Install it with: brew install --cask rectangle.
Free Alternative to Magnet
Save $8 with these 1 free and open source alternatives that work great on macOS.
Our Top Pick
Quick Comparison
| App | Price | Open Source | Category |
|---|---|---|---|
| Magnet | $8 | No | — |
| Rectangle | Free | Yes | System Utilities |
Why You Shouldn't Pay $8 for Mac Window Snapping
I bought Magnet in 2016 when it cost 99 cents. It did exactly what macOS should have done out of the box. You dragged a window to the edge of your screen and it snapped into place. You hit a keyboard shortcut and your browser perfectly filled the left half of your monitor. It was a simple utility that solved a glaring omission in Apple's operating system.
Today, Magnet costs $7.99. That feels incredibly steep for a feature Apple is finally baking directly into macOS Sequoia this fall. People are tired of paying a premium for basic system functionality. I see users on Reddit constantly asking if Magnet is worth eight bucks. My answer is always no. You do not need to open your wallet to get excellent window snapping on a Mac.
The open-source community solved this problem years ago. They did it better, faster, and with more customization options than the paid alternatives. I spent the last month testing every free window manager I could install on my M3 MacBook Pro. Some are direct clones that replicate Magnet's simple drag-to-snap behavior. Others are aggressive tiling window managers that turn macOS into a keyboard-driven environment reminiscent of Linux.
I found apps that consume barely 15MB of RAM. I tested scripting engines that let you automate exactly where specific apps open based on your current Wi-Fi network. This guide covers the best free ways to manage your Mac windows. I will show you exactly what to install based on how you actually use your computer.
Detailed Alternative Reviews
Rectangle
The undisputed king of Mac window snapping
brew install --cask rectangleRectangle is the app I install first on any new Mac. It is a free, open-source replacement for Spectacle, which was abandoned by its developer years ago. Rectangle does exactly what Magnet does without costing a dime. I use it daily to snap windows into halves, quarters, and thirds using keyboard shortcuts. The default keybindings perfectly mirror Magnet. You can switch over in about thirty seconds without retraining your muscle memory.
In my testing, Rectangle idles at around 16MB of RAM. It never crashes. It handles multiple monitors perfectly. When I disconnect my MacBook from my studio display, Rectangle gracefully resizes my open windows to fit the smaller laptop screen. You can drag windows to the screen edges to snap them, just like in Windows 11. The developer updates the app constantly. Version 0.79 recently improved compatibility with Stage Manager. I honestly cannot find a reason for the average user to look anywhere else.
Key Features:
- Keyboard shortcuts for halves, quarters, and thirds
- Drag-to-snap screen edge zones
- Multi-monitor window movement
- Customizable keyboard shortcuts
- Restore previous window size command
- Stage Manager compatibility
- Ignore specific apps setting
- Export and import JSON configurations
Limitations:
- • Does not automatically tile windows as you open them
- • Custom snap areas require the paid 'Pro' version
- • Menu bar icon cannot be hidden natively without third-party tools
Best for: Former Magnet users who want an identical experience for free.
Amethyst
Automatic tiling for keyboard purists
brew install --cask amethystAmethyst fundamentally changes how macOS operates. It is an automatic tiling window manager heavily inspired by xmonad on Linux. When you open a new app, Amethyst automatically resizes your existing windows to make room. You never drag a window. You never manually resize a corner. The software handles the geometry.
Using Amethyst takes serious getting used to. I spent my first two days fighting the application. Every time I opened Finder, my browser shrank to half its size. Once I learned the keyboard shortcuts to cycle through layout modes, things clicked. The 'Tall' layout keeps my main application large on the left while stacking secondary apps on the right. Version 0.20.0 introduced much better multi-monitor support. It shifts entire workspaces across displays instantly. Amethyst runs perfectly fine on Apple Silicon, but it occasionally stutters when resizing heavy apps like Adobe Premiere Pro.
Key Features:
- Automatic window tiling
- Multiple built-in layout modes (Tall, Wide, Fullscreen, Column)
- Keyboard-driven window focus
- Multi-monitor workspace swapping
- Custom window margins
- Floating window exceptions
- Mouse-follows-focus support
- Dynamic layout switching
Limitations:
- • Steep learning curve for standard Mac users
- • Resizing animations can feel slightly jerky
- • Some non-native apps like Electron wrappers resist automatic resizing
- • Requires constant keyboard use to manage layouts effectively
Best for: Developers who want a Linux-style tiling experience without hacking macOS.
Yabai
The absolute limits of Mac window management
brew install koekeishiya/formulae/yabaiYabai is not for the faint of heart. It is a command-line utility that deeply modifies the macOS WindowServer. To get the most out of Yabai, you have to boot your Mac into Recovery Mode and partially disable System Integrity Protection. I understand that is a dealbreaker for many people. If you are willing to take the risk, Yabai offers unparalleled control.
It uses a binary space partitioning algorithm to tile windows. Every time you open an app, the screen splits perfectly in half. Yabai removes window shadows to save pixel space. It lets you switch spaces instantly without Apple's slow sliding animation. I paired Yabai with a hotkey daemon called skhd. The resulting setup allowed me to throw windows across three monitors faster than I could move my mouse. The configuration happens entirely in a text file. You will spend hours tweaking your yabairc file to get things right.
Key Features:
- Binary space partitioning tiling
- Window shadow removal
- Instant workspace switching
- Window opacity control
- Focus follows mouse natively
- Rule-based window placement
- Complete terminal control
- Status bar integration via sketchybar
Limitations:
- • Requires partially disabling System Integrity Protection for full features
- • No graphical user interface
- • Updates to macOS often break Yabai temporarily
- • Requires a separate app (skhd) for keyboard shortcuts
Best for: Power users willing to modify macOS security settings for total control.
Raycast
The launcher that quietly kills Magnet
brew install --cask raycastRaycast is primarily an application launcher designed to replace Spotlight. It also includes a remarkably capable window management engine built directly into the core app. I stopped using dedicated window managers on my MacBook Air because Raycast handles the job perfectly.
You trigger Raycast, type 'Left Half', and hit Enter. The active window snaps. You can assign global hotkeys to these commands in the Raycast settings. It supports halves, quarters, maximizing, and moving windows between displays. Raycast feels incredibly fast. It is written in Swift and optimized for Apple Silicon. I mapped Option-Left Arrow to snap windows to the left. It responds instantly. You do not get drag-to-snap zones with Raycast. You have to use the keyboard. For users trying to minimize the number of background apps running on their Mac, Raycast is the logical choice.
Key Features:
- Command-palette window management
- Custom global hotkeys
- Multi-monitor window moving
- Window maximization and centering
- Custom window sizing via extensions
- Zero additional background processes
- Exportable settings
- Completely free core application
Limitations:
- • No drag-to-edge mouse snapping
- • Lacks complex third-or-sixth screen divisions
- • Requires learning a new launcher ecosystem
- • Cannot create custom grid sizes natively
Best for: Minimalists who want to manage windows and launch apps with a single tool.
Hammerspoon
Build your own window manager with Lua
brew install --cask hammerspoonHammerspoon is a bridge between the macOS operating system and a Lua scripting engine. It is an empty sandbox. Out of the box, Hammerspoon does nothing. You have to write scripts to tell it how to behave. I spent a Saturday afternoon writing a script that snaps my windows into a grid.
The beauty of Hammerspoon is context awareness. I wrote a function that checks my current Wi-Fi network. If I am connected to my office network, hitting a hotkey moves Slack to my left monitor and Xcode to my right monitor. If I am on my home Wi-Fi, the same hotkey closes Slack and maximizes Safari. No other app on this list can do that. Hammerspoon requires basic programming knowledge. You will be reading API documentation. If you enjoy tinkering with your machine, Hammerspoon is the most capable automation tool on the Mac.
Key Features:
- Complete macOS API access via Lua
- Context-aware window layouts
- Custom keyboard shortcut definitions
- Multi-monitor geometry scripting
- Wi-Fi and battery state triggers
- Menu bar customization
- Vast community script library
- In-app Lua console for debugging
Limitations:
- • Zero out-of-the-box functionality
- • Requires writing or copying Lua code
- • Documentation can be dense
- • Easy to create endless loops if you write bad scripts
Best for: Programmers who want to script complex, context-aware window behaviors.
Loop
The trackpad user's dream app
brew install --cask loopLoop takes a completely different approach to window management. It uses a radial menu. You hold down a trigger key, usually the Caps Lock or Function key. A sleek circular menu appears on your screen. You flick your mouse or trackpad in the direction you want the window to snap, and you release the key. The window flies into place.
I tested Loop on a 14-inch MacBook Pro while sitting on a couch. It is the most fluid way to manage windows without a full keyboard setup. The animations are gorgeous. The developer clearly cares about macOS design guidelines. The settings menu lets you customize the blur radius of the radial menu and the exact speed of the window animations. Loop is relatively new to the open-source scene. It feels incredibly polished for a free application. It requires macOS 13 Ventura or newer.
Key Features:
- Directional radial menu snapping
- Customizable trigger keys
- Adjustable animation speeds
- Trackpad and mouse optimized
- Custom color and blur styling
- Multi-monitor support
- Native Swift UI
- Halves, quarters, and thirds support
Limitations:
- • Requires macOS 13 or newer
- • Radial menu can feel slower than direct hotkeys for power users
- • Flicking gestures require some physical precision
- • Relatively new project with occasional minor bugs
Best for: MacBook users who prefer using the trackpad over memorizing keyboard shortcuts.
AeroSpace
The i3 window manager clone for macOS
brew install --cask nikitabobko/tap/aerospaceAeroSpace is the newest app on this list. It is an ambitious project written entirely in Swift. It attempts to bring the exact behavior of the popular Linux i3 window manager to the Mac. AeroSpace does something radical. It completely ignores Apple's native Mission Control and Spaces system. It uses its own virtual workspace implementation.
This means workspace switching is truly instant. There is no sliding animation. I set up AeroSpace with ten virtual workspaces. I mapped them to Option 1 through Option 0. Hitting Option-4 instantly snaps my view to my terminal workspace. It uses a tree-based tiling approach. You can stack windows like a deck of cards or tile them side-by-side. I found AeroSpace to be much more stable than Yabai because it does not require disabling System Integrity Protection. It plays by Apple's rules while completely subverting the macOS desktop experience.
Key Features:
- Tree-based window tiling
- Virtual workspaces independent of macOS Spaces
- Instant workspace switching
- i3-compatible conceptual model
- Plain text configuration file
- CLI tool for scripting
- Native Swift performance
- No SIP modification required
Limitations:
- • Completely breaks native macOS Mission Control behaviors
- • Beta software with frequent breaking changes
- • Configuration relies entirely on text files
- • Some native macOS full-screen apps behave unpredictably
Best for: Linux transplants who miss i3wm and hate macOS sliding animations.
Tiles
The quiet, invisible Magnet alternative
brew install --cask tilesTiles is a freeware application developed by Sempliva. It is not open-source, but it is completely free to use. Tiles focuses entirely on the drag-to-snap experience. You grab a window title bar, drag it to the top edge of your monitor, and the window maximizes. Drag it to a corner, and it takes up exactly one quarter of the screen.
The app places a tiny icon in your menu bar and stays out of your way. I tested Tiles on an older Intel Mac mini. It uses almost zero CPU cycles in the background. It feels slightly less customizable than Rectangle. You cannot tweak the exact pixel width of the snap areas. Tiles simply works. It is the app I install for my parents when they complain about messy windows on their iMac. It has not received a major update in over a year, but it continues to function perfectly on macOS Sonoma.
Key Features:
- Drag-to-edge window snapping
- Keyboard shortcut support
- Multi-monitor dragging
- Animated snapping previews
- Low system resource footprint
- Simple visual settings menu
- Launch at login support
- Ignores specific applications
Limitations:
- • Not open-source software
- • Development seems to have stalled
- • Lacks advanced third-screen layout options
- • Cannot customize the size of the drag zones
Best for: Casual users who just want to drag windows to screen edges without configuring anything.
Which Alternative is Right for You?
Snapping multiple browser windows on a 49-inch ultrawide monitor.
→ Use Rectangle. It supports breaking your screen into thirds and sixths, which is essential for ultrawide displays where half-screen windows are too wide.
Writing code in VS Code with a terminal constantly visible.
→ Use Amethyst. It automatically tiles your editor and terminal side-by-side. If you open a browser to read documentation, Amethyst instantly resizes everything to fit.
Managing windows while sitting on the couch using only the MacBook trackpad.
→ Use Loop. The radial menu lets you flick windows into corners using just your thumb. You never have to reach for complex keyboard combos.
Keeping background processes to an absolute minimum on an older Mac.
→ Use Raycast. If you are already using it to launch apps, configuring its built-in window management means you have one less icon sitting in your menu bar.
Automatically moving Slack and Mail to a secondary monitor when you arrive at the office.
→ Use Hammerspoon. You can write a short Lua script that detects your office display connecting and instantly moves specific applications to their designated screens.
Day trading with eight different chart windows open simultaneously.
→ Use AeroSpace. You can set up a rigid, grid-based virtual workspace that ignores macOS Spaces, ensuring your charts never accidentally slide off screen.
Setting up a Mac for an elderly parent who struggles with resizing windows.
→ Use Tiles. It runs invisibly in the background. You just tell them to drag the Safari window to the top of the screen to make it big.
Navigating a complex multi-monitor setup without ever touching the mouse.
→ Use Yabai paired with skhd. You can assign dedicated keys to instantly throw the currently focused window to exactly the monitor and quadrant you want.
Migration Tips
Turn off Magnet's launch setting first
Do not just delete Magnet. Uncheck 'Launch at login' in its preferences before uninstalling. Otherwise, macOS occasionally looks for the deleted binary on startup and throws a background error.
Check the Spectacle import option
If you are installing Rectangle, the first launch screen asks if you want default shortcuts or Spectacle shortcuts. Magnet users should pick the default Rectangle shortcuts, which mirror Magnet almost exactly.
Clean up your Accessibility permissions
After uninstalling Magnet, go to System Settings > Privacy & Security > Accessibility. Highlight Magnet and click the minus button. Having dead apps in this list can cause weird permission conflicts later.
Learn the Restore shortcut
Window snapping is great until you make a mistake. In Rectangle, memorize Control-Option-Backspace. It restores the window to the exact size and position it had before you snapped it.
Disable macOS native snapping during testing
If you are testing these apps on the macOS Sequoia beta, turn off Apple's native window tiling in System Settings. Running two snapping engines simultaneously causes windows to stutter heavily when dragged to the edge.
Use version control for complex configs
If you decide to use Yabai, AeroSpace, or Hammerspoon, save your configuration files to a Git repository. It takes hours to perfect a tiling layout. You do not want to lose that work if your SSD fails.
Turn off window shadows in Yabai
If you use a tiling manager, the macOS drop shadows overlap onto adjacent windows and look terrible. Use Yabai's command to disable shadows. You instantly reclaim clean borders between your apps.
Quick comparison
| App | Price | Open Source | Best For | Install Command |
|---|---|---|---|---|
| Rectangle | Free | Yes | Direct Magnet replacement | brew install --cask rectangle |
| Amethyst | Free | Yes | Automatic tiling | brew install --cask amethyst |
| Yabai | Free | Yes | Ultimate customization | brew install koekeishiya/formulae/yabai |
| Raycast | Free | No | All-in-one launcher | brew install --cask raycast |
| Hammerspoon | Free | Yes | Lua scripting | brew install --cask hammerspoon |
| Loop | Free | Yes | Trackpad users | brew install --cask loop |
| AeroSpace | Free | Yes | i3 window manager fans | brew install --cask nikitabobko/tap/aerospace |
| Tiles | Free | No | Simple drag-to-snap | brew install --cask tiles |
The verdict
Rectangle
Rectangle is the definitive answer to Mac window management. It does exactly what Magnet does for zero dollars. The memory footprint is tiny. The keyboard shortcuts are intuitive. The developer actively updates the software to support new macOS features like Stage Manager. I have installed Rectangle on every Mac I have owned for the last five years. It has never crashed on me. It is the perfect piece of utility software.
Full reviewRaycast
If you already use Raycast to search for files or calculate math equations, you should just use its window management features. It completely eliminates the need for a standalone snapping app. The Swift-based performance is incredibly fast.
Amethyst
If you want true automatic tiling without paying for a premium tool, Amethyst is the best choice. It delivers a hardcore, keyboard-driven experience without requiring you to disable vital macOS security features.
Bottom line
Testing these applications reminded me how vibrant the Mac open-source community remains. Developers identified a missing feature in macOS and spent a decade building incredibly diverse solutions. Apple is finally bringing native snapping to macOS Sequoia. That native implementation will probably be good enough for casual users. Power users will still need tools like Rectangle for complex shortcuts, or AeroSpace for complete desktop overhauls. Stop paying for Magnet. The free tools are objectively better.
Frequently Asked Questions
Related Technologies & Concepts
Sources & References
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Compare These Apps
Explore More on Bundl
Browse System Utilities apps or discover curated bundles.
About the Author
Productivity & Workflow Analyst
Jordan Kim focuses on productivity software, system utilities, and workflow optimization tools. With a background in operations management and process improvement, Jordan evaluates how well applications integrate into daily workflows and enhance overall productivity.