DM Tool Studio logoDM Tool Studio

Text Statistics

Paste text and get character, word, line and paragraph counts, the top 20 most frequent words, and a version with duplicate lines removed. Everything runs in your browser; your text is never uploaded.

Paste text

Top 20 most frequent words

Word frequency will appear here…

De-duplicated lines — first occurrence kept, blank lines dropped

How to use

1. Paste text on the left. 2. Click Count. 3. Read the counts above, the word-frequency table on the right, and the de-duplicated text below — copy it or download it as a .txt file.

FAQ

Is my text uploaded? No. Counting, frequency and de-duplication all run in your browser; nothing passes through our server.
What counts as a word? An English word is a run of letters (digits and apostrophes stay attached, so don’t counts as one word); each Chinese character counts as one token in the frequency table, because Chinese has no spaces between words. Numbers count as tokens too.
How are characters counted? By code point, so an emoji counts as one character, not two. “Characters without spaces” excludes all whitespace, including newlines and tabs.
What counts as a paragraph? A block of non-empty lines separated by one or more blank lines.
How does de-duplication work? Lines are compared exactly, including case and surrounding spaces — “Hello” and “hello” are different lines, and a line with a trailing space is different from the same line without one. Only the first occurrence is kept; blank lines are dropped entirely.
Why only the top 20? The table shows the 20 most frequent tokens. Ties are listed alphabetically so the result is the same every time you run it on the same text.