Command+Z

Updated: 12/31/2020 by Computer Hope
Command+Z

Alternatively referred to as Cmd+Z and C-z, Command+Z is a keyboard shortcut most often used to undo the previous action.

Tip

Most programs that support the Command+Z keyboard shortcut allow you to use it multiple times. For example, you could press and hold Command, and then press Z three times to undo the last three changes (if they exist).

Tip

The keyboard shortcut that is the opposite of Command+Z is Command+Y (redo).

Tip

On Windows computers, the shortcut to undo is Ctrl+Z.

How to use the Command+Z keyboard shortcut

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

Command+Z in an Internet browser

In all major Internet browsers (e.g., Chrome, Edge, Firefox, Opera, Safari), pressing Command+Z will undo any change made in a browser form or text field.

Command+Z in Microsoft Excel and other spreadsheet programs

In Microsoft Excel and other spreadsheet programs, pressing Command+Z will undo any change made in a spreadsheet.

Command+Z in Microsoft PowerPoint

In Microsoft PowerPoint, the Command+Z keyboard shortcut will undo any edit made to a presentation.

Command+Z in Microsoft Word and other word processors

In Microsoft Word and other word processors, pressing Command+Z will undo any change made in a document.

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

Cmd, Keyboard shortcut, Keyboard terms, Undo, Z