Skip to main content

Word Counter

Count words, characters, sentences, and paragraphs

Enter your text

Maximum input: 1,000,000 characters. Text stays in this tab only.

Words

0

Total number of words

Characters

0

Including spaces

Characters

0

Without spaces

Sentences

0

Based on punctuation

Paragraphs

0

Separated by blank lines

Reading Time

~0 min

At 200 WPM

Speaking Time

~0 min

At 130 WPM

Characters per word

0

Average word length

Was this Word Counter helpful?

Help us keep tools reliable, fast, and bug-free.

What you can do with Word Counter

  • Count words in text

How this text processing works

Count words, characters (with and without spaces), sentences, and paragraphs in real time, and estimate reading and speaking time.

Example input

Hello world. This is a short test!

Example output

7 words · 34 characters · 28 without spaces · 2 sentences · 1 paragraph · ~1 min reading

Practical workflow

  1. Type or paste your text into the editor; the counters update on every keystroke.
  2. Read the eight cards: words, characters, characters without spaces, sentences, paragraphs, reading time, speaking time, and average characters per word.
  3. Use Copy to grab the text or Clear to start over.

Common use cases

  • Stay within a word or character limit for an essay, abstract, application form, or ad copy.
  • Estimate how long a blog post takes to read or a speech takes to deliver.
  • Check tweet, meta description, or title lengths before publishing.

Important notes and limitations

  • Counting runs in your browser and nothing is stored — the text is gone when you close the tab.
  • Reading time assumes 200 words per minute and speaking time 130 words per minute, both rounded up to the next minute.
  • Sentences are split on . ! and ? characters, so abbreviations such as “e.g.” and ellipses can inflate the sentence count.
  • Input is limited to 1,000,000 UTF-16 code units, and the editor scrolls internally after 420px to keep long text from expanding the page. Character counts use JavaScript UTF-16 code units, so an emoji can count as more than one character. Punctuation-only and whitespace-only fragments do not count as sentences.

Unix CLI wc & regex text metrics commands

Unix wc word, line, and byte count

wc -l -w -c document.txt

Outputs line count, word count, and byte count using standard Unix wc utility.

Exact character count excluding newlines

tr -d '\n' < document.txt | wc -m

Counts multi-byte characters accurately while stripping newline delimiters.

Count occurrences of specific word with grep

grep -o -i '\bkeyword\b' document.txt | wc -l

Searches for whole-word matches case-insensitively and counts total occurrences.

Text Metric Calculation Algorithms & Encoding Comparison

MetricAlgorithm / Boundary RuleMulti-Byte HandlingPlatform DifferenceStandard Formula
Word CountSplits by Unicode whitespace & punctuation delimitersCJK ideographs counted per character, Latin by spaceMicrosoft Word counts hyphens differently than Google DocsCount of matched \S+ tokens
Character Count (with spaces)Counts every Unicode code point including spaces and newlines1 character = 1 code point (Surrogate pairs count as 1)Standard length across all text processorsArray.from(str).length
Character Count (no spaces)Excludes whitespace (\s) from total character countPreserves multi-byte glyphsStandard measure for academic and translation billingstr.replace(/\s/g, '').length
Reading TimeAssumes standard average adult silent reading speedLanguage dependent (English vs CJK)Medium assumes 275 WPM; EasyUtils uses 200-250 WPMWords / 200 = Minutes
Speaking TimeAssumes presentation and speech paceStandard broadcast standardPodcasters and speechwriters assume 130-150 WPMWords / 130 = Minutes

Character count & word boundary troubleshooting

Character count mismatch between JavaScript .length and actual count

Cause: JavaScript's String.prototype.length returns UTF-16 code units. Emojis and extended characters (like 🚀 or 👨‍👩‍👧‍👦) take 2 to 7 code units.

Solution: Use the Intl.Segmenter API or Array.from(str).length to count visible Unicode grapheme clusters accurately.

CJK text (Chinese, Japanese, Korean) word count shows as 1 word

Cause: CJK scripts do not use spaces between words; standard \b word boundaries fail to separate individual words.

Solution: EasyUtils counts individual CJK characters as semantic word equivalents to provide accurate reading time estimates.

Twitter / X post length rejection despite being under 280 characters

Cause: Twitter uses weighted character counting: standard ASCII counts as 1 weight, but CJK characters, emojis, and full URLs count as 2 weights or fixed 23 characters.

Solution: Refer to the platform-specific character limit indicators in EasyUtils to ensure compatibility with social media post bounds.

Continue your workflow

  • Diff Checker — Compare text revisions side-by-side with line and character diff highlighting.
  • LLM Token Counter — Compare character and word counts against BPE tokenizer token counts for LLMs.
  • Slug Generator — Convert text headlines into URL-safe, SEO-friendly slug strings.
  • Text Utilities — Manipulate text case, strip whitespace, remove line breaks, and deduplicate lines.
  • Instagram Line Breaker — Format social media post captions with clean line spacing within character limits.

Frequently asked questions

How are words counted?

The text is trimmed and split on any run of whitespace, so hyphenated words count as one and numbers count as words.

What is the difference between characters with and without spaces?

Characters with spaces is the total length of the text, which is what most platform limits use. Characters without spaces removes every space, tab, and line break.

How is reading time calculated?

Words divided by 200 words per minute, rounded up. Speaking time uses 130 words per minute, a typical presentation pace.

Does it count paragraphs correctly if I use single line breaks?

A paragraph ends at a blank line. Lines separated by a single line break are counted as one paragraph.