Alternatively called Cmd+X, Command+X is a keyboard shortcut often used to cut a selected section of text, image, or other object.

How to use the Command+X keyboard shortcut

To use this keyboard shortcut, press and hold either Command key, and while continuing to hold, press X.

If you mistakenly cut something, you can press Command+Z to undo your last action and restore the object.

On Windows computers, the keyboard shortcut to cut is Ctrl+X.

  • How to use the Command+X keyboard shortcut.
  • Command+X in an Internet browser.
  • Command+X in Word and other word processors.
  • Command+X in Excel and other spreadsheet programs.
  • Command+X in Microsoft PowerPoint.
  • Related keyboard shortcuts and keys.
  • Related information.
  • Computer keyboard shortcuts.

Command+X in an Internet browser

In all major Internet browsers (e.g., Chrome, Edge, Firefox, Opera, Safari), pressing Command+X cuts editable text. For example, while in a text box, you could cut text and move it to another field using the paste function.

  • Firefox shortcuts
  • Google Chrome shortcuts

Command+X in Word and other word processors

In Microsoft Word and other word processors, pressing Command+X cuts any text, picture, or other object that is selected.

Command+X only works if the text is editable. If you tried to cut any of the text on this page (that is not editable), the keyboard shortcut does not work. However, you can copy text from a web page using the Command+C shortcut.

  • Full list of Microsoft Word shortcuts.

Command+X in Excel and other spreadsheet programs

In Microsoft Excel and other spreadsheet programs, pressing Command+X cuts any cell, text, or other object that is selected in the spreadsheet.

  • Full list of Excel shortcuts.
  • Google Sheets shortcuts.

Command+X in Microsoft PowerPoint

In Microsoft PowerPoint, Command+X cuts any text, picture, or other object that is selected.

If you’re editing the contents of a cell and press Command+X, nothing happens.

  • Full list of PowerPoint shortcuts.

Below are links to related keyboard shortcuts and individual key pages.

  • Command

Cmd, Cut, Keyboard shortcut, Keyboard terms, X

  • Computer keyboard shortcuts.
  • Top 10 keyboard shortcuts everyone should know.
  • Keyboard help and support.