Clear the clipboard through the command line

Updated: 04/26/2017 by Computer Hope
Clipboard holding a white piece of paper.

Follow the steps below to learn how to clear or delete all content stored in the Windows clipboard through the Windows command line.

  1. Open the Windows command line.
  2. From the Windows command line, type the command below.

echo off | clip

  1. After the command above is entered, all contents in the Windows clipboard will be removed.
Tip

See the clip command for further information and other examples that can be used with this command.