Convert text between different cases: UPPER, lower, Title, camelCase, snake_case, kebab-case, PascalCase, and more.
This free online text case converter helps you quickly transform text between different casing styles used in programming, writing, and design. All conversions run instantly in your browser.
| Case | Example | Used For |
|---|---|---|
| UPPERCASE | HELLO WORLD | Constants, headings, emphasis |
| lowercase | hello world | URLs, file names, emails |
| Title Case | Hello World | Titles, headings, labels |
| Sentence case | Hello world | Regular sentences, descriptions |
| camelCase | helloWorld | JavaScript variables, Java methods |
| PascalCase | HelloWorld | Class names, React components |
| snake_case | hello_world | Python, Ruby, database columns |
| kebab-case | hello-world | URLs, CSS classes, file names |
| CONSTANT_CASE | HELLO_WORLD | Constants, env variables |
| dot.case | hello.world | Object properties, config keys |
| path/case | hello/world | File paths, URL segments |
camelCase is a naming convention where the first word is lowercase and subsequent words start with uppercase letters (e.g., myVariableName). It's the standard convention for variables and functions in JavaScript, TypeScript, and Java.
In camelCase, the first letter is lowercase (myFunction). In PascalCase, the first letter is also uppercase (MyFunction). PascalCase is typically used for class names in most languages and component names in React.
snake_case is the standard in Python, Ruby, and SQL/database column names. kebab-case is preferred for CSS class names, HTML attributes, URLs, and file names. Most style guides are specific about which to use in each context.
For programming cases (camelCase, snake_case, etc.), the converter treats each line independently and converts each line separately. For text cases (UPPER, lower, Title), it converts the entire text while preserving line breaks.