Skip to content
cosmodev ~/tools/text-stats

텍스트 통계 & 가독성

Text & String

단어, 문장, 단락, 문자, 줄 수와 읽는 시간을 세고, Flesch Reading Ease 및 Flesch-Kincaid 학년 수준 가독성 점수를 제공합니다.

결과
문자 수
122
공백 제외
100
단어 수
23
문장 수
3
단락 수
1
줄 수
1
음절 수
30
읽기 시간
7s
말하기 시간
11s
Flesch 용이도
88.7
학년 수준
2.8
난이도
Very Easy

(문서는 영어)

What it does

Analyzes pasted text and reports 12 statistics in one grid: characters (with and without spaces), words, sentences, paragraphs, lines, syllables, reading time, speaking time, Flesch Reading Ease, Flesch-Kincaid grade level, and a plain-English difficulty label from Very Easy to Very Hard. It opens on a pangram sample so every tile has a value immediately, and Copy as JSON exports the raw numbers behind the tiles.

The counts are deterministic: reading time assumes 200 words/minute, speaking time 130 wpm, and readability uses the standard Flesch formulas (206.835 − 1.015 × words/sentence − 84.6 × syllables/word) with a vowel-group syllable heuristic. 100% client-side.

How to use it

  1. Paste (or type) text into the Text box - the grid updates on every keystroke.
  2. Click Sample to reload the built-in pangram paragraph, or Clear to empty the box.
  3. Read the tiles: counts along the top rows, then reading/speaking time (formatted as 7s / 2m 41s), then the two readability scores and the difficulty label.
  4. Click Copy as JSON to get the full statistic object (including the millisecond times and null for unavailable scores).

Examples

Verified by running analyzeText() from src/lib/textStats.ts - the exact function the tool calls. The tool’s default sample text (The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs. How vexingly quick daft zebras jump!):

{
  "characters": 122,
  "charactersNoSpaces": 100,
  "words": 23,
  "sentences": 3,
  "paragraphs": 1,
  "lines": 1,
  "syllables": 30,
  "readingTimeMs": 6900,
  "speakingTimeMs": 10615,
  "fleschReadingEase": 88.7,
  "fleschKincaidGrade": 2.8,
  "readabilityLabel": "Very Easy"
}

The time tiles format those milliseconds: Reading time 7s, Speaking time 11s.

A short sentence shows how the scores skew for easy text - The cat sat on the mat. gives 23 characters, 18 without spaces, 6 words, 1 sentence, 6 syllables, Flesch 116.1, grade -1.4 (yes, negative - the formula goes below zero for very short, simple sentences), label Very Easy, reading time 2s.

An empty box reports all-zero counts, and the readability scores become null (shown as -) because there are no words to measure.

Good to know

  • Private: analysis runs entirely in your browser.
  • Sentences are counted by terminal punctuation (., !, ? followed by a space or end); text with words but no terminal punctuation counts as one sentence.
  • Paragraphs are separated by blank lines; lines are split on \n (a single unbroken line counts as 1).
  • Syllable counting uses a vowel-group heuristic with silent-e handling - accurate for most English, approximate for unusual words, and skipped entirely for text with no Latin letters.
  • A word is a run of letters, digits, apostrophes, and hyphens - so don't and state-of-the-art each count as one word.
  • Related tools: Word & Character Counter, Case Converter, Sort Lines & Remove Duplicates
소스 코드14개 언어

100% 클라이언트 측 · 데이터는 브라우저 밖으로 나가지 않습니다. 도움이 되었나요? 팀원에게 공유해 보세요.