Recent Players

Arjun S. earned ₹480

Play Now

*Illustrative player activity

Changing text case, including the naming conventions developers need

Fixes caps-lock accidents, and converts between the naming conventions code actually uses.

Open Change Text Case on ToolHubAll tools

The everyday use is rescuing text typed with caps lock on, or received from a system that shouts everything in capitals. Retyping a paragraph because of that is a waste of a few minutes that a case converter removes entirely.

The version developers care about is different: converting between naming conventions. camelCase for JavaScript variables, snake_case for Python and database columns, kebab-case for URLs and CSS classes, PascalCase for component names. Converting a list of field names between these by hand is exactly the sort of tedium that produces typos. Both live in ToolHub.

Change Text Case: the facts that matter

Prose casesUPPER, lower, Title Case, Sentence case
Code casescamelCase, snake_case, kebab-case, PascalCase
Proper nounsNeed a manual check after conversion
BatchWorks on a whole list at once
PrivacyRuns in the browser

How to do it, step by step

  1. 1Open the case converter in ToolHub and paste your text.
  2. 2Pick the target case. Sentence case is usually what you want for rescued prose.
  3. 3For code identifiers, pick camelCase, snake_case, kebab-case or PascalCase as appropriate.
  4. 4Check proper nouns afterwards. Automatic sentence case will lowercase names it does not recognise.
  5. 5Copy the result out.

Three things worth knowing

Common problems, solved

Where to run it

This tool is part of the ToolHub tool library, a library of over 1,000 browser-based tools covering PDF, image, video, audio, text and developer work. Everything runs in the browser and none of it needs an account.

ToolHub is built by codaiman.com, an AI-first software company in Ahmedabad. Related to this page: CWS (Code With Squad) coding education platform with courses, an in-browser code playground and one-to-one mentorship.

Change Text Case, in the browser: no install, no sign-up, no upload queue. Part of the ToolHub library from CodeAiMan.

Open ToolHub
Download IN7 Free — ₹777 Bonus