Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CaseflipNew to Visual Studio Code? Get it now.
Caseflip

Caseflip

Snehal Pancholi

|
1 install
| (0) | Free
Convert selected text between camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, and Title Case.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Caseflip

Convert selected text between common identifier cases — without leaving the keyboard.

Caseflip normalises any selection into words first, then re-casts it, so it works no matter how the text was originally styled. fooBar, foo_bar, and Foo Bar all convert cleanly.

Features

  • To camelCase — fooBar
  • To PascalCase — FooBar
  • To snake_case — foo_bar
  • To kebab-case — foo-bar
  • To CONSTANT_CASE — FOO_BAR
  • To Title Case — Foo Bar
  • Cycle Through Cases — repeatedly run to rotate a token through every style

Multi-cursor friendly: every selection is converted independently. With an empty selection, Caseflip converts the word under the cursor.

Usage

  1. Select the text (or place the cursor on a word).
  2. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  3. Run any Caseflip: command.

Smart boundary handling splits camelCase humps and acronym runs correctly — HTTPServer becomes http_server, not h_t_t_p_server.

Tips

Bind your most-used conversion to a keyboard shortcut via Preferences: Open Keyboard Shortcuts and searching for caseflip.

License

Licensed under the MIT License. See the LICENSE file included in this extension.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft