Word Counter
Count characters, words and lines as you type.
Switch between upper, lower, camel, snake and other case styles.
Switches between upper, lower, title, camel, snake, kebab and more, updating as you type.
Nine forms at once: UPPER, lower, Title Case, Sentence case, plus camelCase / PascalCase / snake_case / kebab-case / CONSTANT_CASE.
The five identifier forms split on case boundaries: helloWorld becomes hello_world and HTTPServer becomes http_server, so pasting camelCase straight in gives what you wanted.
Identifier forms keep ASCII letters and digits only — CJK, emoji and punctuation are dropped (中文abc测试 → abc) — while the other four forms leave those characters alone.
Sentence case only capitalises the start of the string and letters after an English period plus space; Chinese full stops, question marks and exclamation marks are not treated as sentence boundaries.
All nine rows update as you type and each has its own copy button, with nothing to switch between.
Paste the text
All nine results are computed at once and update as you type.
Look at the identifier rows first
camelCase for variables, kebab-case for file names, CONSTANT_CASE for constants.
Check the word split
Camel humps and acronyms split on case boundaries; if the split is wrong, add a separator in the source and paste again.
Copy
Use the copy button on the target row so selecting the block does not drag the row label along.
Because the publishing rules that keep a / of / the lowercase differ between style guides, so there is no single correct answer. This does the plainest thing — every word capitalised — and you can adjust the few you care about.
Identifiers (variable and file names) are expected to be ASCII: many languages accept Unicode identifiers, but toolchains, URLs and command lines often break on them. Those forms keep letters and digits only. For a variant that keeps CJK, use slug-generator.
It only capitalises the start of the string and letters after an English period followed by a space. Chinese full stops, question marks and exclamation marks are not boundaries, so check mixed-language sentences yourself.
The rule is that the last capital belongs to the next word: HTTPServer becomes http_server and XMLParser becomes xml_parser. Runs of capitals are not subdivided further, so XMLHTTPRequest yields xmlhttp_request.
Count characters, words and lines as you type.
Compare two texts and highlight exactly what changed.
Replace across a whole document, with optional regular expressions.
Strip extra spaces, blank lines and stray markup in one pass.
Drop repeated lines and leave the list unique.
Order lines alphabetically, numerically or by length, in either direction.