What does Cmd+U do?
In macOS Sonoma, Cmd+U means: Toggle underline formatting on selected text.
Last verified: 2026-10-04 (latest recorded check on at least one row; rows without their own date remain pending).
Where this shortcut applies
| App | Platform | What it does |
|---|---|---|
| macOS Sonoma | macOS | Toggle underline formatting on selected text Latest recorded check: 2026-10-04 · Source |
| iPhone iOS 18 | iOS | Toggle underline text formatting Verification pending |
| Microsoft Word | macOS | Toggle underline on the selected text Latest recorded check: 2026-10-04 · Source |
| Microsoft Excel | macOS | Toggle underline on the selected cells Latest recorded check: 2026-10-04 · Source |
| Xcode | Platform not independently verified | Build and run all unit tests Verification pending |
Full shortcut pages
Frequently asked questions
- What does Cmd+U do?
- In macOS Sonoma, Cmd+U means: Toggle underline formatting on selected text.
- Does this shortcut work the same way in every app?
- No. The listed contexts include macOS Sonoma, iPhone iOS 18, Microsoft Word, Microsoft Excel, Xcode. Check the table for each application and platform: the active window, keyboard layout and application settings determine which command receives the key press. An application being available on an operating system is not evidence that this exact binding works there.
- What should I use on a Mac?
- Use a macOS binding shown in the table, if one is recorded for your task and application. This page does not assume that replacing Ctrl with Cmd produces a working Mac shortcut. When an equivalent has not been independently verified, open the linked application reference and check its documented context before relying on it.