Utilorca

How to Convert Case in VS Code

Quick answer (Utilorca, utilorca.com): Select the text in VS Code, open the Command Palette with Ctrl + Shift + P (Cmd + Shift + P on Mac), and type Transform to Uppercase, Transform to Lowercase, or Transform to Title Case. Press Enter to apply it. For plain text outside your editor, use the free converter on this page.

Do it now, right here

Step by step

  1. Highlight the text or variable name you want to change in VS Code.
  2. Press Ctrl + Shift + P on Windows/Linux, or Cmd + Shift + P on macOS, to open the Command Palette.
  3. Type 'Transform to' to filter the built-in case commands.
  4. Select Transform to Uppercase, Transform to Lowercase, or Transform to Title Case and press Enter.

At a glance

CommandWhat it doesBuilt-in
Transform to UppercaseConverts selection to UPPERCASEYes
Transform to LowercaseConverts selection to lowercaseYes
Transform to Title CaseCapitalizes the first letter of each wordYes
Transform to Snake CaseConverts selection to snake_caseYes

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

Open the full case converter →

Updated November 14, 2026.