About this case converter
This converter changes the letter case of any text without retyping it. Use UPPERCASE or lowercase to fix text typed with Caps Lock, Title Case for headings, and Sentence case to turn shouting text back into normal sentences. Developers can turn a phrase or an existing identifier into camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, or dot.case in one step; each line is converted separately, so a list of names stays a list. After converting, the preview shows the same text in all 12 styles so you can compare them.
How to use this converter
- Add your text. Type, paste, or press an example. An example only fills the box.
- Pick a case style. Choose one of the 12 styles; each card shows a short sample of the result.
- Press Convert text. The converted text appears below, along with a preview of your text in every style.
- Copy the result. Press Copy text, or pick another style and press Convert text again.
Frequently asked questions
What is the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every word and lowercases the rest, like a heading. Sentence case lowercases everything, then capitalizes the first letter of each sentence and the word "I". For headline rules that keep short words such as "of" and "the" lowercase, use the Title Case Converter.
How are words split for camelCase and snake_case?
At spaces, punctuation, underscores, hyphens, and dots, and inside existing identifiers where a lowercase letter or digit is followed by a capital. So "getUserID" and "XMLHttpRequest" become get_user_id and xml_http_request. Apostrophes are dropped, so "it's" becomes its.
What happens to line breaks?
They are kept. The programming styles convert each line on its own, which lets you paste a list of names and get a list back. The other styles keep the text exactly as it is apart from the letters.
Are numbers and symbols changed?
No. Only letters change case. In the programming styles, symbols and spaces between words are replaced by the style's separator (_, -, or .) or removed.
Does it work with accented and non-Latin letters?
Yes. Letters such as é, ß, and Cyrillic or Greek letters change case too. Scripts without case, such as Chinese or Japanese, are left unchanged.
What is Title Case vs. PascalCase?
Both capitalize every word, but Title Case keeps the spaces (Hello World) while PascalCase removes them (HelloWorld), which is the naming style for classes in many programming languages.