Hammerspoon vs SwiftBar (2026): which should you pick?
As of Nov 18, 2026, Hammerspoon grades higher than SwiftBar: 2.2 against 2.0 out of 4.0.
Checked Oct 6, 2026 and Oct 9, 2026 · graded Nov 18, 2026 by ToolGPA
Hammerspoon grades higher on value for money. They get the same grade on the free plan, features, ease of use and platforms.
Price, platforms and features side by side. The table says where each price was read and when.
Which one is for you
Pick Hammerspoon if
- Fits if you're comfortable writing Lua and want your Mac to behave your way
- Works for people who want several apps' windows put into a saved layout from one shortcut
Look elsewhere if
- Skip it if you don't want to write code, because nothing works until you've scripted it
- Not for you if you're on Windows or Linux, as it's macOS only
- Not for you if you'd rather nothing was collected by default, as crash information is until you turn it off
- Tight if your Mac is older, since release 1.1.1 needs macOS 13.0 and earlier systems need an earlier release
- Watch out: it depends on the Accessibility permission, which you grant by hand in the privacy settings
Pick SwiftBar if
- Fits if you're comfortable writing a short shell or Python script
- Works for people with BitBar or xbar plugins they want to keep running
Look elsewhere if
- Skip it if you don't write scripts, because it shows nothing by itself
- Not for you if you want every setting in a window, since several are set with Terminal commands
- Tight if your plugin folder holds other files, as every file in it is imported and made executable unless you exclude it
- Skip it if you're on Windows or Linux, or a Mac older than macOS Monterey (12)
How we grade them
| 2.2GPAHammerspoonFair | 2.0GPASwiftBarFair | |
|---|---|---|
| Value for money | AFree and open source under the MIT licence, a plain download, with every extension included. The developers don't even take donations, and suggest you give to a charity instead. | BWas A. Down to B because of one problem people report: fixes take months, sometimes over a year, to reach a release. |
| Free plan and trial | AThe whole app is free, as a direct download or a Homebrew cask. There's no paid version to compare it with. | AThe complete app is free, with every plugin type and the bundled plugin repository. No licence key, no account, no cap. |
| Features | CWas B. Down to C because of one problem people report: moving a window to another Space has not worked since macOS 15. | CScript output in the menu bar is the one thing it does, and it does that completely: scripts in any language, refresh from milliseconds to days or on cron, colours, SF Symbols and click actions per line, plugins that stay running. By itself it shows nothing at all until you add one. |
| Ease of use | FWas D. Down to F because of three problems people report: one slow or stuck app can freeze every hotkey for seconds or minutes; version 1.1.1 crashes outright, several times a day for some on macOS 27; nothing works until you write it yourself in Lua. | FWas D. Down to F because of two problems people report: the current release crashes and breaks menus on macOS 26 and 27; scripts that work in Terminal can fail in the menu bar. |
| Platforms and integrations | DMac only, one operating system, and release 1.1.1 needs macOS 13.0 or later. It can talk to AppleScript, Spotify, Messages, Stream Deck and Asana, and other apps can trigger it through hammerspoon:// URLs. | DMac only, on macOS Monterey (12) and later. It can take its menu content from an Apple Shortcut and runs xbar plugins. Nothing for Windows or Linux. |
| Best for | scripting your Mac in Lua | putting your own scripts in the Mac menu bar |
The GPA is the average of the five grades: an A is 4 points, an F is none. The full reasons are on each tool's page: Hammerspoon and SwiftBar. How we grade
Price against what you get
Hammerspoon has no paid plan and scores 1.0 out of 4 on features, ease of use and platforms. SwiftBar has no paid plan and scores 1.0.
On this chart the two sit in the same place: the same score for the same starting price. Of the other desktop utilities on the chart, none scores higher than Hammerspoon for less, and none scores higher than SwiftBar for less.
Features, ease of use and platforms, averaged
What paid plans start at, a month (each step along is roughly double) →
- The best score at each price
- Has a free plan
- No free plan
Where they differ
- Hammerspoon also covers workflow automation and window management.
- SwiftBar also covers menu bar app.
At a glance
| Hammerspoon | SwiftBar | |
|---|---|---|
| Pricing | Free | Free |
| Starts at | Free | Free |
| Free plan | The whole app is free and open source under the MIT license. The developers do not take donations and suggest giving to a charity instead. | The whole app is open source under the MIT license, downloaded from GitHub Releases or installed with Homebrew. No paid edition is listed; the repository carries a sponsor link. |
| Free trial | None listed | None listed |
| macOS | ||
| Made by | Hammerspoon contributors | Ameba Labs |
| Price read from | github.com | github.com |
| Checked | Oct 6, 2026 | Oct 9, 2026 |
The worst thing about each
The worst thing about Hammerspoon
Updates have nearly stopped, and the next macOS can break your setup
Everything you build in Hammerspoon is your own Lua code, and it depends on a few volunteers keeping up with Apple. Nothing has been released since 26 Feb 2026, and macOS 27 users already report crashes and broken window lists with no reply. If an update breaks your setup you wait, or build a patched copy yourself. The lead maintainer's next version uses JavaScript, so moving to it means rewriting your scripts.
All 5 problems people reportThe worst thing about SwiftBar
The newest stable release crashes and breaks menus, and the fixes are not out
Anyone installing SwiftBar today from GitHub or Homebrew gets 2.1.1 of 11 August 2026. Users report it crashing about once a day with streaming plugins, submenus that stop opening, and false alerts after sleep on macOS 26 and 27. Fixes have sat in test builds or unreleased code for up to three months, so users lose their menu bar items and spend time on workarounds or going back to an older version.
All 3 problems people reportWorth knowing
Hammerspoon
- macOS only. Release 1.1.1 lists a minimum of macOS 13.0; older Macs need an earlier release.
- Out of the box it does nothing: every behavior has to be written in Lua in ~/.hammerspoon/init.lua or added as a Spoon.
- It depends on the macOS Accessibility permission, which the user has to grant by hand in the system's privacy settings.
- Crash information is collected by default; the FAQ says this can be turned off in the preferences.
SwiftBar
- macOS only; it runs on macOS Monterey (12) and later.
- It shows nothing by itself: every menu bar item needs a plugin script, taken from the plugin repository or written by the user.
- Every file in the plugin folder is imported as a plugin and made executable unless a .swiftbarignore file excludes it.
- Several preferences, such as hiding SwiftBar's own item, are not in the settings window and are set with Terminal commands.
Key features
Hammerspoon
- Lua bridge to macOS
- Extensions expose macOS APIs for applications, windows, screens, audio devices, batteries, clipboards, Wi-Fi, location and low-level keyboard and mouse events to Lua code.
- Hotkeys
- A keyboard shortcut can be bound to any Lua function, from showing a notification to running a series of window operations or an AppleScript.
- Window movement and layouts
- Scripts can move and resize the focused window, arrange several apps' windows into a saved layout across screens, and use window filters to act on groups of windows.
- Event watchers
- A configuration can react to application events, Wi-Fi network changes and USB devices, for example muting the volume when the Mac leaves the home network.
- Spoons
- Spoons are pre-made plugins, installed by double-clicking a .spoon file and loaded from the config. The official list includes an app launcher and a window switcher.
- Menu bar items and URL triggers
- Scripts can create menu bar items, draw on the screen and send iMessage or SMS messages, and other apps can trigger them through hammerspoon:// URLs.
SwiftBar
- Plugins are plain scripts
- Any executable script in the language of your choice becomes a menu bar item: the lines it prints before the first separator form the title, and the rest fill the drop-down menu.
- Refresh intervals and cron schedules
- A refresh interval goes in the file name, as in date.1m.sh, from milliseconds up to days. A metadata tag accepts cron syntax for one or several schedules instead.
- BitBar and xbar compatibility
- The plugin format is adopted from BitBar and xbar, so existing plugins for those run unchanged, and a Get Plugins menu item opens a bundled plugin repository.
- Formatting and click actions
- Per-line parameters set colors, fonts, SF Symbols, images, badges and tooltips, and make an item open a URL, run a script, show a web view or respond to a hotkey.
- Shortcuts and streaming plugins
- Beyond standard scripts, an Apple Shortcut can supply the menu content, ephemeral plugins create temporary items on demand, and streamable plugins stay running to push updates.
- URL scheme
- swiftbar:// links refresh, enable, disable or add plugins, post notifications and create temporary menu bar items, so other apps and scripts can drive it.
Plans
Hammerspoon
Hammerspoon$0
The complete app with every extension, as a direct download or a Homebrew cask. Open source under the MIT license.
SwiftBar
SwiftBar$0
The complete app with every plugin type and the bundled plugin repository. MIT licensed, with no license key or account.
Common questions
Which is cheaper, Hammerspoon or SwiftBar?
As of Oct 9, 2026, both Hammerspoon and SwiftBar are free to use.
Which has a free plan, Hammerspoon or SwiftBar?
As of Oct 9, 2026, both Hammerspoon and SwiftBar have a free plan.
More comparisons
How this page was made
- The verdict at the top follows a fixed rule. When both tools are in the same category and either is in our top three for it, the verdict follows that ranking: the higher-placed tool is our pick. The top three weigh who each tool suits as well as its grades, so a pick can go against the GPA. Otherwise the page does not pick one and says which grades higher: the higher GPA first; on a tie, the one with a free plan, then the one that starts cheaper in dollars a month, counted the same way for both; if they are still level, what the choice depends on.
- The grades are our own, from each tool’s review or report card. The GPA is their average.
- Prices, plans and platforms come from each tool’s listing. The table above says where each price was read and when.
- The differences and the answers to the questions are worked out from those listings.
For corrections, adding your listing and everything else, contact aditi@toolgpa.com or LinkedIn.