Text Case Converter
Typed a whole paragraph with Caps Lock on? Need a heading in Title Case, or a variable name in camelCase? The Text Case Converter shows your text in eight styles at once: UPPERCASE, lowercase, Title Case, Sentence case, toggle case, camelCase, snake_case and kebab-case.
Paste your text once and copy whichever version you need. It runs in your browser, so nothing you type is stored.
The eight styles and where they are used
- UPPERCASE: short labels and acronyms
- lowercase: tags, email addresses, consistent data
- Title Case: headings and book or article titles
- Sentence case: normal sentences, with a capital after each . ! or ?
- tOGGLE cASE: swaps every letter's case
- camelCase: variable names in JavaScript and Java
- snake_case: Python variables and database columns
- kebab-case: URL slugs and CSS class names
For example, "hello world example" becomes "Hello World Example", "helloWorldExample", "hello_world_example" and "hello-world-example".
Style notes
Title Case here capitalises the first letter of every word, including short words such as "of" and "the". Many style guides keep those small in headings ("The Art of War"), so adjust them by hand if your publication follows such a guide.
UPPERCASE is harder to read in long passages and can read as shouting in messages, so keep it for short labels. Sentence case is usually the most readable choice for body text, buttons and notifications.
How to use this tool
- Paste your text: Type or paste any text into the box.
- See all styles: Every case style appears instantly below.
- Copy the one you need: Copy the version you want to use.
- Clear and repeat: Clear the box to convert something else.
Features
- Eight case styles at once
- Programming styles: camelCase, snake_case, kebab-case
- Sentence case capitalises after every . ! or ?
- One-click copy
- Runs in your browser
Worked examples
One phrase, several styles
Input: "hello world example".
Each style applied to the same words
Result: Title Case: Hello World Example; camelCase: helloWorldExample; snake_case: hello_world_example; kebab-case: hello-world-example.
Who it is for
- Writers and editors: Fix text typed with Caps Lock and format headings.
- Developers: Turn labels into variable, column or CSS class names.
- Marketers: Create slugs and consistent product titles.
Tips
- Lower-case small words in Title Case if your style guide requires it.
- Use kebab-case for URL slugs.
- Avoid long passages in UPPERCASE.
- Check proper nouns after converting to lowercase.
Frequently asked questions
How do I change uppercase text to lowercase?
Paste the text and copy the lowercase version. All styles appear at once, so you can also pick Sentence case to restore normal capitalisation at the start of each sentence.
What is the difference between Title Case and Sentence case?
Title Case capitalises the first letter of every word, as in headings. Sentence case capitalises only the first letter of each sentence, as in normal writing.
What are camelCase, snake_case and kebab-case?
Ways of joining words without spaces, used in programming and URLs. camelCase capitalises each word after the first (myVariableName), snake_case uses underscores (my_variable_name) and kebab-case uses hyphens (my-variable-name).
Does it keep names capitalised?
No tool can know which words are names. After converting to lowercase or Sentence case, check names of people and places and capitalise them by hand.