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

What does Cmd+U do?
AppPlatformWhat it does
macOS SonomamacOSToggle underline formatting on selected text
Latest recorded check: 2026-10-04 · Source
iPhone iOS 18iOSToggle underline text formatting
Verification pending
Microsoft WordmacOSToggle underline on the selected text
Latest recorded check: 2026-10-04 · Source
Microsoft ExcelmacOSToggle underline on the selected cells
Latest recorded check: 2026-10-04 · Source
XcodePlatform not independently verifiedBuild 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.