全球免费使用

字数和字符计数器

在本地统计单词、可见字符、段落和行数,并按语言进行分词。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

Essays, job applications, meta descriptions, social posts and translation quotes all come with word or character limits. This counter reports words, characters, lines and paragraphs for any text you paste, and it splits words using your browser’s language rules, so hyphenated words, contractions, accented letters and languages written without spaces are handled sensibly.

The text never leaves your device, which matters when you are counting a confidential report or an unpublished manuscript.

使用方法

  1. Paste or type your text into the box.
  2. Run the count.
  3. Read words, characters (visible characters, so an emoji with a skin tone counts once), lines and paragraphs.
  4. Edit the text and run it again until it fits your limit.

计算原理

Words are found with Intl.Segmenter word segmentation for the page language, counting only word-like segments. Characters are counted as grapheme clusters, the units a reader sees. Paragraphs are blocks separated by blank lines.

计算示例

Pasting "The quick brown fox." followed by a blank line and "It jumped over the lazy dog–twice! 東京 is two characters." gives 15 words, 78 characters, 3 lines and 2 paragraphs. The dash between "dog" and "twice" separates two words, and the Japanese place name counts as its own word.

示例输入和结果

你好 世界 → 2

局限性

  • Up to 100,000 characters per count.
  • Counts may differ slightly from other software because word rules differ.
  • It does not count syllables or sentences; the readability checker does.

最后更新:

常见问题

Why does my word processor show a different count?

Programs treat hyphens, dashes, numbers and URLs differently. Microsoft Word, for example, counts "dog–twice" as one word. Small differences are normal.

Are spaces counted as characters?

Yes, spaces and line breaks are included in the character count, as most character limits (such as social posts) count them.

Can it count words in Chinese or Thai?

Yes. Word boundaries come from your browser’s language data, which supports languages without spaces between words.

故障排除

The count seems high after pasting from a PDF.

PDFs often add line breaks and hyphenation. Clean the text with the whitespace cleaner first.

Emoji count as several characters elsewhere.

Some sites count code units, where one emoji can be 2 to 7 units. This tool counts what you see.

Paragraph count is 1 although I have several.

Paragraphs are separated by a blank line. Single line breaks count as lines, not paragraphs.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步