Case Types
- camelCase — helloWorldExample
- PascalCase — HelloWorldExample
- snake_case — hello_world_example
- kebab-case — hello-world-example
- SCREAMING_SNAKE — HELLO_WORLD_EXAMPLE
- dot.case — hello.world.example
Developers and writers constantly switch between naming conventions: JavaScript uses camelCase for variables, Python uses snake_case, CSS uses kebab-case, and SQL uses UPPER_CASE. This converter handles all common cases in one click, including Title Case with smart handling of articles and prepositions.
camelCase: first word lowercase, subsequent words capitalised — used in JavaScript, Java, and JSON keys. PascalCase (UpperCamelCase): all words capitalised — used for class names in most OOP languages. snake_case: words separated by underscores, all lowercase — Python, Ruby, database column names. kebab-case: hyphen-separated — CSS class names, URL slugs, HTML data attributes. SCREAMING_SNAKE_CASE: uppercase snake_case — constants in Python, C, and Rust.
camelCase starts with a lowercase letter (e.g. myVariable). PascalCase starts with an uppercase letter (e.g. MyClass). Both join words without spaces or separators.
kebab-case is the universal convention for CSS class and ID names: .my-component, #nav-bar. CSS is case-insensitive for class selectors, but kebab-case is the community standard.
Standard English Title Case capitalises all words except articles (a, an, the), coordinating conjunctions (and, but, or), and short prepositions (in, on, of, at) — unless they are the first or last word of the title.
All uppercase with underscores as separators — MAX_RETRY_COUNT, DEFAULT_TIMEOUT_MS. Used for constants in Python, C, Rust, Java, and most languages to signal that a value should not be mutated.
See also the Batch Slug Generator, Text Whitespace tools, and Word Count.