Text Case Converter
Convert text to UPPER, lower, Title, Sentence, camelCase or snake_case instantly.
The text case converter instantly transforms any text into six different case formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, and snake_case. All processing happens in the browser with no data sent to any server. It is used by students formatting essay headings, developers converting variable names, and writers proofreading capitalization.
Preview will appear here
Preview will appear here
Preview will appear here
Preview will appear here
Preview will appear here
Preview will appear here
Preview will appear here
Preview will appear here
Preview will appear here
How to Use the Text Case Converter
- 1Type or paste your text into the input box.
- 2Click one of the conversion buttons: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, or snake_case.
- 3The converted text appears instantly in the output area.
- 4Click Copy to copy the result to your clipboard.
When Each Case Actually Gets Used
The nine formats aren't interchangeable styling options — each one is the convention in a specific context, and using the wrong one is usually what makes writing or code look off.
Title Case is for headlines, essay titles, and book/movie names. Sentence case is for body paragraphs and most academic writing (APA and MLA both call for sentence case in reference-list titles). camelCase is the standard for variable and function names in JavaScript, Java, and most C-family languages — studentGpa, not StudentGpa or student_gpa. PascalCase is reserved for class names and React component names in those same languages — GradeCalculator, not gradeCalculator. snake_case is the Python and SQL convention for variables and database column names. kebab-case is what URLs, CSS class names, and HTML file names use, because underscores and capital letters are either invalid or inconsistent across web servers and browsers.
Worked Example: One Phrase, Nine Formats
Running "best study habits for exam week" through all nine converters:
| Format | Result |
|---|---|
| UPPER CASE | BEST STUDY HABITS FOR EXAM WEEK |
| Title Case | Best Study Habits for Exam Week |
| Sentence case | Best study habits for exam week |
| camelCase | bestStudyHabitsForExamWeek |
| PascalCase | BestStudyHabitsForExamWeek |
| snake_case | best_study_habits_for_exam_week |
| kebab-case | best-study-habits-for-exam-week |
Notice "for" stays lowercase in Title Case (it's a short preposition on the tool's minor-word list) but every word is capitalized in camelCase and PascalCase, since programming names have no concept of minor words — capitalization there only marks a word boundary.
A Caveat: These Converters Don't Understand Grammar
Sentence case works purely by position — it capitalizes the first letter of the string and the first letter after any ., !, or ? — so it has no idea what a proper noun is. Convert "the final exam is on friday. good luck!" and you get "The final exam is on friday. Good luck!" — "friday" stays lowercase because nothing in the text told the converter it's a day of the week. The same applies to names, cities, and the pronoun "I": after converting to sentence case, do a quick pass to re-capitalize any proper nouns by hand.
You might also need
Frequently Asked Questions
What is Title Case?
Title Case capitalizes the first letter of each major word. Articles (a, an, the), short prepositions (in, on, at), and conjunctions (and, but, or) are typically lowercase unless they are the first word. For example: The Great Gatsby.
What is Sentence case?
Sentence case capitalizes only the first letter of the first word in a sentence, and proper nouns. It follows standard sentence writing conventions. For example: The quick brown fox jumps.
What is camelCase?
camelCase removes spaces and capitalizes the first letter of each word except the first word. It is commonly used in programming for variable and function names. For example: myVariableName.
What is snake_case?
snake_case replaces spaces with underscores and converts all letters to lowercase. It is widely used in Python, database column names, and URL slugs. For example: my_variable_name.