How to Clear Clipboard on Mac (Fastest Ways to Wipe Copied Data & History)
Just copied a sensitive bank password, personal token, or a massive 200MB file and want to purge it from memory? Here is how to completely clear your clipboard on macOS in seconds.
Quick Answer: How to clear your Mac clipboard instantly
Open Terminal (press Cmd + Space, type Terminal, and hit Enter), paste the following command, and press Enter:
This flushes the clipboard with null data, instantly erasing whatever text, password, or image was copied.
Why You Should Clear Your Mac Clipboard
By default, macOS keeps whatever you copied in memory until you copy something else or restart your computer. That poses two problems:
- Security & Privacy: Any open app, terminal process, or browser script with paste permissions can read your active pasteboard without asking. If you just copied a 2FA code, password, or private key, it sits exposed.
- RAM & Performance: If you copied a huge high-resolution photo or spreadsheet table, macOS keeps that uncompressed payload in RAM until flushed.
Method 1: Wipe Clipboard via Terminal (Fastest & Most Complete)
macOS provides a built-in command-line tool called pbcopy (pasteboard copy). By piping /dev/null into it, you overwrite the pasteboard buffer with zero bytes.
- Open Terminal from Spotlight (Cmd + Space > Terminal).
- Type or paste:
Press Return. That's it! Try pressing Cmd + V in any text field—nothing will paste.
Method 2: The Non-Terminal Spacebar Trick
If you don't want to open Terminal every time, you can overwrite whatever sensitive data is in your clipboard with a harmless character:
- Select a single space or period anywhere on your screen.
- Press Cmd + C.
Because macOS only preserves the single last copied item, this immediately overwrites your password or private text.
Method 3: Restarting the macOS Pasteboard Daemon (Fix Frozen Clipboard)
Sometimes copy-paste gets stuck on Mac or refuses to update. This is caused by a frozen background system process named pboard. You can force-restart it:
This immediately terminates the clipboard daemon. macOS will restart it cleanly within half a second, releasing memory leaks and unfreezing your pasteboard.
Method 4: Managing & Deleting Clipboard History with Clipmory
If you use a clipboard manager like Clipmory to maintain multi-item copy history, clearing the active pasteboard alone is not enough—you also want control over your archive.
Clipmory gives you granular privacy controls built specifically for macOS:
How to manage & clear history in Clipmory:
- Delete Individual Clips: Press your hotkey (Cmd + Shift + V or Opt + Cmd + V), hover over the clip you want to remove, and press Delete or click the trash icon.
- Wipe All History: Open Clipmory Settings > General > click "Clear All History" to instantly zero out the local encrypted SQLite database.
- Configurable Auto-Purge: Set your history to automatically delete non-pinned items after 1 hour, 24 hours, 7 days, or 30 days.
- Biometric Touch ID Shield: Sensitive API keys and tokens are automatically concealed behind Touch ID authentication so shoulder-surfers cannot view them.
- Zero Cloud Sync: Clipmory never connects to any remote server or third-party cloud. All data remains 100% on your Mac.
Try Clipmory free for 7 days. Infinite searchable history when you need it, one-click wiping and Touch ID protection when you don't.
Frequently Asked Questions About Clearing Mac Clipboard
pbcopy < /dev/null and hit Enter. This replaces the active clipboard with empty data in under 2 seconds.NSPasteboard.general). That is why clearing sensitive tokens and using a secure manager with password-masking like Clipmory is critical for privacy.