GUIDE · COUNTING
Counting words, characters and lines accurately
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 what each measures makes the numbers useful rather than just present.
What each count measures
- Characters — the length of the text, including spaces and usually including line breaks. Relevant for fields with a fixed size: a database column, an SMS segment, a meta description, a URL slug.
- Words — sequences separated by whitespace. Relevant for editing targets, reading-time estimates, translation pricing and assignment limits.
- Lines — the number of rows, which for a list means the number of items. Relevant for planning, batching and for the deduplication and sorting tools on this site, which operate line by line.
Why word counts disagree
Ask three tools for the word count of the same paragraph and you can get three answers. The differences come from how each handles edge cases:
- Hyphenated terms. Is "well-known" one word or two? Different parsers choose differently, and the choice shifts the count.
- Compound scripts. Languages such as Japanese and Thai are not separated by spaces, so a whitespace-based word count reports one "word" for a whole sentence. Character count is the meaningful unit there.
- Punctuation attached to words. "End." and "end" may or may not count as the same token depending on whether punctuation is stripped.
- Trailing whitespace and empty lines. These change character and line counts without changing a single visible word.
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 — state the convention along with the number.
Using the counts on this site
- Watch the input count while you draft. It updates as you type or paste, so you can stay inside a limit without a separate tool.
- Compare input and output after a transformation. Spacing cleanup should leave the word count nearly unchanged. Deduplication changes the line count and the word count together. A sharp mismatch between the two means the transformation did more than you intended.
- Use the line count as your list size. After deduplication, the line count is the number of unique entries — the number to quote when reporting a cleaned list.
- Count before you commit. Checking a limit before pasting into a form avoids discovering the truncation afterwards.
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, not a measurement.
← All guides