Word Frequency Counter
In "the quick brown fox jumps over the lazy dog the end", the word "the" appears 3 times out of 11 words, which is 27.3%.
How to use
- Paste or type your text.
- Set the options: ignore case, skip common English stop words, a minimum word length and how many rows to show.
- Read the table of words, counts and percentages. Copy it as CSV if you want to open it in a spreadsheet.
How it works
Words are split with the browser's Unicode word segmenter (Intl.Segmenter), which follows the Unicode text segmentation rules. Punctuation and spaces are dropped, and numbers count as words. If a browser lacks the segmenter, a simpler rule is used that treats runs of letters and digits as words.
Each word is counted, then rows are sorted by count from high to low. Words with the same count are sorted alphabetically.
Percent is a word's count divided by the number of words counted, multiplied by 100. Words removed by the stop word list or the minimum length are not counted, so the percentages always add up over the words that remain.
Japanese is split by dictionary-based rules in browsers that support it. Korean is split at spaces, so word endings stay attached, for example 고양이 and 고양이를 are different entries.
FAQ
Does it work for Korean and Japanese?
Yes, text in any script is split into words. Japanese has no spaces, so the browser's dictionary-based segmentation is used and the result can differ slightly between browsers. Korean words keep their particles, so a noun and the same noun with a particle count as separate words.
What are stop words?
Very common English words such as the, and, of and to. Removing them makes the meaningful words stand out. The list holds about 100 words and applies to English only.
Are "Apple" and "apple" the same word?
Yes by default, because words are lower-cased. Turn off Ignore case to count them separately.
How are contractions like don't handled?
They are kept as one word. A curly apostrophe is converted to a straight one so both spellings match.
Is my text sent anywhere?
No. Counting happens in your browser.