AHK

ahk icon

AutoHotkey script

File type: Source code and script file

An ahk file extension identifies a plain-text AutoHotkey script. The file contains commands that AutoHotkey interprets to automate tasks in Microsoft Windows.

What is ahk file?

File type category:
Source code and script file

Date updated: November 2, 2026

AutoHotkey is an open-source scripting and macro utility for Microsoft Windows. An ahk file stores the script's source text, which can define keyboard shortcuts, hotstrings, mouse actions, and other automation commands.

AutoHotkey reads and runs the script, while the source remains editable as text. PhraseExpress for Microsoft Windows can also work with AutoHotkey scripts.

How to open ahk file?

On Microsoft Windows, install AutoHotkey and open the ahk file with it to run the script. A text editor can open the file for viewing or editing without running it.

PhraseExpress can also work with ahk files on Microsoft Windows.

How to convert ahk file?

An ahk file is a script source file, so it has no general-purpose conversion to another format. To use the automation in different scripting software, the commands normally must be recreated in that software's syntax.

AutoHotkey can compile an ahk file into a Windows executable for distribution. This creates an executable file rather than converting the script into another editable script format.

Suggested software to open ahk file:

Associated software actions with the ahk file

Software applications that can open ahk files:

Microsoft Windows

Software applications that can edit ahk files:

Microsoft Windows

Software capable of saving ahk files:

Microsoft Windows

Software apps that create ahk files:

Microsoft Windows

Software apps that import ahk files:

Microsoft Windows

Related file extensions