Camel Case Converter
Convert text into camelCase by splitting on delimiters and case boundaries, lowercasing the first word and capitalizing the rest.
Description
Convert identifiers and phrases to camelCase and report the detected token count.
Camel case joins words without separators, lowercases the first word, and capitalizes later words. It is common for JavaScript variables, JSON properties, and API fields.
When to use Camel Case Converter
- Create a JavaScript-style identifier
- Normalize snake_case, dot.case, kebab-case, or spaced input
- Split acronym-to-word boundaries such as HTTPResponse
How the calculation works
The converter detects lower-to-upper and acronym-to-word boundaries, splits spaces, underscores, hyphens, and dots, then normalizes and joins the tokens.
Interpreting the result
`formatted` is deliberately lossy: original separators and capitalization cannot be recovered. `wordCount` makes the tokenizer's decision visible before the identifier is reused.
Important limitations
- Other punctuation may remain inside a token.
- Reserved words and language-specific identifier rules are not checked.