AutoHotkey

Open source

Free, open-source scripting language for Windows used to write hotkeys, macros, form fillers and other desktop automation.

Open-source alternative to

GitHub stars
13k
Last 30 days
+186(+1%)
Last commit
yesterday
Repository age
17 years
Version
v2.0.31
Licence
GPL-2.0
Self-hosted
Yes

About AutoHotkey

AutoHotkey is a free, open-source scripting language for Windows. People use it to write scripts, from small to complex, for tasks such as form fillers, auto-clicking and macros. Its built-in commands are described as easy for beginners, and it is also a full scripting language for fast prototyping and small projects.

Key binds let you define hotkeys for the mouse and keyboard, remap keys or buttons and create autocorrect-like replacements in a few lines. The syntax supports imperative-procedural, object-oriented and command-based programming. Examples on the site cover hotstrings and hotkeys, clipboard handling, short GUIs and arrays.

The homepage says AutoHotkey v2 has been released and is the default version, with the website and forums being updated during a transition period. The code is licensed under GNU GPLv2 and hosted on GitHub, with related projects including Ahk2Exe and forks such as AutoHotkey_H, KeySharp and AutoHotkey-jk.

Key features

  • Hotkeys, key remapping and autocorrect-like replacements
  • Scripting language for forms, auto-clicking and macros
  • Imperative, object-oriented and command-based styles
  • Small, fast and runs without setup

Good fit for

  • Custom keyboard and mouse hotkeys
  • Text expansion with hotstrings
  • Form filling and auto-clicking macros
Built with
C++ tools
Tags
automation
scripting
windows
hotkeys
macros
open-source
gpl

AutoHotkey: questions and answers

What is AutoHotkey used for?
AutoHotkey is a free, open-source scripting language for Windows used to write hotkeys, macros, form fillers and other desktop automation. It is a good fit for custom keyboard and mouse hotkeys, text expansion with hotstrings, and form filling and auto-clicking macros.
Is AutoHotkey open source?
Yes. AutoHotkey is open source under the GPL-2.0 licence. Its source code is on GitHub at AutoHotkey/AutoHotkey and is written mainly in C++.
Is AutoHotkey free?
Yes. AutoHotkey is open source, so the software itself is free to use.
Can I self-host AutoHotkey?
Yes. AutoHotkey can be self-hosted on your own server or infrastructure.
What is AutoHotkey an alternative to?
AutoHotkey is an open-source alternative to Keyboard Maestro and DisplayFusion. Other open-source alternatives to Keyboard Maestro include AutoKey, Hammerspoon and Karabiner-Elements.
Is AutoHotkey actively maintained?
Yes. The most recent commit to AutoHotkey was on 12 November 2026, and the latest release is v2.0.31, published on 25 October 2026. The project has 13k stars on GitHub, with 186 added in the last 30 days.

Open-source alternatives to AutoHotkey

See all

SaaS alternatives to AutoHotkey

See all