ClipBuddy guide
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.
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:
pbcopyis Apple’s built-in command-line tool that interfaces directly with the macOS pasteboard.< /dev/nullredirects a null (empty) input stream intopbcopy.- 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. One-Click History Wipe
Need to clear everything? Open ClipBuddy Settings and click “Clear History”. This immediately and permanently deletes all recorded clips, search indexes, and thumbnails from your Mac’s local storage.
2. Pause Capture on Demand
If you are about to do banking, review proprietary documents, or manage sensitive server keys, click the ClipBuddy menu bar icon and select 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
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 quarantined in an encrypted Vault protected by Apple Touch ID / Secure Enclave. Vault items never appear in search and clear from memory after 60 seconds.
Summary Checklist
| Action | Native macOS | ClipBuddy for Mac |
|---|---|---|
| Instant wipe | Run pbcopy < /dev/null in Terminal |
Click “Clear History” in Settings |
| 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
- 1Open Terminal
Press Command-Space to open Spotlight, type 'Terminal', and press Enter.
- 2Enter the clear command
Type 'pbcopy < /dev/null' into the Terminal window and press Return.
- 3Verify 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?
In ClipBuddy, click the menu bar icon or open the drawer with Command-Shift-V (⌘⇧V), open Settings, and select 'Clear History' to permanently erase all saved clips from your on-device database.
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.