.AHK File Extension

.AHK File Extension

File Type

AutoHotkey Script

Developer AutoHotkey
Popularity
4.3  |  128 Votes
Category Executable Files
Format Text

What is an AHK file?

An AHK file is a script created with AutoHotkey, a program used to automate tasks in Windows. It is saved as a plain text file and contains lines of code that can be executed by AutoHotkey (AutoHotkey.exe).

More Information
Screenshot of a .ahk file in Microsoft Notepad 1903
AHK file open in Microsoft Notepad 1903

AutoHotkey is an open-source tool that allows users to execute complex or repetitive tasks with the press of a button. For example, users can use AutoHotkey scripts to autocorrect documents' spelling, perform Google searches from their desktop, and quickly enter the same information in a number of repetitive forms.

The scripts AutoHotkey uses to automatically execute tasks are saved as AHK files. AHK files link tasks to hotkeys (or keyboard shortcuts). AHK files can also contain hotstrings, which automatically replace certain text strings when typing.

How do I open an AHK file?

Since AHK files are plain text files, you can open and edit them in any text editor, including:

However, editing an AHK file may cause the script it contains to not run correctly in AutoHotkey.

To use an AHK file as an AutoHotkey script, install AutoHotkey and double-click your AHK file. You will then be able to perform the functions the AHK file describes.

Open and view .AHK files with File Viewer Plus.Free Download

Programs that open AHK files

Windows
Updated April 15, 2021

Verified by FileInfo.com

The FileInfo.com team has independently researched the AutoHotkey Script file format and Windows and Android apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.