Tool categories

Text tools

Count, compare, clean up and re-case text

GuideWhy word counts disagreeWord, Google Docs and online counters give different numbers. Here is why, and which to trust.

Text tools earn their place by being exact about small things. A word count that treats "don't" as two words, a comparison that flags every line because of a trailing space, or a sort that puts "item10" before "item2" all create more work than they save. The tools in this section are built around those details, and each page explains the rules it follows so you can predict the result before you paste anything in.

Mixed languages are the normal case

Many documents mix English words with Chinese, Japanese or Korean characters. Spaces separate English words, but Chinese has no spaces, so "counting words" has to mean two different things at once. The word counter reports Latin words and CJK characters separately and then combines them the way Microsoft Word does, which is the convention most editors and submission systems follow. Sorting has the same issue: alphabetical order for Chinese usually means pinyin order, and the line sorter uses your language's collation rules instead of raw character codes.

Your text stays on the page

Drafts, contracts and code often contain things that should not leave your computer. Everything here runs in the page itself. Nothing you type is uploaded, logged or saved in the browser's storage, so closing the tab really does discard it. The only thing the site remembers is settings you choose, such as a preferred view, and the privacy policy lists each of those by name.

Which tool for which job

  • Word counter: words, characters, sentences, paragraphs, reading time and keyword density, updated as you type.
  • Case converter: UPPER, lower, Title Case and Sentence case for prose, and camelCase, snake_case, kebab-case and CONSTANT_CASE for code.
  • Text compare: line-by-line and word-by-word differences between two versions, with options to ignore whitespace and letter case.
  • Sort lines: alphabetical, natural, by length or random order, plus removing duplicates and empty lines.
  • Markdown to HTML: clean HTML or a complete .html file from Markdown, plus a styled version to paste into a WeChat official account article.

Apart from the Markdown converter, each of these works on plain text. Formatting such as bold, colours and links is dropped when you paste, which is usually what you want when the goal is to count, compare or clean the words themselves.

Why counts differ between tools

If a word count here does not match the one in your word processor, the difference almost always comes from links, slashes and dashes, which this counter splits and a space-based counter keeps whole. A sentence with one web address can come out at 20 words here and 17 elsewhere. The guide on why word counts disagree lists every rule, explains how Chinese punctuation is handled and says which count to trust when a limit is strict. It also covers character limits: whether spaces count, and how text messages and posts on X weight Chinese characters.

Working on a long document

For long drafts, a useful routine is to count, cut and compare. Watch the live count while you edit, use the keyword list to spot the words you repeat most, and before sending, compare the new version with the original in the text compare tool so that nothing important disappeared along the way.

↵ to open · Esc to close