ToolsEspanso & AHK Converter
Instant Snippet Converter

Espanso & AutoHotkey Config Converter

Seamlessly convert your Espanso base.yml matches or AutoHotkey .ahk hotstring scripts into FlitKey JSON snippet packs.

Source Config Input
Click to upload or drag & drop file
Supports .yml, .yaml, .ahk files
FlitKey JSON Output
0 snippets converted
// Converted JSON will appear here...

Conversion Methodology & Parser Rules

This client-side conversion engine parses raw YAML and AutoHotkey syntax trees entirely inside your browser's JavaScript sandbox. No configuration strings or sensitive snippets are transmitted over the network.

Syntax Translation Matrix

Source FormatSyntax PatternFlitKey Output StructureFidelity
Espanso YAML- trigger: ":sig"
  replace: "Kind regards"
{"label": "Espanso: :sig", "trigger": ":sig", "expansion": "Kind regards"}100% Exact
Espanso Triggers Array- triggers: [":gh", ":github"]
  replace: "https://..."
Splits into 2 separate snippet objects sharing the same expansion body.100% Exact
Espanso Date Varsvars: [{name: "d", type: "date"}]Converts {{d}} variable tags into dynamic placeholder {{date}}.Translated
AutoHotkey Hotstring::btw::by the way{"label": "AHK: btw", "trigger": "btw", "expansion": "by the way"}100% Exact
AutoHotkey Asterisk:*:;shrug::¯\_(ツ)_/¯{"label": "AHK: ;shrug", "trigger": ";shrug", "expansion": "¯\\_(ツ)_/¯"}100% Exact
AutoHotkey Continuation::;addr::(`nLine 1`nLine 2`n)Preserves embedded linebreaks (\n) and multi-line indent structure.100% Exact
Complex Scripts / WinAPIRun, notepad.exe / type: shellSkipped safely. Complex executables are omitted for desktop security.Skipped

Step-by-Step Desktop Import in FlitKey v0.6.0

  1. Click Download Converted JSON above to save your flitkey_snippets.json file locally.
  2. Launch the FlitKey desktop application on Windows or Linux.
  3. Click the dedicated Import button in the top window toolbar.
  4. Select JSON Snippet File (.json) from the format options and choose your downloaded file.
  5. FlitKey immediately adds the snippets to your local database (config.json).
Direct In-App Importers Available: You can also import .yml and .ahk files directly inside FlitKey desktop without using this web tool. Read our comprehensive Espanso Migration Guide or download our Espanso Test Fixture (.YML).