AutoHotkey — Free Automation Scripting Tool

By AutoHotkey Foundation · Utilities
  • Open source
  • Free
  • Utilities
Download AutoHotkey Direct download from www.autohotkey.com Official download page Link checked October 19, 2026

Our verdict: AutoHotkey is the classic way to bend Windows to your keyboard habits. A two-line script can remap a key or expand an abbreviation, and larger scripts can automate whole workflows. You have to write the scripts yourself, so expect to spend some time with the documentation.

About AutoHotkey

AutoHotkey is a free, open-source scripting language for Windows licensed under the GNU GPL v2. Scripts are plain text files with the .ahk extension; you double-click one to run it, and it sits in the system tray until you exit it.

Version 2 is the current main version and the default download. It uses a cleaner syntax than v1.1, so many older scripts found online need changes or the separate v1.1 interpreter. The installer includes a dashboard for creating new scripts, opening the help file and compiling scripts.

What it does well

  • Hotkeys. Bind any key or mouse button combination to a command, a program or a block of code.
  • Hotstrings. Type an abbreviation such as "btw" and have it replaced with full text automatically.
  • Key remapping. Swap or disable keys, for example turn Caps Lock into Ctrl, with a one-line script.
  • GUI windows. Build small dialogs and tools with buttons, lists and input fields.
  • Ahk2Exe compiler. Turn a script into a standalone .exe that runs on PCs without AutoHotkey installed.

Who it is for

Good fit

Power users and IT staff who repeat the same keystrokes, text snippets or window actions every day.

Look elsewhere

People who want ready-made automation without writing any code, or users on macOS and Linux.

Pros and cons

Pros

  • Free and open source
  • Tiny scripts handle common tasks
  • Scripts can be compiled to .exe
  • Detailed offline documentation

Cons

  • Requires writing code; there is no visual macro recorder in the main app
  • Many online examples are for v1.1 and do not run on v2
  • Antivirus tools sometimes flag scripts and compiled files as suspicious

How to install AutoHotkey

Download the v2 installer from autohotkey.com and run it; it installs per user or for all users. Create a new script from the AutoHotkey Dash or by right-clicking in Explorer, edit it in any text editor and double-click to run it. If you need old v1.1 scripts, the launcher can install the v1.1 interpreter alongside v2.

Questions about AutoHotkey

Is AutoHotkey free?

Yes. AutoHotkey is open source under the GNU GPL v2 and has no paid version.

Should I use AutoHotkey v1 or v2?

Use v2 for new scripts. It is the current main version; v1.1 is kept only for running older scripts.

Can I run an AutoHotkey script on a PC without AutoHotkey?

Yes. Compile it with Ahk2Exe, which is included, into a standalone .exe file.

Download AutoHotkey from autohotkey.com ExeDepot does not host this file. The download starts from the developer's server, www.autohotkey.com. Other versions are on the official download page.

Alternatives to AutoHotkey

  • SharpKeys Key Remapping Tool

    Remaps keyboard keys through the Windows registry, for example turning Caps Lock into Shift.

    RandyRants · Open source · github.com/randyrants
  • PhraseExpress Text Expander

    Text expander with autotext, phrase menus, clipboard history and macros; free for personal use.

    Bartels Media GmbH · Freeware · phraseexpress.com
  • Beeftext Text Expander

    Open-source text expander for Windows: type a short keyword and it is replaced by a saved snippet.

    Xavier Michelon · Open source · beeftext.org
  • OP Auto Clicker Auto Clicker

    Small portable auto clicker that clicks at the cursor or a fixed spot, with background hotkeys.

    OP Auto Clicker (orphamiel) · Freeware · opautoclicker.com

Similar to AutoHotkey All utilities apps

  • Espanso Text Expander

    Open-source text expander that replaces short keywords with snippets, dates or script output as you type.

    Federico Terzi and contributors · Open source · espanso.org
  • Ditto Clipboard Manager

    Clipboard manager that keeps a searchable history of text, images and HTML you copy.

    Scott Brogden and contributors · Open source · sabrogden.github.io
  • CopyQ Clipboard Manager

    Open-source clipboard manager that saves text and images in tabs, with search, notes, tags and scripting.

    Lukáš Holeček and contributors · Open source · hluk.github.io