Case Converter โ Change Text to Upper, Lower or Title Case
Convert text between twelve cases including camelCase, snake_case and kebab-case.
๐ Runs in your browser โ files never uploaded โก No signup ๐ฏ Free
Convert text between twelve different cases in one click โ from everyday upper, lower, title and sentence case to the programmer conventions camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case and dot.case.
How to use Case Converter
- Paste your text in the top box.
- Click a case to convert.
- Copy the result, or feed it back in as input to chain conversions.
Title case is not just capitalising everything
Proper title case leaves short words lowercase unless they are first or last: articles (a, an, the), short conjunctions (and, but, or) and short prepositions (in, on, at, to, for, of, by). We apply that rule, so โthe lord of the ringsโ becomes โThe Lord of the Ringsโ, not โThe Lord Of The Ringsโ.
Programmer cases and how they are parsed
All the programmer conversions run through one tokeniser, so they round-trip correctly regardless of the input convention. Consecutive capitals are handled properly: XMLHttpRequest becomes xml_http_request, not x_m_l_http_request.
- camelCase โ JavaScript and Java variables
- PascalCase โ class names in most languages
- snake_case โ Python, Ruby, SQL columns
- CONSTANT_CASE โ constants and environment variables
- kebab-case โ URLs, CSS classes, HTML attributes
Frequently asked questions
What is the difference between title case and capitalising every word?
Proper title case leaves short articles, conjunctions and prepositions lowercase unless they are first or last: "The Lord of the Rings", not "The Lord Of The Rings". This tool applies that rule.
Does it handle camelCase and acronyms correctly?
Yes. All programmer cases run through one tokeniser, so XMLHttpRequest becomes xml_http_request rather than x_m_l_http_request.
Is there a length limit?
No hard limit. Conversion happens instantly in your browser for anything up to novel length.