About Karabiner-Elements
Karabiner-Elements is a keyboard customizer for macOS, released under the Unlicense. Simple key mappings can be set up in a graphical interface, and more complex changes use rules that you write yourself or import.
Predefined community rules include a diamond cursor, Emacs key bindings anywhere, Vi key bindings, protection against unintended command-q and mouse keys. The documentation also covers choosing devices, profiles, an EventViewer for checking results and a command line interface.
Both Intel-based and Apple Silicon Macs are supported. The download page lists separate versions for each macOS release, with the newest version covering macOS 13 through 27 and older versions for earlier systems.
Key features
- Simple key mappings from a GUI
- Predefined rules such as Emacs and Vi key bindings
- Write your own rules
- Device selection and built-in keyboard disabling
- Profiles with export and import of configuration
- Command line interface and config file location
Good fit for
- Remapping keys on a Mac
- Emacs or Vi bindings in any app
- Handling external keyboards
Karabiner-Elements: questions and answers
- What is Karabiner-Elements used for?
- Karabiner-Elements is a keyboard customizer for macOS with a GUI for simple key mappings and support for custom and predefined rules. It is a good fit for remapping keys on a Mac, Emacs or Vi bindings in any app and handling external keyboards.
- Is Karabiner-Elements open source?
- Yes. Karabiner-Elements is open source under the Unlicense. Its source code is on GitHub at pqrs-org/Karabiner-Elements and is written mainly in C++.
- Is Karabiner-Elements free?
- Yes. Karabiner-Elements is open source, so the software itself is free to use.
- Can I self-host Karabiner-Elements?
- Yes. Karabiner-Elements can be self-hosted on your own server or infrastructure.
- What is Karabiner-Elements an alternative to?
- Karabiner-Elements is an open-source alternative to Keyboard Maestro and BetterTouchTool. Other open-source alternatives to Keyboard Maestro include Hammerspoon and AutoHotkey.
- Is Karabiner-Elements actively maintained?
- Yes. The most recent commit to Karabiner-Elements was on 21 November 2026, and the latest release is v16.3.0, published on 6 September 2026. The project has 23k stars on GitHub, with 160 added in the last 30 days.
Open-source alternatives to Karabiner-Elements
See all
Hammerspoon
Workflow Automation
Staggeringly powerful macOS desktop automation with Lua
MITvs Keyboard Maestro★ 16k
Rectangle
Productivity
Move and resize windows on macOS with keyboard shortcuts and snap areas
OSSvs BetterTouchTool★ 30k
Amethyst
Utilities & System Tools
Automatic tiling window manager for macOS à la xmonad.
MITvs BetterTouchTool★ 16k
Hyperswitch
Finance & Accounting
Open source, composable payments platform | PCI compliant | SaaS and Self-host options | E
Apache-2.0vs Stripe★ 46k
AutoHotkey
Workflow Automation
AutoHotkey - macro-creation and automation-oriented scripting utility for Windows.
GPL-2.0vs Keyboard Maestro★ 14k
Phoenix
Open source
Peace of mind from prototype to production
MITvs Pusher★ 23k

Keyboard Maestro
BetterTouchTool