Case Converter
camelCase, snake_case and kebab-case, all at once
Input
Result
Nothing entered yet
Type a word or sentence and every casing style appears here.
Case changes, spaces, underscores, hyphens and dots are all treated as word boundaries.
The same identifier goes by different names in different places: camelCase in JavaScript, snake_case in Python, kebab-case in CSS, CONSTANT_CASE for environment variables. Type it once and every form is produced together.
How to use
- 1 Type or paste a word, identifier or sentence.
- 2 Every casing style is generated at once.
- 3 Press copy next to the one you want.
Frequently asked questions
How are word boundaries detected?
A boundary is any change from lowercase to uppercase, plus spaces, underscores, hyphens and dots. So "myVariableName", "my_variable_name" and "my-variable-name" all produce the same result.
What is the difference between Title Case and Sentence case?
Title Case capitalises the first letter of every word, as in headings. Sentence case capitalises only the first letter of the whole string, as in ordinary prose.
Does it handle acronyms like "HTTPServer"?
Consecutive capitals are read as one unit, so "HTTPServer" becomes "http_server" rather than "h_t_t_p_server".