Word frequency analyzer
Find repeated words and rank them by frequency.
How it works
Count word-like segments using the same English-locale browser segmentation as the word counter. Choose exact case matching or lowercase each word before counting. Results default to descending frequency, then first appearance. Choose Least frequent first for ascending counts. Choose alphabetical A–Z to order words using English locale collation. Total and unique counts include all words. Set a minimum occurrence count and a display limit to focus the ranked table on qualifying words.
How words are grouped
For example, Apple apple orange becomes apple (2) and orange (1) when ignoring case. With exact matching, all three words are distinct. Ties follow their first appearance in your text. Lowercase matching uses Unicode default lowercasing, not full case folding, accent removal or normalization; café and cafe remain different. This tool counts words, not phrases, stems or search keywords.
Modern browsers use Intl.Segmenter with English word segmentation and word-like segments; otherwise the tool counts consecutive Unicode letters and numbers. In fallback mode, apostrophes and combining marks can split words, and results may differ across languages and browsers. See Unicode text segmentation (UAX #29). Input is limited to 50,000 UTF-16 units. By default, only the first 200 ranked distinct words are displayed; totals include all words. Set Minimum occurrences to 2 for repeated words only, or to any integer from 1 to 25,000. Set Display limit to an integer from 1 to 200. For Apple apple orange pear orange apple, ignoring case with a minimum of 2 and a display limit of 1 shows apple (3): six total words, three unique words, two qualifying words and one displayed word. Filtering happens after counting; it never changes the total or unique counts. Leave Maximum occurrences blank for no upper limit, or enter an integer from 1 to 25,000 that is at least the minimum. For apple apple apple pear pear orange, a minimum of 1 and maximum of 2 retains pear (2) and orange (1), with six total words and three unique words. Both bounds are inclusive and applied before ordering and the display limit. Filter counted words using literal Contains text (default), Exact counted word, Starts with text or Ends with text (up to 1,000 UTF-16 units); leave it empty for all words. For apple apple pineapple pear, the query apple retains apple (2) and pineapple (1), with four total words in Contains text or Ends with text mode. Exact counted word or Starts with text retains only apple (2). Spaces and punctuation are literal; Ignore case applies to both counting and the query. Enable Exclude matching counted words to invert the selected match for a nonempty query. For apple apple pineapple pear, excluding apple in Contains text mode retains only pear (1); Exact counted word mode retains pineapple (1) and pear (1). An empty query leaves words unfiltered by text even when exclusion is enabled. Total and unique counts and percentages still use the full text. The filter combines with both occurrence bounds before ordering and the display limit. Optional minimum and maximum word lengths count Unicode code points in the counted word after case conversion, not grapheme clusters or UTF-16 units. Leave either field blank for no bound. For a apple pineapple pear, minimum word length 4 and maximum word length 5 retain apple and pear, with four total and four unique words. Length filtering combines with all other filters before ordering and display limits. Choose Shortest words first or Longest words first to order qualifying counted words by Unicode code-point length after case conversion. For pear a apple pineapple, shortest first gives a, pear, apple, pineapple; longest first gives pineapple, apple, pear, a. Equal lengths retain first-appearance order. Select Show word lengths to display the code-point length of each displayed counted word: pear 4, a 1, apple 5, pineapple 9. A supplementary letter such as 𐐀 counts as one code point; lowercasing İ can produce i plus a combining dot, counted as two. The original Word/Count and percentage copy actions retain their original formats. When lengths are visible, Copy displayed words, counts and lengths creates a separate tab-separated Word, Count and Length table. For pear a apple pineapple, the length values are 4, 1, 5 and 9 respectively. Only displayed rows are copied, without ranks, shares or a final line break. Enable both optional columns to use Copy displayed words, counts, lengths and percentages for a separate Word, Count, Length and Share of total words table. In pear a apple pineapple each word has a 25.00% share of the full four-word total; the lengths are 4, 1, 5 and 9. The three other copy formats remain available independently. Choose Alphabetical A–Z to sort all qualifying words before applying the display limit. Choose Alphabetical Z–A for reverse alphabetical order: pear apple banana becomes pear, banana, apple. Both directions retain first-appearance order for words that compare equally. Choose First appearance to list distinct counted words in their original document order: pear apple pear banana apple becomes pear (2), apple (2), banana (1). Filters and the display limit still apply; Position numbers the displayed rows, not source token offsets. Enable Show first occurrence position to see the one-based ordinal of the first counted token in the original text: pear apple pear banana apple gives pear 1, apple 2, banana 4. With first occurrence display enabled, Copy displayed words, counts and first occurrence positions exports these three columns as tab-separated text (for example, banana has count 1 and first occurrence 4). The other copy formats stay separate. The positions use the selected case matching and browser segmentation, stay fixed after filtering or sorting, and are not character offsets. Copy formats remain unchanged. On narrow screens, scroll the expanded table horizontally if needed. For pear pear pear apple apple orange with a minimum of 2 and a limit of 1, frequency order displays pear (3), while alphabetical order displays apple (2). English locale collation can vary with browser locale data; equal comparisons retain first appearance. Choose Least frequent first to see the lowest counts among qualifying words before the display limit. For apple apple pear orange, a minimum of 1 shows pear (1), orange (1), apple (2); with a minimum of 2 only apple remains. Equal occurrence counts retain first appearance in both frequency orders. Ordering does not merge distinct words. The built-in tool processes text locally without storing the input.
Copy the displayed word counts
With apple apple pear orange, minimum occurrences 2, copy the displayed table to a text editor: the first row contains Word and Count, followed by apple and 2 separated by a tab. The copy includes only the displayed words in their current order, without ranks or summary statistics. No final line break is added. Copy is available only for nonempty valid results up to 100,000 UTF-16 units. For spreadsheets, use text import settings if exact word spelling or numeric-looking text matters.
Show each word as a percentage of total words
Enable Show percentage of total words to display each count divided by the full word count, expressed as a percentage rounded to two decimal places. With apple apple pear orange, apple is 50.00%, and pear and orange are each 25.00%. If you filter to apple alone, its share remains 50.00%. Rounded or filtered shares may not add up to 100%. The original copy button still copies only Word and Count, without the optional percentage column. When percentages are visible, use Copy displayed words, counts and percentages for a separate three-column tab-separated result. For the filtered apple row, this includes apple, 2 and 50.00% under Word, Count and Share of total words. All copy actions include only displayed rows. Import the word column as text in spreadsheet software.
Related: Word and character counter · Reading time estimator · Unicode normalizer.