

AutoHotkey is not available for Mac but there are plenty of alternatives that runs on macOS with similar functionality. The best open source Mac alternative is espanso. If that doesn't suit you, our users have ranked more than 100 alternatives to AutoHotkey and 12 are open source and available for Mac so hopefully you can find a suitable replacement. Other interesting open source Mac alternatives to AutoHotkey are BetterTouchTool, Karabiner Elements, Hammerspoon and Repeat.


Customizes input devices on macOS by enabling gesture and button mapping, keyboard shortcut assignment, window snapping, automation, scripting, multi-device integration, and iOS app control. Features include touch bar, Apple Remote, and per-app profiles.




Karabiner, previously called KeyRemap4MacBook, is a very powerful keyboard remapper for Mac OS X. In addition to simple key remapping, it has special remapping modes like Emacs-mode, SandS-mode (Space and Shift).

This is a tool for powerful automation of OS X. At its core, Hammerspoon is just a bridge between the operating system and a Lua scripting engine.

Repeat is a full-fledged, Java mouse/keyboard record/replay and automation hotkeys/macros creation using modern programming languages, and more advanced automation features. Working across three major OSes: Windows, OSX, and Linux.



Tool to automate GUI interactions and auto-tests. Contains a GUI-tool to compose interaction scripts. Can be executed both as a GUI and as a command line tool.



“Cliclick” is short for “Command-Line Interface Click”. It is a a tiny shell/Terminal application that will emulate mouse clicks or series of mouse clicks (including doubleclicks and control clicks) at arbitrary screen coordinates.
Simple shortcut manager for macOS 10.8 or higher. It lets you execute any command that works in your terminal by pressing a combination of keyboard keys. No rocket science involved!.

