How-to guide

How to change text to uppercase, camelCase or snake_case

Press ⌘K with TabCmdr (Ctrl+K on Windows and Linux), type :tx and your text, then pick UPPER CASE, camelCase, snake_case or another style. Enter copies it.

Quick answer

Change text case in three steps

  1. ⌘K

    Step 1

    Open the palette

    Ctrl+K on Windows and Linux. Works on any page.

  2. :tx sales report

    Step 2

    Type :tx and your text

    Seven styles appear, one per row.

  3. ↵

    Step 3

    Press Enter

    The highlighted style is copied.

TabCmdr's way

Change text case with TabCmdr

TabCmdr is a keyboard launcher that lives in your browser. Its :tx command shows the text you type in seven case styles, so you don’t need a converter website.

Before you start: add TabCmdr from the Chrome Web Store. It has a 7-day free trial and needs no account.

Step 1: Open the palette

Press ⌘+K on a Mac or Ctrl+K on Windows and Linux, on any page.

Step 2: Type :tx and your text

Type :tx, a space, then the text you want to change. Seven rows appear under Text Transform, one for each style:

Style:tx sales report gives
UPPER CASESALES REPORT
lower casesales report
Title CaseSales Report
camelCasesalesReport
PascalCaseSalesReport
snake_casesales_report
kebab-casesales-report
TabCmdr palette with :tx sales report typed, showing UPPER CASE, lower case, Title Case, camelCase, PascalCase and snake_case rows
:tx sales report in each style. kebab-case is one row further down.

Step 3: Pick a style and press Enter

The first row is highlighted. Press ↓ or ↑ to move to the style you want, then press Enter. TabCmdr copies that version, closes the palette and shows Copied at the bottom of the page. Paste it with ⌘+V or Ctrl+V.

How each style reads your text

  • Spaces, hyphens and other symbols split words. :tx order-total gives orderTotal in camelCase and order_total in snake_case.
  • snake_case and kebab-case also split camelCase. :tx userProfileId gives user_profile_id and user-profile-id.
  • Title Case capitalizes the first letter of each word and lowercases the rest. That means userProfileId becomes Userprofileid.
  • camelCase and PascalCase keep the inside of each word as typed. :tx SALES REPORT gives sALESREPORT. Type the text in lowercase to get salesReport.

Try it on your own tabs

Works in Chrome, Edge, Brave, Arc, Vivaldi and Opera.

Install for Chrome

FAQ

Questions about changing text case

More in the documentation.

Which case styles can TabCmdr make?

Seven: UPPER CASE, lower case, Title Case, camelCase, PascalCase, snake_case and kebab-case. Type :tx followed by your text and each style gets its own row.

Can it turn camelCase into snake_case?

Yes. snake_case and kebab-case split words where a lowercase letter meets a capital, so :tx userProfileId gives user_profile_id and user-profile-id.

Why does camelCase keep my capital letters?

camelCase and PascalCase only change the first letter of each word and keep the rest as you typed it. :tx HELLO WORLD gives hELLOWORLD. Type the text in lowercase first, or use snake_case and kebab-case, which lowercase everything.

Does it work with accented letters?

UPPER CASE, lower case and Title Case keep accented letters. camelCase, PascalCase, snake_case and kebab-case only keep the letters A to Z and digits, so :tx café menu gives caf_menu.

Is my text sent anywhere?

No. The styles are worked out inside the palette on your computer. Nothing is sent to a website or a server.

One shortcut for your whole browser. Stop hunting for tabs.

Free for 7 days Then $3.99 / y No account