Case converter
Sentence case, title case, camelCase, snake_case: each style has a place. Here is when to use which, and how to convert text in the editors you already have.
How to use
Pick the style for the job
Use sentence case for body text and most headings, title case for formal titles, camelCase or snake_case for code identifiers, and kebab-case for URLs and file names.
Convert in a word processor
In Word, select the text and press Shift+F3 to cycle through lowercase, UPPERCASE and Capitalize Each Word. In Google Docs, use Format, then Text, then Capitalization.
Convert in a code editor
In VS Code, open the command palette and run Transform to Uppercase, Lowercase or Title Case. Extensions add camelCase, snake_case and kebab-case conversion.
Check names and acronyms
Automatic conversion lowercases acronyms and proper nouns. Look over the result and restore names like NASA or iPhone by hand.
Frequently asked questions
What is the difference between sentence case and title case?
Sentence case capitalises only the first word and proper nouns, like a normal sentence. Title case capitalises most words, usually skipping short articles and prepositions such as a, the and of.
Which case should I use in URLs?
Use lowercase kebab-case, such as my-page-title. Search engines treat hyphens as word separators, and lowercase avoids duplicate pages on servers that treat paths as case sensitive.
Why does converting to title case sometimes look wrong?
Style guides disagree on which small words stay lowercase, and software cannot know your proper nouns or brand spellings. Treat the output as a first pass and check it against the style guide you follow.
More tools
Updated