- What is camelCase and when should I use it?
- camelCase writes compound words with no spaces, each word after the first starting with an uppercase letter: helloWorldFoo. It's the standard naming convention for variables and functions in JavaScript, TypeScript, Java, C#, and Swift. Use it for local variables, object properties, and function parameters.
- What is the difference between snake_case and CONSTANT_CASE?
- snake_case writes words separated by underscores in all lowercase: hello_world. CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) uses all uppercase letters: HELLO_WORLD. In Python and Ruby, snake_case is the standard for variable and function names. CONSTANT_CASE is used for constants and environment variable names in most languages.
- What is kebab-case used for?
- kebab-case uses lowercase words joined by hyphens: hello-world-foo. It's the standard for URL slugs, HTML attributes, CSS class names, CSS custom properties (--primary-color), HTML file names, and npm package names. It's also used in YAML configuration keys and GitHub Actions workflow files.
- What is PascalCase used for?
- PascalCase (also called UpperCamelCase) capitalises the first letter of every word with no separators: HelloWorldFoo. It's the convention for class names and constructor functions in JavaScript/TypeScript, component names in React, type and interface names in TypeScript, and class names in C#, Java, and Python.
- What is Title Case and how does it differ from Capital Words?
- Title Case follows AP/Chicago style: major words are capitalised while short function words (a, an, the, and, but, or, in, of, etc.) are lowercase unless they're the first or last word — e.g., 'The Quick Brown Fox Jumps over the Lazy Dog'. Capital Words is simpler: every single word is capitalised regardless of its grammatical role — e.g., 'The Quick Brown Fox Jumps Over The Lazy Dog'. Use Title Case for book titles, headlines, and article titles; use Capital Words for UI labels and navigation items.
- Can I convert multiple strings at once?
- Yes — use the Batch mode (⌘⇧B). Enter one phrase per line in the batch input area, choose your target case, and all lines are converted simultaneously. The output preserves line order and handles empty lines gracefully. Ideal for renaming database columns, slugifying a list of blog post titles, or converting a set of variable names.
- How does Smart Detect work?
- When you paste or type text, the tool uses pattern matching to identify the most likely case of your input — checking for camelCase boundaries, underscore separators, hyphen separators, dot separators, and capitalisation patterns. The detected case is shown as a highlighted badge. When the input is ambiguous (e.g., plain lowercase words), the detection returns null.
- Does this tool work offline?
- All conversions run entirely in your browser using JavaScript. No data is ever sent to a server. The tool works offline as long as the page is already loaded.
- What is COBOL-CASE and who uses it?
- COBOL-CASE writes hyphen-separated ALL-UPPERCASE words: HELLO-WORLD-FOO. It originated in COBOL programming and is still used in mainframe codebases, COBOL field names, and IBM AS/400 programs. It's structurally identical to UPPER-KEBAB-CASE.
- What is Train-Case?
- Train-Case capitalises the first letter of each word and joins them with hyphens: Hello-World-Foo. It's used in HTTP header names (Content-Type, Accept-Language, Cache-Control) and some Ruby on Rails conventions.