Case converter

Paste text, pick a case and copy the result. Conversion happens in your browser as you type.

What each case does

CaseExampleTypical use
UPPERCASETHE QUICK BROWN FOXHeadings, acronyms, warnings
lowercasethe quick brown foxNormalizing emails, tags
Title CaseThe Quick Brown FoxHeadlines, book and song titles
Sentence caseThe quick brown foxBody text, UI labels
camelCasetheQuickBrownFoxJavaScript variables
PascalCaseTheQuickBrownFoxClass names
snake_casethe_quick_brown_foxPython, database columns
kebab-casethe-quick-brown-foxURLs, CSS classes
CONSTANT_CASETHE_QUICK_BROWN_FOXConstants, environment variables
aLtErNaTiNgtHe QuIcK bRoWn FoXMemes, mocking tone

How the programming cases split words

For camelCase, snake_case and kebab-case the tool splits on spaces, hyphens, underscores, dots and slashes, and also at a lowercase-to-uppercase change. So userID list, user-id-list and user_id_list all become userIdList in camelCase. Each line is converted separately, so you can paste a whole column of names.

Sentence case rules used

Everything is lowercased, then the first letter of the text, the first letter after a period, question mark or exclamation mark, and the first letter of each line is capitalized. A lone "i" becomes "I". Proper nouns cannot be detected automatically, so check names after converting.

Frequently asked questions

What is the difference between Title Case and Capitalize Each Word?
Capitalize Each Word capitalizes every word. Title Case follows a style guide and keeps short words like "and", "of" and "the" lowercase unless they start or end the title.
Does converting case change my original text?
No. The result appears in a separate box; your input stays as typed.
How do I convert a list of variable names?
Paste one name per line and choose camelCase, snake_case or kebab-case. Every line is converted on its own.