How to Clear Clipboard History on Mac

Need to erase sensitive copied text, clear a password, or empty your Mac's clipboard memory? Here is the terminal command to wipe the macOS pasteboard, and how to manage history privacy permanently.

Last verified against the shipped app on

Whether you just copied a sensitive password, a client financial statement, or an API access key, you often need to ensure that data is completely purged from your Mac’s memory.

Here is the exact terminal command to wipe the native macOS clipboard immediately, plus how to manage privacy if you use a clipboard manager.


The Instant Mac Terminal Command

To completely clear your active Mac clipboard without restarting your computer, run this native command in the Terminal app:

pbcopy < /dev/null

How it works:

  • pbcopy is Apple’s built-in command-line tool that interfaces directly with the macOS pasteboard.
  • < /dev/null redirects a null (empty) input stream into pbcopy.
  • As soon as you hit Return, your clipboard is emptied. If you press ⌘V, nothing will paste.

Alternatively, you can copy an empty space by running:

echo "" | pbcopy

How macOS Native Clipboard Works

Many users wonder if macOS secretly stores a history of everything copied.

  • The Reality: Standard macOS has no persistent clipboard history. It only retains the single last item you copied in volatile system memory (RAM).
  • Finder Clipboard Viewer: If you open Finder and go to Edit → Show Clipboard, you will only see the current active clip.
  • Once you reboot your Mac or run pbcopy < /dev/null, that single item is gone forever.

How to Clear History in a Clipboard Manager (ClipBuddy)

If you use a clipboard manager like ClipBuddy, your copies are saved into an on-device local database so you can find them later. When you need to protect sensitive information, ClipBuddy offers five robust privacy controls:

1. Delete Clips, or Clear by Type

Delete a single clip any time with ⌘⌫ in the picker (⌘Z brings it back for a moment). With Pro, Settings, Storage has a Clear button for each type of clip that permanently deletes every unpinned clip of that type; pinned clips are kept. You can also keep clips for a set number of days (1 to 3,650), cap how many clips or how much storage they use, and turn on Clear history when the screen locks (off by default).

2. Pause Capture on Demand

If you are about to do banking, review proprietary documents, or manage sensitive server keys, right-click the ClipBuddy menu bar icon and choose Pause Capture. You can pause recording for:

  • 15 or 30 minutes
  • 1, 3, or 8 hours
  • Until manually resumed

While paused, ClipBuddy completely stops listening to the macOS pasteboard.

3. Burn-After-Paste Clips (Pro)

ClipBuddy lets you mark any specific clip as Burn-after-paste. The moment you paste the clip into your destination application, ClipBuddy automatically self-destructs and erases it from your history.

4. Automatic Password & Secret Shield

By default, ClipBuddy automatically respects the org.nspasteboard.ConcealedType marker. When you copy a credential from 1Password, Bitwarden, or Apple Keychain, ClipBuddy never saves it. It does not enter your history in the first place.

5. Touch ID Vault for Credentials

With ClipBuddy Pro’s optional Detect & Vault Secrets feature, any recognized API key, private key, or payment card is kept in the Vault, protected by Touch ID and a Keychain key that uses the Secure Enclave when your Mac has one. Vault items never appear in search, and a secret you paste from the Vault is cleared from the clipboard after 60 seconds.


Summary Checklist

Action Native macOS ClipBuddy for Mac
Instant wipe Run pbcopy < /dev/null in Terminal Delete clips with ⌘⌫; clear by type in Settings, Storage (Pro)
Pause recording Not applicable (No history) Pause for 15m, 1h, 8h from menu bar
App blocklist None Exclude specific apps in Settings
Password protection None Automatically skips concealed passwords

How to Clear the Mac Clipboard Using Terminal

  1. 1
    Open Terminal

    Press Command-Space to open Spotlight, type 'Terminal', and press Enter.

  2. 2
    Enter the clear command

    Type 'pbcopy < /dev/null' into the Terminal window and press Return.

  3. 3
    Verify the clipboard is empty

    Switch to any text field and press Command-V; nothing will paste because the pasteboard buffer is empty.

Frequently asked questions

What is the command to clear clipboard on Mac?

The fastest command to empty the macOS clipboard is `pbcopy < /dev/null`. Running this in Terminal immediately replaces the active clipboard content with empty data.

Does Mac keep a permanent clipboard history by default?

No. Standard macOS only saves the single most recent item you copied. It does not maintain a browsable multi-item history unless you have installed a third-party clipboard manager like ClipBuddy.

How do I clear the history in ClipBuddy?

Delete any clip from the picker with Command-Delete (⌘⌫). With Pro, open Settings, Storage: each type of clip has a Clear button that permanently deletes its unpinned clips, and you can keep clips only for a set number of days, cap how many are stored, or turn on Clear history when the screen locks.

Can I temporarily pause clipboard recording?

Yes. ClipBuddy allows you to pause capture directly from the menu bar for 15 minutes, 30 minutes, 1 hour, 3 hours, 8 hours, or until you manually resume, ensuring private sessions are never recorded.