November 27, 2026

Is there a Karabiner-Elements alternative for Mac?

For most jobs, yes. Modifier Keys in System Settings swaps Caps Lock, Control, Option and Command, the hidutil command that comes with macOS turns Caps Lock into Escape or any other key, and Hotkeys gives a key a different job in each app with one line of text. Tap versus hold, a Hyper key and layers still need Karabiner-Elements.

Which job goes where

What you set up in Karabiner Without Karabiner
Caps Lock to Control, Command and Option swapped Modifier Keys in System Settings
Caps Lock to Escape, one key turned into another hidutil in Terminal
F5 or a mouse button that sends a shortcut Hotkeys, one line
A key with a different job in each app Hotkeys, one line per app
Tap versus hold, Hyper key, layers Nothing, keep Karabiner

The built in ways install nothing. Karabiner asks to allow a driver extension, background services, Accessibility and Input Monitoring, Hotkeys asks for Accessibility.

Modifier keys in System Settings

  1. Open the Apple menu, choose System Settings, click Keyboard in the sidebar.
  2. Click Keyboard Shortcuts, then Modifier Keys in the sidebar.
  3. Click the pop-up menu next to Caps Lock.
  4. Choose Control, or No Action to switch the key off.

Restore Defaults brings the original keys back. More swaps, also for a Windows keyboard, are in how to remap keys on Mac.

Caps Lock to Escape with hidutil

hidutil remaps any key, not only the modifiers. Paste this line into Terminal and press Return:

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}'

Caps Lock now sends Escape. The last two digits name the key in Apple's table: 39 is Caps Lock, 29 Escape, 6D F18. A restart or unplugging the last keyboard removes the mapping, so the line goes in again after each restart.

Keys with a job per app in Hotkeys

Many Karabiner complex modifications are a key that sends another shortcut, often in one app only. Karabiner takes about ten lines of JSON per rule, Hotkeys one line with the key, an if with the app and the action.

// F5 reloads the page in Chrome and Safari, other apps keep F5
f5 if currentApp("com.google.Chrome", "com.apple.Safari") sendKeys("command-r")
// Caps Lock, set to F18 with 6D in the hidutil line, jumps to the
// address bar in Chrome and opens Chrome from any other app
f18
    if currentAppChrome() sendKeys("command-l")
    else runApp("Google Chrome")
  1. Download Hotkeys, or run brew install --cask hotkeys-app/tap/hotkeys.
  2. Open it and switch it on under System Settings, Privacy & Security, Accessibility.
  3. Click its icon in the menu bar and choose Edit config.
  4. Paste the lines and save.
  5. Choose Reload in the same menu.

The App Store edition, Hotkeys Lite, cannot send keys.

Hotkeys for Mac

Every shortcut in one text file, a key per line. The first 50 hotkeys are free.

A key that opens an app is one line too, see how to open an app with a keyboard shortcut.

What Hotkeys does not do

It does not change what a key is. Caps Lock is not one of its keys until hidutil makes it F18, and then it is one more key, not a modifier. There is no tap versus hold, no Hyper key and no layers. A sent shortcut works where the app in front knows it. In a password field a letter pressed without Command or Control never fires, a keyboard driver like Karabiner's gets those. There is no window to click rules into, you edit the file and reload. It needs macOS 14 or later. Without a license the first 50 hotkeys load, with no time limit.

Plenty of people run both. Karabiner decides what a key is, Hotkeys what it does in the app in front.

Apple's pages on this: change the behavior of the modifier keys, remapping keys in macOS.

Questions

Can I remap Caps Lock without Karabiner?

Yes. Modifier Keys makes it Control, Option, Command or No Action, hidutil makes it Escape or any other key until the next restart.

Is there a free Karabiner alternative for Mac?

Modifier Keys and hidutil are part of macOS. Hotkeys loads its first 50 hotkeys without a license, with every feature.

Can Hotkeys and Karabiner-Elements run at the same time?

Yes. Karabiner can make Caps Lock a Hyper key, Control Option Shift Command at once, and the line ^!*#t runApp("Terminal") gives Hyper T its job.

What can only Karabiner do?

Tap versus hold, for example Escape on a tap of Caps Lock and Control while it is held, plus layers. macOS and Hotkeys have no setting for those.

Hotkeys for Mac

Every shortcut in one text file, a key per line. The first 50 hotkeys are free.

More guides