Text Case Types Explained
Text case refers to the capitalization pattern of letters. Different contexts — from programming to publishing — require different conventions.
| Case Type | Example | Used In |
|---|---|---|
| UPPERCASE | HELLO WORLD | Headings, acronyms, SQL keywords |
| lowercase | hello world | URLs, CSS class names |
| Title Case | Hello World | Article titles, book names |
| Sentence case | Hello world | Regular sentences, UI text |
| camelCase | helloWorld | JavaScript variables, JSON keys |
| PascalCase | HelloWorld | Classes, React components, TypeScript types |
| snake_case | hello_world | Python variables, database columns |
| kebab-case | hello-world | CSS classes, URL slugs, HTML attributes |
| SCREAMING_SNAKE_CASE | HELLO_WORLD | Constants in most languages |
When Developers Need Case Conversion
- Converting API response field names from
snake_casetocamelCasefor JavaScript. - Generating component names from kebab-case HTML attributes to PascalCase Vue/React components.
- Creating database column names from camelCase model properties.
- Converting copy from a designer (Title Case) to code variable names.
How to Convert Text Case Online
- Go to FavorTool Case Converter.
- Paste your text in the input area.
- Click the target case button (e.g., camelCase, snake_case).
- Copy the converted output instantly.
Title Case Rules
True title case follows style guide rules about which words to capitalize. Generally, capitalize nouns, verbs, adjectives, and adverbs; lowercase articles (a, an, the), short prepositions (in, on, at), and coordinating conjunctions (and, but, or) — unless they start the title.