How do I convert text to UPPER, lower, or camelCase?
Type or paste text, get it back in 11 different case styles. From the basics (UPPER, lower, Title Case) to programmer styles (camelCase, snake_case, kebab-case).
Everything updates live, copy any version with one click.
How to use it
- Type or paste text into the field at the top.
- Below you'll see 11 styles: from UPPER to camelCase.
- Click any to copy it to clipboard.
When this is useful
Situations where case matters:
- Fixing CAPS LOCK text: paste it and pick "Sentence case" or "Title Case". Classic save after a friend forgot to turn off Caps Lock.
- Article titles: "Title Case" is the classic English headline style. Most modern English style guides use "Sentence case", only the first letter is capitalized.
- Programming, variable and function names: JavaScript uses camelCase (myVariable), Python uses snake_case (my_variable), CSS uses kebab-case (my-class), C/C++ constants use CONSTANT_CASE.
- Class names in PascalCase: object-oriented classes are written with each word capitalized, no spaces: `UserController`, `PaymentService`. Standard in Java, C#, TypeScript.
- URL slugs: kebab-case (lowercase-with-dashes) is the standard for web URLs. For a full URL generator use our URL slug generator.
- Joke formats: "mOcKiNg" alternating case is an internet meme for parodying someone's words.
If you need to count characters and words in your text, try the text counter.
Questions and answers
They're conventions for writing compound names without spaces in programming:
- camelCase: first word lowercase, rest capitalized (myVariable).
- PascalCase: every word capitalized (MyClass).
- snake_case: all lowercase, underscore between words (my_variable).
- kebab-case: all lowercase, hyphen between words (my-class).
- CONSTANT_CASE: all uppercase with underscore (MY_CONSTANT).