Tools → Espanso & 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 Format | Syntax Pattern | FlitKey Output Structure | Fidelity |
|---|---|---|---|
| Espanso YAML | - trigger: ":sig" | {"label": "Espanso: :sig", "trigger": ":sig", "expansion": "Kind regards"} | 100% Exact |
| Espanso Triggers Array | - triggers: [":gh", ":github"] | Splits into 2 separate snippet objects sharing the same expansion body. | 100% Exact |
| Espanso Date Vars | vars: [{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 / WinAPI | Run, notepad.exe / type: shell | Skipped safely. Complex executables are omitted for desktop security. | Skipped |
Step-by-Step Desktop Import in FlitKey v0.6.0
- Click Download Converted JSON above to save your
flitkey_snippets.jsonfile locally. - Launch the FlitKey desktop application on Windows or Linux.
- Click the dedicated Import button in the top window toolbar.
- Select JSON Snippet File (.json) from the format options and choose your downloaded file.
- 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).