Case converter
Convert between camel, snake, kebab, pascal and title case
0 chars
0 chars
How words are found
- Anything that is not a letter or a digit separates words, so spaces,
_,-,.and/all work as input. - A lowercase-to-uppercase change is a boundary:
parseData→parse · Data. - In a run of capitals the boundary falls before the last capital when a lowercase letter follows it, which is what keeps acronyms whole:
HTTPServer→HTTP · ServerandparseJSONData→parse · JSON · Data. Use Show tokens to check any name. - Digits are their own word, so
utf8Databecomesutf_8_data. Nothing in the string says whether8belongs toutf. - Acronyms are normalised for camel and Pascal (
HTTPServer→httpServer), following the Go, Java and TypeScript style guides. Title case uses a short list of minor words and house styles differ, so check the result.