Skip to content
Text

Case Converter

Convert text to UPPER, lower, Title, camelCase, snake_case, kebab-case.

caseuppercaselowercasecamelsnake
Loading tool…

About the Case Converter

Fixing the casing of text by hand is slow, error-prone, and completely unnecessary. The Case Converter tool transforms any block of text into eleven distinct case styles in a single click — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, aLtErNaTiNg, and InVeRsE — each presented as its own clearly labeled button in the Transformations grid. Paste your source text into the Original text area, click a transformation, and the converted result appears instantly in the Converted text box below, while your original input stays untouched for reference. The tool even remembers your last applied transformation and re-applies it live if you edit the source text afterward. One click on Copy output puts the finished string on your clipboard, ready for a code identifier, a database column name, a filename, or a headline. Whether you are a developer normalizing variable names for JavaScript, Python, or SQL, or a writer reformatting a title for publication, this text case converter eliminates the most tedious part of retyping content that is already sitting in front of you.

Case Converter examples

Input
hello world, welcome to fernandes labs
Output
UPPERCASE:
HELLO WORLD, WELCOME TO FERNANDES LABS

Title Case:
Hello World, Welcome To Fernandes Labs
Note: UPPERCASE changes every letter; Title Case capitalizes the first letter of each word.
Input
my new feature request
Output
camelCase:
myNewFeatureRequest

PascalCase:
MyNewFeatureRequest

snake_case:
my_new_feature_request

CONSTANT_CASE:
MY_NEW_FEATURE_REQUEST
Note: Word-based styles split on spaces and punctuation, then join with nothing or an underscore.
Input
hello world, welcome to fernandes labs
Output
aLtErNaTiNg:
hElLo WoRlD, wElCoMe To FeRnAnDeS lAbS
Note: Alternating case toggles each letter but leaves punctuation and spaces untouched.

How to use the Case Converter

  1. 1

    Paste or type your source text into the Original text area.

  2. 2

    Pick a style from the Transformations grid — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, aLtErNaTiNg, or InVeRsE.

  3. 3

    Review the result in the Converted text box; your original stays untouched above.

  4. 4

    Edit the original text and watch the output re-apply the last transformation automatically.

  5. 5

    Click Copy output to grab the result, or Reset to clear both boxes.

Common use cases

  • Converting identifiers between camelCase, snake_case, and CONSTANT_CASE for code.
  • Fixing ALL-CAPS copy from pasted emails or reports.
  • Preparing Title Case headlines for blog posts and newsletters.
  • Producing kebab-case names for filenames and URL fragments.
  • Normalizing database column names before migration scripts.
  • Creating stylized alternating-case text for social posts.

Best practices

  • Match the case style to the target ecosystem: camelCase for JavaScript, snake_case for Python and SQL, kebab-case for URLs.
  • Convert from the same original each time instead of chaining conversions, which can compound transformations.
  • Review the split words for multi-word phrases — acronyms like HTML get split into H T M L by word-based modes.
  • Prefer Sentence case for body copy and Title Case only for headings where every word should be emphasized.
  • Copy the output immediately after conversion to avoid losing the result while switching tools.

Tips

  • Batch-convert: apply one case, copy, then click the next button on the same original — the source text stays untouched.
  • For database column names use snake_case; for URL fragments use kebab-case; for React components use PascalCase.
  • Edit the original after converting and the last applied case re-runs automatically, so refine and convert in one flow.
  • Use alternating or inverse case on a headline to make it stand out in forum signatures and chat messages.

Frequently asked questions

camelCase is the standard convention for JavaScript and TypeScript variable and function names — the first word stays lowercase and each following word is capitalized with no separators, like fetchUserData. PascalCase is used for class and component names. Use the matching button in the Transformations grid and the output will follow the convention automatically.

Title Case capitalizes the first letter of every word in the text, while Sentence case lowercases everything and only capitalizes the first letter after a sentence-ending period, question mark, or exclamation mark. For headlines and blog titles pick Title Case; for body copy and paragraphs where only the start of each sentence should be capitalized, pick Sentence case.

Yes. For the word-based styles — camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE — the tool first splits your input on any non-alphanumeric boundary and on camelCase humps, so a phrase like "hello, world" becomes helloWorld or hello_world cleanly. Apostrophes and hyphens inside words are preserved during the split.

The tool remembers the last transformation you applied and re-runs it automatically whenever the original text changes, so the output stays in sync. This makes it easy to paste a draft, convert it, and keep polishing the source while the converted version updates itself — no need to click the button again after each edit.

InVeRsE swaps the case of every letter: lowercase letters become uppercase and uppercase letters become lowercase, while numbers, punctuation, and spaces pass through unchanged. It is useful for spotting case inconsistencies, creating stylized text, or reversing a previous case mistake in a copied snippet of code or prose.

Yes. Conversion is computed locally in your browser, so text never leaves your machine, and the transformations handle multi-paragraph input comfortably. The original stays preserved in the Original text area while results appear in the Converted text box, so you can compare before and after and copy only the converted version when you are happy with it.

Explore more text tools

Browse the full collection of text tools on the hub, or jump back to all categories.

Related tools

Did this tool help?

Anonymous — one tap, no sign-up.