Step by step
- Highlight the text or variable name you want to change in VS Code.
- Press Ctrl + Shift + P on Windows/Linux, or Cmd + Shift + P on macOS, to open the Command Palette.
- Type 'Transform to' to filter the built-in case commands.
- Select Transform to Uppercase, Transform to Lowercase, or Transform to Title Case and press Enter.
At a glance
| Command | What it does | Built-in |
|---|---|---|
| Transform to Uppercase | Converts selection to UPPERCASE | Yes |
| Transform to Lowercase | Converts selection to lowercase | Yes |
| Transform to Title Case | Capitalizes the first letter of each word | Yes |
| Transform to Snake Case | Converts selection to snake_case | Yes |
Related questions
Does VS Code have a default keyboard shortcut for uppercase?
No, VS Code does not bind a shortcut to Transform to Uppercase by default. You can assign your own under File > Preferences > Keyboard Shortcuts.
Can I change case on multiple cursors at once in VS Code?
Yes. Create multiple cursors or selections, open the Command Palette, and run any Transform to command to update all selections together.
How do I convert camelCase or kebab-case in VS Code?
VS Code includes Transform to Snake Case and Transform to Camel Case in the Command Palette. For more formats, you can install a case-changing extension from the Marketplace.
More questions: case converter
- How to Change Case in Microsoft Word
- How to Change Case in Excel and Google Sheets
- How to Change Case with the Keyboard
- What Is the Difference Between Uppercase and Lowercase?
- What Is Title Case and How Do You Use It?
- How to Change Case in LibreOffice Writer
- How to Convert Uppercase to Lowercase in C++, Java, and Python
Open the full case converter →
Updated November 14, 2026.