Skip to content
Edith

Keyboard Clean

Lock your Mac keyboard to clean it

Wipe crumbs and fingerprints off the keys without typing gibberish into a document or setting off shortcuts.

Mac Utilities
Get Edith for $35
ed extensions install keyboardClean

Keyboard Clean is an Edith extension that blocks every key press on your Mac behind a full-screen overlay so you can wipe the keyboard, then unlocks when you click Done cleaning or after 60 seconds.

Cleaning a MacBook keyboard while the Mac is on is surprisingly messy. Every pass of the cloth presses keys, which can type into a chat, fire shortcuts, change the volume or open apps. Shutting down avoids that, but it means closing everything and waiting through a restart just to remove a few smudges. Keyboard Clean switches the keys off for a minute instead.

Start it from the Clean keys toggle on Home, in the notch or in the sidebar, or with ed keyboard clean. A three second countdown gives you time to lift your hands, then an overlay covers every display and Edith swallows key presses, modifier keys and media keys included, until you are done. The trackpad and mouse keep working, so you click Done cleaning when the keys are spotless.

A safety timer unlocks the keyboard by itself after 60 seconds, so the overlay can never leave you stuck without a keyboard. Blocking keystrokes needs two macOS permissions, Input Monitoring and Accessibility. Edith asks for them the first time you start a clean, and its settings show whether both are granted.

Updated

Dimmed Mac desktop with a keyboard icon, a message saying the keyboard is locked so it can be wiped clean, a 56 second unlock countdown and a Done cleaning button, between Finder, Preview, Terminal and TextEdit windows

How to disable the keyboard while cleaning a Mac

  1. 1

    Clean keys

    Choose Clean keys on Home, in the notch or in the sidebar. Lift your hands during the 3 second countdown.

  2. 2

    Wipe while the keys are locked

    Key presses do nothing while the overlay is up, on every display.

  3. 3

    Allow two permissions once

    Input Monitoring and Accessibility let Edith block key presses. Settings shows both.

What it does

Lock the keyboard to clean it

Wipe your keys while every key press is ignored.

Does macOS do this already?

Can you disable a Mac keyboard for cleaning without an app?

Not directly. macOS has no keyboard lock for cleaning, and locking the screen does not help because the first key press wakes it and starts typing into the password field. Apple's cleaning guidance suggests turning the Mac off first. Keyboard Clean gives you a minute with every key ignored while your apps and windows stay exactly where they were.

Use cases

A quick wipe between meetings

Press Clean keys, run a microfiber cloth across the keyboard while the overlay is up, and get back to work without restarting or closing a single window.

Clean an external keyboard at the same time

The lock applies to key presses system-wide, so a Magic Keyboard or any other keyboard connected to the Mac is silenced together with the built-in one.

Wipe down a shared Mac

On a Mac at a front desk or in a classroom, clean the keys with a lightly damp lint-free cloth while the overlay is up, without logging anyone out, typing into a form or quitting an app by accident.

From the terminal and your coding agents

Every example returns JSON with --json, and agents can call the same thing over MCP.

Terminal
ed keyboard cleaned keyboard statused keyboard stop
CommandMCP tools
ed keyboardedith_keyboard_*

Connect Claude Code, Codex, Cursor or another client through the Edith MCP server.

Permissions and requirements

Permissions

  • Input Monitoring, so Edith can see key presses in order to block them
  • Accessibility, so Edith can stop those key presses reaching other apps

Requirements

  • macOS 14 or later on Apple silicon

Frequently asked questions

How do I unlock the keyboard again?

Click Done cleaning on the overlay with your trackpad or mouse. If you do nothing, the keys unlock by themselves after 60 seconds.

Does it lock the trackpad or mouse too?

No. Only key presses are blocked, so the pointer stays free for the Done cleaning button. Wipe the trackpad once the keys are unlocked.

Why does it need Input Monitoring and Accessibility?

macOS only lets an app intercept keystrokes with Input Monitoring, and keeping them from reaching other apps needs Accessibility. Without both, Clean keys asks you to grant them instead of starting.

Does the overlay appear on every display?

Yes. Each connected display shows the overlay while the keys are locked, so a second monitor does not reveal anything you could accidentally type into.

Can an agent start or stop keyboard cleaning?

Yes. Edith's MCP server has edith_keyboard_clean, edith_keyboard_status and edith_keyboard_stop, which match ed keyboard clean, status and stop. The same countdown and 60 second limit apply.

Does Keyboard Clean come with the one-time Edith purchase?

Yes. There is no separate charge for it; it is one of the small utilities included with Edith.

More in Mac Utilities

Keep AwakeStop your Mac and display from going to sleep while you work.Audio DevicesChoose where sound plays, and keep it there.⌃⌥⌘OMic MuteMute every microphone on your Mac with one shortcut.⇧⌘MPresenterBlur private details and draw on your screen while you present.⌥⇧⌘PMenu Bar StatsSee how busy your Mac is, right in the menu bar.HomebrewInstall, update and remove Homebrew packages without the terminal.Cursor PacksGive your Mac a new pointer in one click.Messaging DownloadsKeep WhatsApp, Telegram and Signal files from piling up in Downloads.Voice TypeHold a key, speak, and your words appear wherever you type.⌃⌥DText GrabCopy text you can see but cannot select.⌃⌥⌘THyper KeyTurn Caps Lock into a power key and remap keys without extra drivers.Finder PlusCut and paste files, rename in bulk and create new files right in Finder.⌃⌥⌘NQuick TogglesOne tap for the switches and actions macOS hides in menus and Terminal.DisplaysEvery display's brightness, sound and input in one place.Window SwitcherSwitch between windows, not just apps.⌥TABWhat's Using ThisFind out what keeps a disk from ejecting, then let it go.Default AppsChoose which app opens what, in one table.Window TilingSnap windows into halves, zones and saved workspaces from the keyboard or by dragging.⌃⌥LApp BehaviorMake each Mac app quit, close and handle its windows the way you expect.Notch PetA small animated friend beside the notch that reacts to your Mac.Menu Bar StylesColour, glass and island shapes behind the see-through menu bar.Cursor EffectsTrails, click ripples and a spotlight that follow your pointer.⌃⌥SSound PacksGive every key press, click and alert a sound of its own.CalendarYour next meetings at a glance, with one-click join.⌃⌥⌘JRunning AppsSee what is running, in apps and in the background, and stop what you do not need.CleanerUnderstand your storage. Choose what goes.App UpdatesKeep your apps current and remove them cleanly.Lid AwakeKeep your Mac running with the lid closed.Radial MenuA pie menu around the pointer for the things you do all day.⌃⌥SpaceNetworkSee what the network is doing, right now and over the day.Mouse TunerMake a third-party mouse feel right on a Mac.ScratchpadQuick notes that are always one shortcut away.⌥⌘NSystem HealthWatch how your Mac is doing and hear about it before it becomes a problem.Input SwitchEach app keeps its own keyboard language, like on Windows.⌃⌥⌘IPower TimerSleep, shut down or restart later, or when something finishes.Battery CareKeep the battery healthy while the Mac stays plugged in.ChimeRemember what comes next.KeytrailFind and run any menu command without leaving the keyboard.⌃⌥⌘GDesk LoomPut every window back where it belongs.SwitchyardLet familiar events start a useful sequence.WaylineSend files and text to nearby phones and computers running LocalSend.LonghandType a snippet keyword and get the full text, in any app.SpanwellMeasure an image and bring the dimensions into your next change.⌃⌥⌘UCrosswaySend each link to the right browser.