TT · TEXT TIDY

GUIDE · COUNTING

Counting words, characters and lines accurately

By ShengFeng · Published 2026-09-27 · Last updated: 2026-10-14

Three numbers appear under each text panel: characters, words and lines. They are simple to compute, but they answer different questions, and the tools that count them disagree more often than people expect. Knowing exactly what each one measures turns the numbers from decoration into evidence you can act on.

What each count measures

The three counters and where each one matters
Counter What it counts Where it is the number that matters
Characters Every code point in the text, including spaces and line breaks Fixed-size fields: a database column, an SMS segment, a meta description, a URL slug
Words Runs of non-whitespace separated by whitespace Editing targets, reading-time estimates, translation pricing, assignment limits
Lines Rows in the text, counted by splitting on line breaks List size, batching and planning, and the input to sorting and deduplication

How these three are computed here

Small implementation details change counts, so it is worth stating them plainly. All three counters use the same rules on every page of this site:

A worked example

Take a short text that mixes scripts, a line break and a hyphen:

Hello 世界
Well-known term.
Counting the example above
Counter Value Why
Characters 25 Five for “Hello”, one space, two for the CJK characters, one line break, ten for “Well-known”, one space, five for “term.”
Words 4 Hello, the CJK pair, Well-known and term. — separated by whitespace and by the line break
Lines 2 One line break splits the text into two rows

Note that Well-known counts as a single word here, because the split is on whitespace and the hyphen is not whitespace. Note also that the two CJK characters count as one “word” — see the next section for why that is a known limitation rather than an error.

Why word counts disagree between tools

Ask three tools for the word count of the same paragraph and you can get three answers. The differences come from how each one handles edge cases:

None of this makes a count wrong; it makes counts convention-dependent. When a count is used for something consequential — a submission limit, a price, a hard field size — state the convention along with the number, or quote the number together with the tool that produced it.

Using the counters on this site

  1. Watch the input count while you draft. It updates as you type or paste, so you can stay inside a limit without opening a second tool.
  2. Compare input and output after a transformation. Cleaning spacing should leave the word count unchanged. Deduplication changes the line count and the word count together. A sharp mismatch means the transformation did more than you intended.
  3. Use the line count as your list size. After deduplication the line count is the number of unique entries — the number to quote when you report a cleaned list.
  4. Count before you commit. Checking a limit before pasting into a form avoids discovering the truncation afterwards.

Character counts in fields with hard limits

Some limits are enforced by a machine and measured in characters rather than words. A database column has a maximum width; a social post has a hard ceiling; a form may reject anything over a fixed length. In those cases the character count is the only number that matters, and it is worth knowing what it includes. Here it includes every code point: spaces, tabs, line breaks and punctuation all count, because they all occupy a position. A passage that reads as 200 words can be 1,300 characters or 1,150 depending on how much whitespace and punctuation it carries, so the word count is no guide at all to whether it will fit.

The practical habit is to paste the text, read the character count, and compare it against the limit before you attempt to submit anything. Discovering the truncation after a form rejects the text means editing under pressure, and editing under pressure is how the important sentence gets cut instead of the padding.

Translating a count into a quote

Translation and transcription are frequently priced per word, which turns the count into a figure with money attached. That is precisely the situation where the convention matters most, because a quote that assumes one convention and an invoice that assumes another can differ by several percent — enough to matter on a long document. Before accepting a per-word price, agree the convention in writing: whether numbers and symbols count, whether hyphenated compounds count as one word or two, whether the figure is taken on the source text or the target text, and which tool produced it. One sentence of agreement at the start is cheaper than an argument at the end.

Reading time and other derived numbers

Word counts are often turned into reading time by dividing by a fixed rate. That estimate is rough by construction: it ignores difficulty, layout, rereading and the difference between skimming and studying. Treat any words-per-minute conversion as a planning aid rather than a measurement, and remember that a count of 500 words is the same number whether the text is a dense legal clause or a friendly note — the number is silent about which one you have. For the practical targets used in essays and in search content, see Word counts for essays and SEO.

Frequently asked questions

Does the character count include spaces and line breaks?

Yes. It counts every code point in the text, including spaces, tabs and line breaks. That is the right measure for a fixed-size field, where those characters take up space too.

Why does my word count look lower than another tool reports?

Most often because of hyphenated terms or punctuation. This counter splits on whitespace only, so a hyphenated compound counts as one word and a word with attached punctuation counts as one.

How is a Chinese or Japanese sentence counted?

As a single word, because there are no spaces to split on. Use the character count for those languages — it is the meaningful unit, and it is what editors and translation pricing agreements usually reference.

Is one emoji one character?

Usually one code point, so it counts as one character. Emoji that carry a variation selector or join two symbols together count as more than one, which is the technically correct answer even though it looks surprising.

← All guides