ToolsWriting

Word Counter

Measure words, characters, punctuation-ended sentences, and a rough reading time while you write. The browser does the counting in this page; your text is not submitted or saved.

writingword counttextlocal processing

How it works

Try it in your browser.

Type or paste prose into the editor to update its counts immediately. The calculations use only the text currently in the field; this module does not submit or save it. Clear the editor before leaving if you do not want the text visible in the open page.

  • Type or paste into the labeled text area; counts recalculate as the value changes.
  • Read the word, character, sentence, and reading-time totals in the statistics panel.
  • Choose Clear text to remove the current value from this page.
Loading Word Counter…

How It Works

A word is a run of Unicode letters or digits. An apostrophe inside a run stays with that word, so a contraction such as “we’re” counts once; a hyphen separates two runs. Punctuation by itself is not a word, and multiple spaces or line breaks do not create extra words. This is a practical editorial convention rather than a dictionary-specific definition.

The character total counts Unicode code points, not bytes, UTF-16 storage units, or what a person perceives as one visual symbol. The second character total removes every character that JavaScript recognizes as whitespace before counting. A combined emoji can contain several code points, so its visible appearance may not correspond to its character total.

Sentence counting looks for groups of period, question-mark, or exclamation-mark punctuation that end before whitespace or the end of the input. If text contains words but no such ending mark, it is treated as one unfinished sentence. Abbreviations, initials, and decimal points can make punctuation-based counts differ from a human editor’s interpretation.

Reading time is a planning estimate at two hundred words per minute. The tool rounds a non-empty result up to a whole minute and shows at least one minute. It does not know the reader, the complexity of the writing, or whether a person will pause to study a diagram or reread a paragraph.

Worked Example

A short line contains a contraction, a hyphenated compound, uneven spacing, and a final question mark.

We’re testing this browser counter. Does it work?
  1. The letter-and-digit rule finds eight word runs; the apostrophe keeps “We’re” together.
  2. The period and question mark each close one sentence group, so the sentence total is two.
  3. Spaces are removed only for the no-spaces character statistic; punctuation remains part of both character totals.

Result: The panel reports eight words, two punctuation-ended sentences, and a one-minute reading estimate. Counts are estimates under the stated rules, not an editorial judgment about the text.

Common Pitfalls / FAQ

Common pitfalls

  • A compound joined with a hyphen counts as two word runs, while a contraction with an internal apostrophe counts as one. Use the result that matches your publication’s own counting policy.
  • A period in an abbreviation or decimal can be read as sentence-ending punctuation when it is followed by whitespace. Review the source text if a sentence limit has legal or editorial consequences.
  • The character figure is a Unicode code-point count. Some emoji and accented letter sequences contain multiple code points even though they appear as one glyph on screen.
  • The reading estimate assumes a fixed pace and does not account for headings, tables, specialist vocabulary, or pauses. Treat it as a rough planning aid rather than a promised duration.

Frequently asked questions

Does the counter send text to a server?

No. The counting functions run in the open page and update from the editor value. This module makes no request with the entered text and does not write it to browser storage.

Why can my count differ from a word processor?

Different products make different choices about hyphens, apostrophes, numbers, abbreviations, and language-specific segmentation. This page publishes its own counting convention so you can decide whether it fits your task.

Does Clear text erase a saved document?

There is no saved document in this tool. Clear text empties only the current editor in the current page; it cannot remove a source file or content kept in another application.