Three methods to clear the Windows Clipboard
The following guide provides you with three methods to clear the Windows Clipboard from content that it holds at the time.
Microsoft has not improved the clipboard functionality of its Windows operating system in a long time. Even the Windows 10 version allows you to only hold one entry in the Clipboard at all times. When you copy something new, the old is no longer available.
That's probably the main reason why third-party clipboard managers such as Clipboard Help+Spell or Clipboard Master are popular programs. These programs allow you to keep a record of previous items copied to the clipboard, and may introduce additional functionality such as spell checking, item manipulation, or fast access to the previous ten or so entries.
Methods to clear the Windows Clipboard
The following methods provide you with options to clear the Windows Clipboard so that the stored entry is no longer available.
While there are not that many situations where you might want to clear the clipboard, some that come to mind are to avoid pasting data accidentally, avoid that software may record what is stored in the clipboard, or block others with access to the PC from checking it out.
Method 1: using the command line
One of the easier options. Simply run echo off | clip from the command line to clear the Windows Clipboard.
- Tap on the Windows-key, type cmd.exe, and hit the Enter-key. You may speed this up by pinning a link to the Windows command prompt to the taskbar, desktop or start menu.
- Type echo of |clip and hit the Enter-key.
The clipboard is now empty. You can speed things up further by creating a batch file and pinning it to a location you have access to quickly.
Method 2: Overwriting the content
If it is just about getting rid of whatever information is stored in the clipboard, you may simply copy something else into it to overwrite the previous entry.
To do so select a word, letter or even a blank space and hit Ctrl-C to copy it to the clipboard. Simple but faster than the command line option listed above.
Method 3: Using ClipTTL
ClipTTL is a free simple program for Windows that automates the process. The program wipes the clipboard in 20 second intervals.
All you need to do is run it to make use of its functionality. While it is certainly more comfortable than using the other methods, it may overwrite content too early or not quickly enough due to the 20 second interval that it uses.
Now You: Have another method not listed here? Let us know in the comment section below.
echo off doesn’t echo the word ‘off’ in windows like it would in any sane OS, it stops printing stuff in a batch file before executing it, right? Oh and it stops prompting in interactive shell.
How does the construct echo off | clip clear the clipboard? Wouldn’t clip < NUL: be better?
Huh that doesn't work, even though the help says that redirecting from a file with < should work…
type NUL: | clip does work. Weird!
No wonder nobody uses the windows command line, it is inconsistent as hell.
echo off doesn’t echo the word ‘off’ in windows like it would in any sane OS, it stops printing stuff in a batch file before executing it, right?
How does the construct echo off | clip clear the clipboard? Wouldn’t clip < NUL: be better?
WIN+V works like a bomb! Windows 10…
would be cool if you could just hold ctrl v and then cycle with the arrow keys since (as per the above) it seems windows keeps at least a few entries out of the box.
I use CoodClip, simple and efficient.
BTW. when I was installing it last time I already had something in my Windows clipboard but after installing CoodClip I could see not just last clipboard entry but also few previous. So it looks like Windows is actually keeping more than one entry but it is only showing you the last one.
The popular IrfanView has Edit-Clear Clipboard.
Despite using IrfanView for donkey’s years I’d never noticed it. It works! Thanks!
I prefer ClipboardMaster for Windows.
I always:
1. WIN+R
2. type x
3. CTRL+A
4. CTRL+X (to overwrite the clipboard)
5. CTRL+V (to double check if it went right)
It sounds complicated, but in fact I do all of this in just a second and it just works.
you type Space, not X.
I ignored the command-line trick. Nice.
Here I use Nirsoft’ nircmd application with the command-line parameter ‘clipboard clear’ : nircmd.exe clipboard clear
Very cool! I created this useful shortcut and been using it for years. I use it multiple times every day. Sits on the Taskbar between the Start and Windows Explorer buttons
TARGET:
C:\Windows\System32\cmd.exe /c “echo off | clip”
START IN:
C:\Windows\system32
I got a ‘clipboard’ icon for shortcut from: C:\Windows\System32\shell32.dll
I created a shortcut using
TARGET:
C:\Windows\System32\cmd.exe /c “echo off | clip”
START IN:
C:\Windows\system32
I got a ‘clipboard’ icon for shortcut from: C:\Windows\System32\shell32.dll
I have it sitting between the Start button and Windows Explorer icon on my Taskbar. I have been using this for years and I use it multiple times every day.
Skwire ClipTrap – A simple clipboard manager.
http://skwire.dcmembers.com/fp/?page=cliptrap
Options screenshot is outdated. User settings and features are considerably enhanced in v1.2.2.
Within the context of this tutorial, the clipboard and the ClipTrap cache (a temporary local txt file) can be individually auto-cleared in user set seconds, minutes or hours.
I have it working OK on two Windows 10 systems; 90 seconds for the clipboard, 5 minutes for the cache.
I just copy a space (symbol) or some text from a page, whenever I want to clean the clipboard of more important information (be it text, image, etc).
What I also like to clean after dealing with more important data (I don’t know how much related to the clipboard this is though) is the “Undo copy/move/rename” from context menu. To do that just create a new file on desktop, send it to Recycle bin then empty it. It happened many times to me to move back some file, somewhere; but I don’t know what file and where, with the initial move operation being done probably hours ago.
It would have been nice if the context menu items Paste/Undo had like a small [x] button on the right to empty the clipboard.
Using AutoHotkey assigned Shift + Win + V to this script:
+#V::
Clipboard :=
return
That’s a great little AutoHotkey script Peter! (I love AutoHotKey!)
Yeah, AHK is great
Thanks Martin for the trick in command line.