/
[ TEXT STUDIO ]

Content Analyzer: Word Count, Reading Time & Keyword Density

Analyze editorial copy for word count, character count (with/without whitespace), reading and speaking times, and n-gram keyword density.

UPDATED: 2026-11-06
TIME: 5 min read
FORMAT: GFM // MDX

Technical documentation writers, copywriters, and content marketers must balance strict length constraints, estimated reading times, and keyword distribution across publications.

The Content Analyzer performs deep client-side linguistic evaluation in real time as you write or paste text, computing statistical breakdowns with zero latency.


1. Key Metrics & Linguistic Formulas

TERMINAL // CODE
┌─────────────────────────────────────────────────────────────┐
│  • Total Words:          Tokenized whitespace & hyphen words│
│  • Total Characters:     With and without whitespace        │
│  • Sentences & Paras:    Terminal punctuation (. ! ?)       │
│  • Reading Time:         Calculated at 200 words / minute   │
│  • Speaking Time:        Calculated at 130 words / minute   │
│  • Top Keyword Density:  Unigram frequency analysis         │
└─────────────────────────────────────────────────────────────┘

A. Word & Character Tokenization

  • Words: Counted using Unicode-aware regular expression boundaries (/\b\w+\b/u). Hyphenated compound words can be counted together or separately.
  • Characters (With Spaces): Exact UTF-16 code units (essential for SMS limits, Twitter/X thresholds).
  • Characters (Without Spaces): Excludes \s whitespace characters to measure pure typographic density.

B. Estimated Reading & Speaking Velocities

  • Reading Time: Calculated assuming the adult standard reading rate of 200 words per minute (WPM):
TERMINAL // CODE
Reading Time (minutes) = Total Words / 200
  • Speaking Time: Calculated assuming standard presentation speech velocity of 130 words per minute (WPM):
TERMINAL // CODE
Speaking Time (minutes) = Total Words / 130

C. N-Gram Keyword Frequency & Density

Identifies repeated terminology and calculates percentage weight:

TERMINAL // CODE
Density (%) = (Frequency of Word / Total Words) * 100

Words appearing on standard English stopword lists ("the", "is", "at", "which") can be toggled out to highlight meaningful topical keywords.


2. Step-by-Step Workflow

  1. Paste your article draft, README, or blog post into the analyzer text area.
  2. Review the upper statistical scoreboard for instant totals.
  3. Inspect the Keyword Frequency Table to identify overused words or verify that target SEO keywords appear at the desired density (typically 1.5% to 3.0%).
  4. All calculations execute locally in volatile memory; your unpublished drafts are never sent to external servers.