Skip to content

AutoHotkey vs Hammerspoon (2026): which should you pick?

As of Nov 18, 2026, AutoHotkey and Hammerspoon share a 2.2 GPA, both are free, so the choice depends on which platforms you need.

Checked Oct 5, 2026 and Oct 6, 2026 · graded Nov 18, 2026 by ToolGPA

They get the same grade on all five counts.

Price, platforms and features side by side. The table says where each price was read and when.

AutoHotkey

Free, open-source scripting language for Windows automation

Free

Hammerspoon

Free, open-source macOS automation scripted in Lua

Free

Which one is for you

Pick AutoHotkey if

  • Fits if you're on Windows and want your own hotkeys and key remaps at no cost
  • Works for people who type the same phrases or fill in the same forms all day and can write short scripts

Look elsewhere if

  • Skip it if you're on a Mac or Linux, as it's Windows only
  • Not for you if you never want to see code, since everything is a plain-text script with its own syntax
  • Tight if you want it for games, because cheat-prevention tools like GameGuard or Hackshield are likely to block it
  • Watch out: antivirus programs sometimes raise false alarms, more often on compiled and compressed scripts

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

How we grade them

2.2GPAAutoHotkeyFair2.2GPAHammerspoonFair
Value for money
AIt costs nothing, and it's a plain download anyone can run. The whole program is free and open source under the GNU GPLv2, and the AutoHotkey Foundation says it was created to prevent the software being monetized. Donations are optional.
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.
Free plan and trial
AYou get the full scripting language, as an installer or a ZIP, with the English documentation included. There's no paid edition, so nothing is held back.
AThe whole app is free, as a direct download or a Homebrew cask. There's no paid version to compare it with.
Features
CWas B. Down to C because of two problems people report: running it alongside online games can get the game account banned; hotkeys stop working whenever a program running as admin is in front.
CWas B. Down to C because of one problem people report: moving a window to another Space has not worked since macOS 15.
Ease of use
FWas D. Down to F because of two problems people report: version 2 broke old scripts, and version 1 has had no fixes since March 2024; defender flagged the last two releases, and the files are still unsigned.
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.
Platforms and integrations
DWindows only, so a single operating system. The vendor describes it as a scripting language for Windows and lists no other platform. No integrations are listed either, though a script can run programs and open websites.
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.
Best forscripting your own hotkeys on Windowsscripting your Mac in Lua

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: AutoHotkey and Hammerspoon. How we grade

Price against what you get

AutoHotkey has no paid plan and scores 1.0 out of 4 on features, ease of use and platforms. Hammerspoon 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 AutoHotkey for less, and none scores higher than Hammerspoon for less.

Features, ease of use and platforms, averaged

F0.0D1.0C2.0B3.0A4.0Free$0.5$1$2$5$10$20$50$100More for lessCosts more, scores moreCosts less, scores lessCosts more, scores lessAutoHotkeyHammerspoon

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
The full chart of desktop utilities, and the best at every price

Where they differ

  • AutoHotkey also covers text expansion and keyboard and mouse remapping.
  • Hammerspoon also covers window management.
In commonFree planOpen sourceWorkflow automation

At a glance

AutoHotkeyHammerspoon
PricingFreeFree
Starts atFreeFree
Free planThe whole program is free and open source under the GNU GPLv2. The AutoHotkey Foundation says it was created to prevent monetization of the software.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.
Free trialNone listedNone listed
macOS
Windows
Made byAutoHotkey Foundation LLCHammerspoon contributors
Price read fromautohotkey.comgithub.com
CheckedOct 5, 2026Oct 6, 2026

The worst thing about each

The worst thing about AutoHotkey

Old v1 scripts do not run on v2, and v1 itself is no longer fixed

Anyone who built hotkeys on version 1 had to rewrite them once v2 became the main version in January 2023, or keep running v1.1, whose last update came on 16 March 2024 and which is no longer maintained. Users report hours of manual conversion, one blogger changed about a fifth of his code, and much of the help online and the code chatbots write still mixes up the two versions.

All 4 problems people report

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 report

Worth knowing

AutoHotkey

  • Windows only: the vendor describes it as a scripting language for Windows and lists no other platform.
  • Everything is defined in plain-text script files, so using it means learning AutoHotkey's scripting syntax.
  • Games with cheat-prevention measures such as GameGuard or Hackshield are likely to block AutoHotkey.
  • Antivirus programs sometimes raise false-positive alerts, more often for compiled and compressed scripts.

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.

Key features

AutoHotkey

Hotkeys
Bind keys, key combinations and mouse buttons to scripted actions. Hotkeys can be made window-specific so they work only in certain applications.
Hotstrings
Abbreviations that expand into longer text as you type, which also serve as autocorrect-style replacements.
Key and button remapping
Remap keyboard keys or mouse buttons to other keys, alongside the hotkeys defined in the same script.
Sending input and running programs
Scripts can send keystrokes to simulate typing, run programs and open websites, which covers jobs such as form filling, auto-clicking and macros.
Compile scripts to EXE
Ahk2Exe turns a script into a standalone executable that contains the interpreter, so it runs on a PC without AutoHotkey installed.
A full scripting language
Built-in commands suit beginners, while experienced developers get a language that supports procedural, object-oriented and command-based styles and can build GUIs.

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.

Plans

AutoHotkey

  • AutoHotkey$0

    The full scripting language as an installer or ZIP download, with English documentation included. Donations are optional.

Hammerspoon

  • Hammerspoon$0

    The complete app with every extension, as a direct download or a Homebrew cask. Open source under the MIT license.

Common questions

Which is cheaper, AutoHotkey or Hammerspoon?

As of Oct 6, 2026, both AutoHotkey and Hammerspoon are free to use.

Which has a free plan, AutoHotkey or Hammerspoon?

As of Oct 6, 2026, both AutoHotkey and Hammerspoon have a free plan.

Which platforms do AutoHotkey and Hammerspoon run on?

As of Oct 6, 2026, only AutoHotkey lists a Windows app and only Hammerspoon lists a macOS app. A platform missing from a listing is one its maker's pages did not mention.

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.
How we review and grade

For corrections, adding your listing and everything else, contact aditi@toolgpa.com or LinkedIn.