Each keyboard.
Its own keyboard layout.

A free Mac menu bar app. Type on any keyboard and Keyameleon switches to that keyboard’s layout automatically.

Download for macOS

v0.10.0 macOS 26+

brew install --cask mastro993/tap/keyameleon

Keyameleon only checks which keyboard a key came from, and never logs what you type or sends telemetry.

HOW IT WORKS

Assign once. Switch automatically.

  1. 01

    Assign input sources

    Choose an input source for each keyboard you use. For example, English for your built-in keyboard and Italian for an external one.

  2. 02

    Press a key

    Keyameleon detects which keyboard the key press comes from and automatically switches to its assigned input source.

  3. 03

    Switch keyboards

    Start typing on another keyboard. Keyameleon switches to that keyboard’s assigned input source automatically.

SEE IT SWITCH

Change keyboards. The menu bar keeps up.

The setup in the clip:

Built-in keyboard
U.S.
Keychron
Japanese – Kana
AUTOMATIC

One source for each keyboard.

Assign an input source to each keyboard you use. When you press a key, Keyameleon identifies that keyboard and activates its assigned source.

  • Switches based on keyboard activity
  • No keystrokes are logged
Keyameleon Settings window with the Keyboards pane, where each keyboard has its own input source
Keyameleon menu bar menu listing three keyboards with their input sources: MacBook Keyboard on Italian, Office Keyboard on U.S. and active, Travel Keyboard on German and disconnected
PRIVACY

Switching without logging.

Keyameleon monitors keyboard activity to switch input sources. It does not log keystrokes or collect telemetry. The source code is open for inspection.

FAQ

Questions, answered.

Not on its own. macOS can switch input sources with a shortcut or remember one per window, but not per physical keyboard. Keyameleon adds that: assign an input source to each keyboard, and it switches when you start typing on one.

Yes. Keyameleon recognizes the MacBook’s built-in keyboard and external keyboards, and remembers each one across disconnects and restarts. You can rename a keyboard or hide a device that isn’t one, such as a mouse that reports itself as a keyboard.

Per-app switchers pick the input source from the app or website in front. Keyameleon follows the keyboard under your hands, so an Italian external keyboard and an English built-in keyboard each type in their own layout in every app.

Only with rules you write yourself: a complex modification can select an input source when a key comes from a given device, and Karabiner-Elements routes your typing through its own virtual keyboard driver. Keyameleon needs no rules and only observes input: pick an input source for each keyboard and type.

Any input source you have added in System Settings › Keyboard: layouts like Italian, German or Dvorak, and input methods like Japanese Kana or Pinyin. If an assigned source is removed later, Keyameleon keeps the assignment and doesn’t switch to a substitute.

Yes. The interface is in English, Arabic, French, Italian, Japanese, Korean, Simplified Chinese, Spanish and Traditional Chinese, and follows your Mac’s language, falling back to English. To use a different language just for Keyameleon, set it in System Settings › General › Language & Region. Whatever its language, the app works with any input source.

To tell which keyboard a key press comes from. Keyameleon observes keyboard activity through CoreHID, which cannot change or inject input. What you type is never saved, logged or sent anywhere.

Not always. Keyameleon switches after it sees the key press, so that key, and any typed before macOS finishes switching, can still use the previous input source.

macOS 26 or later. It lives in the menu bar with no Dock icon and can launch at login.

Install it with Homebrew (brew install --cask mastro993/tap/keyameleon), or download the DMG from the latest GitHub release and drag Keyameleon into Applications. Then open it. Guided setup asks for Input Monitoring, lets you pick an input source for each keyboard, then hands off to the menu bar. From then on, it switches as you type.

Yes. Keyameleon is free and open source under the MIT license. Download the latest release from GitHub, or read the code first.

DOWNLOAD

Ready when you are.

Download Keyameleon, assign an input source to each keyboard, and let it switch as you type.

Open source · Small binary · Small resource footprint