Sublime Text 3 Convert Case to Upper, Lower, Title or Swap


There are 4 different types of cases you can convert the text in Sublime Text Editor 3,

  1. Upper Case
  2. Lower Case
  3. Title Case
  4. Swap Case
Sublime 3 Case Conversion Example
Sublime Case Conversion Example

Upper Case Conversion:

  1. Be on the tab you want to do upper case conversion.
  2. Select the text you want to convert (if you want to do it for the entire file, you can use Ctrl + A on Windows, or Command + A if using macOS to select all text)
  3. Now go Menu: Edit → Convert Case → Upper Case.
  4. Your selected text will get converted in upper case.
Example:
Before: This sample TEXT needs to be converted into upper case
After : THIS SAMPLE TEXT NEEDS TO BE CONVERTED INTO UPPER CASE

⛏️ You can also use keyboard shortcut: Ctrl+K, Ctrl+U on Windows OS (Command ⌘ + K followed by Command ⌘ + U on macOS) for upper case conversion


Lower Case Conversion:

  1. Select the text in the tab/file you want to convert to Lower case.
  2. Goto Menu: Edit → Convert Case → Lower Case.
  3. Your selected text will get converted in lower case.
Example:
Before: This sample TEXT needs to be converted into LOWER case
After : this sample text needs to be converted into lower case

⛏️ You can also use keyboard shortcut: Ctrl+K, Ctrl+L on Windows OS (Command ⌘ + K followed by Command ⌘ + L on macOS) for lower case conversion


Title Case Conversion:

  1. Select the text in the tab/file you want to convert to Title case.
  2. Goto Menu: Edit → Convert Case → Title Case.
  3. Your selected text will get converted in title case.
Example:
Before: This sample TEXT needs to be converted into Title case
After : This Sample Text Needs To Be Converted Into Title Case

Swap Case Conversion:

  1. Select the text in the tab/file you want to convert to Swap case.
  2. Goto Menu: Edit → Convert Case → Swap Case.
  3. Your selected text will get converted in swap case.
Example:
Before: This sample TEXT needs to be converted into SWAP case
After : tHIS SAMPLE text NEEDS TO BE CONVERTED INTO swap CASE

Have prepared a GIF Image to demonstrate to Upper and to Lower cases using Keyboard shortcuts.

Sublime text 3 git to upper - to lower.gif
Sublime text 3 git to upper - to lower.gif



Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.