统计任意文本的字数、字符数、行数和句子数。
如何使用 字数统计
将你的文本粘贴或输入到输入面板。
点击 Run 进行分析。
在输出卡片中查看字数、字符数、行数和句子数。
The Word and Character Counter gives you an instant breakdown of any text: words, characters with spaces, characters without spaces, lines and sentences. Paste or type, and the figures update so you always know where you stand against a limit.
All of this happens in your browser the instant you paste, so even long documents are analysed immediately and nothing you enter is uploaded or stored.
Length limits are everywhere, and overshooting them is easy to do by accident. A tweet caps at 280 characters, an SMS at 160, a search engine typically shows about 155 to 160 characters of a meta description, and essays, abstracts and form fields often have their own word or character ceilings.
Words are counted by splitting on whitespace, so any unbroken run of non-space characters counts as one word and leading or trailing spaces are ignored. It is a simple, predictable rule that matches what most word counts mean in practice.
The two character figures answer different questions. Characters counts everything, including spaces and line breaks, which is what messaging and meta-tag limits measure. Characters without spaces excludes all whitespace, which is closer to how much you actually typed.
Character counting is done by code point, so an emoji or an accented letter counts as one character rather than the two or more units some naive counters report. Sentences are estimated by splitting on . ! and ?, and a block with no ending punctuation still counts as one.
常见问题
文本按空白字符拆分,因此任何连续的非空格字符都算作一个单词。首尾空格会被忽略。
“字符”统计包括空格和换行在内的一切;“不含空格的字符”则排除所有空白字符。
句子通过按 . ! 和 ? 拆分来估算。没有结尾标点的一段文本仍算作一个句子。
嵌入此工具
将此工具添加到你自己的网站。复制下方代码片段即可,它会自动保持最新。
<iframe src="https://monu.tools/embed/zh/word-counter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>相关工具