A minimal macOS utility that lets you lock your keyboard while cleaning it.
Built with SwiftUI for macOS Tahoe (26+).
- One click to lock and unlock your keyboard
- Blocks all key input including media keys and function keys
- Minimal Liquid Glass UI
- macOS 26 (Tahoe) or later
- Download the latest zip from Releases
- Unzip and drag CleanKeys.app to your Applications folder
- Right-click → Open the first time to bypass Gatekeeper (since the app is not notarized)
CleanKeys requires Accessibility access to intercept keyboard events. On first launch you'll be prompted automatically, but if nothing happens:
- Open System Settings → Privacy & Security → Accessibility
- Find CleanKeys in the list and toggle it on
- Quit and relaunch the app — macOS requires a restart for the permission to take effect
Without this permission the lock button will appear to do nothing.
- Clone the repo
- Open
CleanKeys.xcodeprojin Xcode - Select your team under Signing & Capabilities or set it to None for local builds
- Hit Run