Toolsel

Case Converter

Runs in your browser

Convert text between UPPERCASE, lowercase, Title Case, camelCase and more.

UPPERCASE

lowercase

Title Case

Sentence case

camelCase

PascalCase

snake_case

kebab-case

CONSTANT_CASE

What is a Case Converter?

Every programming style guide picks a naming convention, and they rarely match: JavaScript variables are camelCase, Python and Rust use snake_case, classes across most languages use PascalCase, CSS classes and URLs favour kebab-case, and environment variables are CONSTANT_CASE. Converting a name between conventions by hand is fiddly and easy to get wrong at the word boundaries.

This tool splits input on whatever it can find — spaces, hyphens, underscores, or camelCase humps — into individual words first, then rejoins them in the target style. That means it converts in every direction: paste snake_case and get camelCase, or paste a plain sentence and get any of the nine styles at once.

How to use it

  1. Type or paste your text — plain words, camelCase, snake_case, or any mix.
  2. Every conversion generates at once: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE.
  3. Copy whichever one you need with the button beside it.

Example

Converting a variable name

Input
user_profile_settings
Output
camelCase: userProfileSettings
PascalCase: UserProfileSettings
kebab-case: user-profile-settings

Frequently asked questions

How does the converter know where one word ends and the next begins?
It splits on spaces, hyphens and underscores directly, and additionally detects camelCase and PascalCase humps — the boundary between a lowercase letter and the following uppercase one — plus transitions between letters and digits. That combination handles input in any of the common styles without needing to know which one you're starting from.
What is the difference between Title Case and Sentence case?
Title Case capitalises the first letter of every word: "The Quick Brown Fox". Sentence case capitalises only the first letter of each sentence, the way normal prose is written: "The quick brown fox jumps over the lazy dog. It runs fast."
Why does camelCase keep the first word lowercase but PascalCase doesn't?
That's the entire distinction between the two conventions — camelCase always starts with a lowercase letter (userProfile), while PascalCase capitalises every word including the first (UserProfile). PascalCase is the standard for class and type names in most languages; camelCase is standard for variables and functions.
Does this handle acronyms well?
Reasonably — a name like "userID" splits at the letter-to-uppercase-run boundary, so it converts sensibly in most cases. Acronym handling is one of the few genuinely ambiguous spots in case conversion generally (should "XMLParser" become "xml-parser" or "x-m-l-parser"?); this tool takes the common convention of treating a run of capitals as one unit.