What is the Keyboard Shortcut for All Caps?
Explore whether there is a universal keyboard shortcut for ALL CAPS. Learn Word's Shift+F3, how Google Docs handles capitalization, and practical command-line and macro methods. A practical guide from Shortcuts Lib.

There is no universal keyboard shortcut for all caps across every app. In Microsoft Word, Shift+F3 cycles through cases: lowercase, UPPERCASE, and Capitalize Each Word. Other editors rely on a Change Case command or custom shortcuts. This article covers Word, Google Docs, code editors, and command-line options.
Understanding All Caps and Keyboard Shortcuts
When you ask what is the keyboard shortcut for all caps, the short answer is that there is no universal shortcut that works in every app. Most programs expose a dedicated Change Case or Capitalization feature, and some offer a cycling option. The Shortcuts Lib team notes that learning app-specific shortcuts is the fastest path to consistent results across platforms. In this article, we’ll explore how to achieve all-caps formatting in Word, Google Docs, code editors, and from the command line. We’ll also show how to set up reliable custom shortcuts so you can toggle ALL CAPS with a single keystroke.
Shift+F3This code block displays the classic Word shortcut used to cycle through lowercase, UPPERCASE, and Capitalize Each Word. If you’re using Word on Windows, Shift+F3 is the standard; on Mac keyboards you may need to press Shift+Fn+F3 depending on your function-key settings. In other editors, look for a Change Case command in the menu or a programmable shortcut. The rest of this article breaks down options by platform and workflow.
Word: Shift+F3 and Case Cycling
Microsoft Word provides a straightforward way to toggle text casing without retyping. The canonical shortcut is Shift+F3 to cycle through available cases: lowercase, UPPERCASE, and Capitalize Each Word. On Mac, you might need to press Shift+Fn+F3 if function keys require Fn. If you're typing long documents, this cycling helps quickly test different emphasis styles.
Shift+F3Line-by-line: place the cursor on a word or select text, then press Shift+F3 to toggle between cases. Repeat to cycle through the options. Choose the final case and continue editing. If you prefer a single-step to ALL CAPS, use the Font or Home ribbon, then select UPPERCASE. The Change Case feature supports other options beyond all caps.
Google Docs and Other Editors
Google Docs does not expose a universal keyboard shortcut for all caps by default. Use the built-in menu: Format > Text > Capitalization > UPPERCASE. If you prefer a quick path, consider a browser-based macro or a small Apps Script to automate capitalization for repeating tasks. Other editors, including Pages on macOS and popular code editors, provide similar menu-driven approaches with optional custom shortcuts.
Format > Text > Capitalization > UPPERCASEUsing the shell for post-processing: you can also transform text outside the editor when exporting or scripting:
echo "docs shortcut" | tr 'a-z' 'A-Z'def upper(text: str) -> str:
return text.upper()
print(upper("examples"))Command-Line Alternatives to All Caps
If you frequently need all-caps output from scripts or logs, the command line offers reliable routes independent of a text editor. In Bash, transform standard input to uppercase with tr. In Python, use the built-in upper() method. In PowerShell, the ToUpper() method provides a concise, readable approach.
echo "hello world" | tr 'a-z' 'A-Z'def to_all_caps(text: str) -> str:
return text.upper()
print(to_all_caps("shortcuts lib"))"hello world".ToUpper()Creating Custom Shortcuts and Macros
If you want a single keystroke across apps, consider a small automation layer. On Windows, AutoHotkey can convert selected text to ALL CAPS with a hotkey. On macOS, you can leverage the Shortcuts app or a scripting approach to bind a key to a transformation.
; Toggle ALL CAPS for selected text in Windows
^+a::
Clipboard := ""
Send, ^c
ClipWait
text := Clipboard
text := StrUpper(text)
Clipboard := text
Send, ^v
return// VS Code keybindings (Windows)
{
"key": "ctrl+shift+u",
"command": "editor.action.transformToUppercase",
"when": "editorTextFocus"
}// VS Code keybindings (macOS)
{
"key": "cmd+shift+u",
"command": "editor.action.transformToUppercase",
"when": "editorTextFocus"
}Note: macOS shortcut consistency depends on your editor and OS settings. The VS Code examples show a built-in command for uppercase transformation, which many editors expose via a Keyboard Shortcuts editor.
Tips, Warnings, and Common Pitfalls
- Pro tip: Prefer app-native Change Case commands when available to preserve font features and stylistic nuances. Not all fonts render equally in all caps.
- Warning: Some fonts collapse kerning or spacing differently in uppercase, which can affect readability in body text and UI labels.
- Note: If you rely on clipboard-based transformations, be mindful of hidden characters (newlines) that may sneak into pasted text.
Practical Takeaways
- There is no universal All Caps shortcut; use app-specific commands.
- In Word, Shift+F3 cycles through case options for quick testing.
- For code editors, explore built-in Transform to Uppercase or create a custom shortcut.
- Command-line transformations offer portable alternatives outside the editor.
FAQ-SECTION
[{"question": "Is there a universal keyboard shortcut for all caps?","questionShort": "Universal shortcut?","answer": "No single shortcut works in every app. Each program defines its own Change Case or capitalization feature.","voiceAnswer": "There isn't a universal shortcut; use the app's own change case capability.","priority":"high"},{"question": "What is the Word shortcut to toggle all caps?","questionShort": "Word shortcut?","answer": "In Word, Shift+F3 cycles text between lowercase, UPPERCASE, and Capitalize Each Word.","voiceAnswer": "Use Shift+F3 in Word to cycle through case options.","priority":"high"},{"question": "Can I customize a global all-caps shortcut?","questionShort": "Customize shortcut?","answer": "Yes. Most editors let you map a key to the Transform to Uppercase or Change Case command, often via a Keyboard Shortcuts or Macro editor.","voiceAnswer": "You can bind a key to an uppercase command in many editors.","priority":"medium"},{"question": "Does Google Docs have a built-in all-caps shortcut?","questionShort": "Docs shortcut?","answer": "Google Docs does not ship with a universal keyboard shortcut for ALL CAPS; use the menu path Format > Text > Capitalization > UPPERCASE or write a script.","voiceAnswer": "Docs lacks a default all-caps shortcut; use the menu or a script.","priority":"medium"},{"question": "How can I uppercase text in the terminal or scripts?","questionShort": "Uppercase in terminal?","answer": "Use Bash's tr, Python's upper(), or PowerShell ToUpper() to transform text programmatically.","voiceAnswer": "Transform text to uppercase with simple commands in scripts.","priority":"low"}]
Steps
Estimated time: 45-60 minutes
- 1
Identify target text
Select or place the cursor on the text you want transformed. For editor-based shortcuts, you typically need a selection or an active text focus.
Tip: Use a small sample first to verify the resulting casing. - 2
Choose the right tool
If you are in Word, use Shift+F3. If in Docs, follow the menu path. For editors like VS Code, use the Transform to Uppercase command.
Tip: If a shortcut doesn’t exist, assign one in your editor’s keybindings. - 3
Apply the transformation
Press the shortcut or run the menu option to apply ALL CAPS. Confirm the result before continuing.
Tip: Check for font-specific rendering quirks after applying all caps. - 4
Validate consistency
Review multiple occurrences to ensure uniform capitalization for headings, body text, and UI labels.
Tip: If you need to apply to multiple sections, consider a macro or batch approach. - 5
Document the approach
If you rely on a custom shortcut, document it for teammates to maintain consistency.
Tip: Keep a changelog of shortcuts you add or modify.
Prerequisites
Required
- Required
- Familiarity with keyboard shortcuts and menus to access Change Case or text transformationsRequired
Optional
- Optional
- Basic command-line or scripting knowledge for text transformations (bash, python, powershell)Optional
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Cycle text case (Word)Word's built-in case cycling: lowercase → UPPERCASE → Capitalize Each Word | ⇧+F3 |
| Format to UPPERCASE (Docs/Menu)No universal shortcut; uses the menu path | — |
| Transform to uppercase (VS Code)Built-in command in VS Code and similar editors with keybindings | Ctrl+⇧+U |
Questions & Answers
Is there a universal keyboard shortcut for all caps?
No single shortcut works in every app. Each program defines its own Change Case or capitalization feature.
There isn't a universal shortcut; use the app's own change case capability.
What is the Word shortcut to toggle all caps?
In Word, Shift+F3 cycles text between lowercase, UPPERCASE, and Capitalize Each Word.
Use Shift+F3 in Word to cycle through case options.
Can I customize a global all-caps shortcut?
Yes. Most editors let you map a key to the Transform to Uppercase or Change Case command via a Keyboard Shortcuts or Macro editor.
You can bind a key to an uppercase command in many editors.
Does Google Docs have a built-in all-caps shortcut?
Google Docs does not ship with a universal keyboard shortcut for ALL CAPS; use the menu path or a script to automate capitalization.
Docs lacks a default all-caps shortcut; use the menu or a script.
How can I uppercase text in the terminal or scripts?
Use Bash's tr, Python's upper(), or PowerShell's ToUpper() to transform text programmatically.
Transform text to uppercase with simple commands in scripts.
Main Points
- There is no universal all-caps shortcut across apps.
- Word uses Shift+F3 to cycle text casing.
- Use menu paths or custom shortcuts in editors lacking a built-in key.
- Command-line tools offer portable uppercase transformations.