Case Converter
camelCase, snake_case, kebab-case, Title Case and more.
The naming conventions, and where each belongs
Every codebase settles on a set of casing rules, and the boundaries between them are usually dictated by the language or the format rather than by taste. This tool converts between all of them at once, so you can see every option and copy the one you need.
- camelCase — variables and functions in JavaScript, TypeScript, Java, Swift and Kotlin. Also the standard for JSON keys in most web APIs.
- PascalCase — classes, types, components and interfaces almost everywhere, plus method names in C#.
- snake_case — variables and functions in Python, Ruby and Rust, and the near-universal convention for database table and column names.
- SCREAMING_SNAKE_CASE — constants and environment variables in essentially every language.
- kebab-case — URLs, CSS class names, HTML attributes, file names and command-line flags. Search engines treat hyphens as word separators and underscores as joins, which is why URLs use it.
- Title Case and Sentence case — headings and interface copy. Sentence case has become the default in most modern design systems because it reads faster.
How the conversion works
Each input is first split into words, and that split is the part that is easy to get wrong. The tool handles spaces, hyphens, underscores and dots, plus the transition from a lowercase letter to an uppercase one. Consecutive capitals are treated as an acronym and kept together up to the last one — so parseHTMLResponse becomes parse, HTML, Response, and converting to snake_case gives parse_html_response rather than parse_h_t_m_l_response. Digits attached to a word stay with it.
How to use it
- Paste your text — a single identifier, a heading, or a whole list.
- Leave Convert each line separately on to process a list of names in one pass; turn it off to treat the whole input as one phrase.
- Copy whichever format you need. Every result has its own copy button.
Frequently asked questions
Does it handle acronyms correctly?
Yes. Runs of capitals are recognised as acronyms, so getURLPath splits into get, URL, Path. This is the specific case that trips up most naive converters, which produce get_u_r_l_path.
Why is Title Case different from capitalising every word?
Proper title case leaves short words — articles, conjunctions and short prepositions such as a, the, and, of, in — lowercase unless they begin or end the title. Both forms are shown so you can pick the one your style guide requires.
Does it work with accented or non-Latin characters?
Yes. Case conversion uses the browser's Unicode-aware implementation, so é becomes É and Cyrillic or Greek text converts correctly. Scripts without case, such as Chinese and Japanese, pass through unchanged.
Can I convert a whole file of names at once?
Paste the list and keep line-by-line mode on. Every line converts independently, and the copy button gives you the full converted list ready to paste back.
Is my text sent anywhere?
No. All conversion happens in your browser, so internal schema names and unreleased identifiers are safe to paste.