Why is the Thai word count different for each website? How do you use KrobClick's Word Counter?

Two websites may give different counts for the same Thai text. Thai does not put spaces between every word, so examine how each tool segments the text before deciding that a count is wrong.

A magnifier inspects divisions on a paper strip, representing Thai word segmentation

Not all Thai words are separated by spaces. The results can therefore be different.

Different Thai word counts do not necessarily mean one site is wrong. In 'วันนี้อากาศดี' there are no spaces between the words. Splitting only on spaces could count it as one word, although readers recognize several. MDN explains that Intl.Segmenter can segment text by language into words, sentences or visible character units.

KrobClick's word counter uses the countText function to call Intl.Segmenter('th', { granularity: 'word' }) and counts the segments that isWordLike marks as word-like. It can separate Thai words written together, though the result still depends on the browser's segmenter.

How to use the word counter

  1. Open KrobClick word and character counter
  2. Type or paste the desired text into the text field.
  3. View word counts, characters with and without spaces, sentences, paragraphs, lines, and estimated reading minutes
  4. Counts update when you edit the text field. Use Clear data to start again.
  5. If a task has specific word-count requirements, check the recipient's criteria before treating this count as final

In the current design, counting happens in the browser; the text is not sent to an external AI. The tool says the text stays on the page and disappears when you close or reload it. Avoid pasting confidential text on a shared device or into a browser with untrusted extensions.

Words, characters, sentences, and paragraphs differ

ValueHow the current code countsPrecautions
WordsUses the browser's Thai word segmenter and counts word-like segmentsProper names and compounds may be segmented differently
CharactersCount Unicode code points from textDoes not always equal the number of visible characters
Excluding spacesRemove whitespace characters from the number of code points.Punctuation still counts
SentencesUses the browser's sentence segmenterThai writing and different symbols may give different results.
ParagraphsSplit by blank lines between textJust a new line, not necessarily a new paragraph.
Reading timeRounded up from the number of words divided by 200 words per minute.This is only an assumption, not every reader’s reading time.

Check it yourself: 401 words gives an estimated 3-minute reading time

Estimated reading time uses this formula in the code: readingMinutes = max(1, ceil(words/200)) for text with at least one word. If the count is 401 words, ceil(401/200) = 3 minutes; 200 words yield 1 minute. This checks the tool's calculation, not the reading speed of every Thai reader.

The Thai text 'ก้' may look like one character unit, but it contains more than one Unicode code point. The 'characters' figure is therefore neither a visible grapheme count nor a measure of text width on screen.

Check before delivery: Which count suits each type of work?

Word count and reading time are useful estimates of a post's length. If the limit is 'no more than 1,000 characters,' ask whether spaces and punctuation count and how the recipient counts Unicode. For contests or academic work, follow the organizer's stated rules.

Before submitting, check the same text using the recipient's method and specify whether you report words or characters, with or without spaces. Browser versions may segment words differently. This article does not compare accuracy against other vendors' counters.

Open toolCount words and characters KrobClickPaste Thai text to see word, character, and sentence counts and reading time

Sources

Code at commit 531ed55 and MDN documentation reviewed on October 17, 2026. The 401-word reading-time example, code point counting, and paragraph counting were tested in Chromium/Firefox. Human reading speed was not measured, and accuracy was not compared with other websites. Word segmentation may vary by system and browser version.