Keepit

How to clear the clipboard on a Mac

There is no Clear Clipboard command in macOS, but the clipboard only ever holds one item, so replacing it is the same as clearing it. Here are the ways to do that, and how to wipe a clipboard history if you use a clipboard manager.

Replace the clipboard with nothing

Copy an empty selection. In any text field, select a single space (or nothing at all in some apps) and press ⌘C. The previous item is gone; pasting now gives you a space or nothing.

From Terminal. This empties the clipboard outright:

pbcopy < /dev/null

Put it in a Shortcuts action or an Automator Quick Action if you want it on a key.

Restart. The clipboard lives in memory and does not survive logging out or restarting.

Check what is on the clipboard

In Finder, Edit → Show Clipboard shows the current item, so you can confirm it is empty — or see what you are about to paste.

Clear a clipboard history

A clipboard manager keeps more than the last item, so clearing the system clipboard does not clear its history. In Keepit:

If the history is encrypted (Preferences → Security), locking Keepit with ⌥L wipes the key from memory, and the files on disk stay unreadable until you unlock. Deleting Keepit and all its data is one command in Preferences → Advanced.