Case Converter
Paste your text once and get it in every case at the same time: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, and more. Copy the one you need.
- Characters
- Words
- Sentences
- Lines
About the Case Converter
The case converter changes the capitalisation of text, from everyday styles like Title Case and Sentence case to programming styles like camelCase and snake_case. Every case is shown at once, so you can copy the one you need.
How to use it
- 1 Type or paste your text.
- 2 Find the case you want in the list below it.
- 3 Click Copy, or download it as a .txt file.
Frequently asked questions
What is the difference between title case and sentence case?
Title case capitalises the main words, like "The Lord of the Rings". Sentence case capitalises only the first word of each sentence and the word "I", like "The lord of the rings".
Which words stay lowercase in title case?
Short articles, conjunctions, and prepositions such as a, an, the, and, but, or, of, in, on, at, to, and for, unless they are the first or last word or follow a colon. Words with their own capitals, like iPhone or NASA, are kept as you typed them.
How do I fix text typed in ALL CAPS?
Paste it and copy the Sentence case version. It lowercases everything and then capitalises the start of each sentence and the word "I". Names will need a capital added by hand.
What are camelCase and snake_case?
They are naming styles for code. camelCase joins words and capitalises each one after the first (userName). snake_case uses lowercase words joined by underscores (user_name). CONSTANT_CASE is snake_case in capitals.
What is kebab-case used for?
kebab-case joins lowercase words with hyphens (user-name). It is common in URLs, CSS class names, and file names.
Can I convert a list of variable names at once?
Yes. The programming cases convert each line separately, so a pasted list of names comes back as a list. Existing camelCase names are split correctly, so userFirstName becomes user_first_name.
Does it work with other languages?
Yes. Letters with accents and other alphabets such as Greek and Cyrillic change case correctly. Scripts without capital letters, like Bangla or Chinese, stay as they are.