Alternatively called Cmd+H, Command+H is a keyboard shortcut whose function varies depending on the program. For example, with text editors, Command+H is used to find and replace a character, word, or phrase. However, in an Internet browser, Command+H opens the history tool.
How to use the Command+H keyboard shortcut
To use this keyboard shortcut, press and hold either Command key, and while continuing to hold, press H.
On Windows computers, this keyboard shortcut is performed using Ctrl+H.
- How to use the Command+H keyboard shortcut.
- Command+H in macOS.
- Command+H in an Internet browser.
- Command+H in word processors and text editors.
- Related keyboard shortcuts and keys.
- Related information.
- Computer keyboard shortcuts.
Command+H in macOS
In Apple’s macOS, Command+H is used to hide the currently active program. Essentially, it minimizes the application to the Dock, but doesn’t close it.
Command+H in an Internet browser
In most Internet browsers (e.g., Chrome, Edge, Firefox, Safari), pressing Command+H opens the browser’s history.
- Firefox shortcuts
- Google Chrome shortcuts
Command+H in word processors and text editors
In word processors and text editors, Command+H opens the find and replace tool that lets you search for a character, word, or phrase and replace it with something else.
Related keyboard shortcuts and keys
Below are links to related keyboard shortcuts and individual key pages.
If you only want to find text and not replace, use the Command+F shortcut.
- Command
Cmd, H, Keyboard shortcut, Keyboard terms, Replace
Related information
- Computer keyboard shortcuts.
- Top 10 keyboard shortcuts everyone should know.
- Keyboard help and support.