Browser-based SEO tool · your keyword list stays in this tab

Keyword Clustering

Group a keyword list into topic clusters by shared word stems and similar spelling, label each cluster with its highest-volume keyword, tag intent from modifier words, and export the result. The grouping is lexical: it looks at words, not at what Google ranks.

Lexical, not SERP-based. Keywords are grouped when they share word stems and letters, so "sofa" and "couch" stay apart, and "apple pie recipe" and "apple phone price" may be grouped together. Treat the result as a first pass to review, not a content plan.

1. Keywords

Paste one keyword per line, or CSV/TSV with a header such as keyword, volume. Up to 5,000 keywords, 10 MB.

Open a keyword CSV

CSV, TSV or TXT

2. Similarity threshold

Higher means tighter clusters and more of them. Changing it re-groups instantly; the comparisons are not repeated.

0.55

Similarity is 0.6 x Jaccard overlap of word stems + 0.4 x Dice overlap of character trigrams, and two groups merge when the average similarity over all pairs between them is at least the threshold, with pairs below the threshold counting as 0. Pairs below 0.30 or with no stem in common are never joined.

How intent is tagged

A keyword takes the first matching group in this order; a cluster takes the most common intent among its keywords. Keywords with none of these words are Unclassified.

  • Transactional buy, purchase, order, price, prices, pricing, cheap, cheapest, discount, coupon, deal, deals, sale, shop, for sale, free shipping, near me, hire, book, subscribe, download
  • Commercial best, top, review, reviews, vs, versus, compare, comparison, alternative, alternatives, recommended, rated, worth it, pros and cons
  • Navigational login, log in, sign in, signin, sign up, account, official, official site, website, homepage, contact, customer service, app, dashboard, portal
  • Informational how, what, why, when, where, who, which, guide, tutorial, tips, learn, meaning, definition, examples, example, ideas, idea, steps, can i, does, is it, difference between, vs.

Keyword Clustering from a CSV

Operator: Abdulla Al Fahad. How tools are built and checked

A research export of 3,000 keywords is a flat list, and before anyone writes a page it has to become topics: which of these phrases are really one subject, and which deserve a page of their own. The strongest signal for that is overlap in what search engines rank for, and this tool does not use it.

What it does do is group by the words themselves, entirely in your browser, with settings you can see. Keywords are normalised, reduced to stems, compared, and merged into clusters at a similarity threshold you control with a slider. Each cluster is labelled with its highest-volume keyword, given an intent tag from modifier words, and exported with volume totals. It is a quick, free first pass for lists that mostly differ by modifiers, such as "best", "for women" or "price", and a poor fit for lists where the same idea is phrased with different words.

Key features

  • Up to 5,000 unique keywords from pasted lines, CSV, TSV or TXT, with automatic header detection and volumes such as 1,200 or 1.2k
  • A from-scratch Porter stemmer, so "shoes", "shoe" and "shoeing" count as one word and "running" matches "run"
  • Stopword removal that deliberately keeps how, what, why, vs and near, because they signal intent
  • A threshold slider from 0.30 to 0.95 that re-groups without repeating the comparisons
  • Cluster labels from the highest-volume member; ties go to the shorter keyword, then alphabetical
  • Intent tags (informational, commercial, transactional, navigational) from a rule list printed on the page
  • Cluster table with member lists, search, intent filter and minimum size; downloads of clusters, of one row per keyword, and an XLSX whose cluster volumes are SUMIFS formulas

How keywords are normalised, compared and merged

Each keyword is lower-cased, apostrophes are removed, and it is split on anything that is not a letter or digit. Stopwords are dropped (a, the, for, of, in and similar) unless that would leave nothing, and each remaining alphabetic word is stemmed with Porter's 1980 algorithm. The stems become a set. A second set is built from character trigrams of the sorted stems, which lets two spellings of nearly the same word count as close.

Similarity between two keywords is 0.6 times the Jaccard index of their stem sets plus 0.4 times the Dice coefficient of their trigram sets. "running shoes" and "best running shoes" share two of three stems and score about 0.70; "running shoes" and "running shoes for women" score about 0.69. Only pairs that share at least one stem and score 0.30 or more are compared, which is what keeps a 5,000-keyword list fast: a realistic list produces roughly a million such pairs and clusters in about a second.

Clusters are built by average linkage. Every keyword starts alone, and the two clusters with the highest average similarity merge, as long as that average is at least the threshold. The average is taken over every pair between the two clusters, and a pair that scores below the threshold, or shares no stem, counts as zero. That makes a cluster hard to extend: a keyword that is close to one member but distant from the others is diluted by the others and stays out. Order matters too, because the closest pairs join first and later keywords are judged against whole groups. If the list contains so many overlapping words that more than 2,000,000 comparable pairs result, the page stops and asks you to split it.

Intent comes from modifiers. A keyword is checked against four word lists in the order transactional, commercial, navigational, informational and takes the first group that matches, so "best price" is transactional. The cluster's intent is the most common intent among its members, with ties resolved in the same order; keywords that match nothing are left Unclassified and do not vote. These lists are heuristics, printed on the page so you can judge them, and they are English only.

How it works

Pressing Cluster keywords parses the list, merges exact duplicates (keeping the larger volume), and builds the stem sets and trigram sets. The comparison pass runs in slices so the page stays responsive, shows progress and can be cancelled. The resulting pair scores are kept in memory, so moving the slider only repeats the merge step, after a short pause once you stop dragging.

Common use cases

  • Grouping a 2,000-row export from a keyword research tool into topics before planning a content calendar
  • Finding which modifier variants (best, for beginners, price) cluster under the same head term
  • Checking Search Console queries for near-duplicate phrasings that compete for the same page
  • Splitting a paid-search term list into ad groups by shared stems before refining by hand

How to use this tool

  1. Paste keywords one per line, or open a CSV with a header such as keyword and volume.
  2. Press Cluster keywords and wait for the progress bar to finish.
  3. Drag the threshold until clusters look like topics: lower merges more, higher splits more.
  4. Filter by intent or minimum size, expand members to check them, then download the clusters, the keywords by cluster, or the XLSX.

Example

19 keywords with volumes

running shoes 12000, best running shoes 9000, running shoes for women 5400, running shoes for men 4800, trail running shoes 3000, best trail running shoes 1200, waterproof trail running shoes 600, yoga mat 8000, best yoga mat 4000, yoga mats for beginners 900, thick yoga mat 700, how to clean a yoga mat 1100, nike login 500, sofa 1000, couch 900, and four more

Threshold 0.55 (13 clusters; 0.50 gives 11, 0.40 gives 8, 0.70 gives 16)

1  running shoes (3 keywords, 22,200)  running shoes; ...for women; ...for men
2  yoga mat (3, 12,900)  yoga mat; best yoga mat; yoga mats for beginners
3  best running shoes (1, 9,000)  alone, although it scores 0.705 against "running shoes"
4  trail running shoes (3, 4,800)  trail; best trail; waterproof trail
...sofa and couch stay separate: they share no stem
Why "best running shoes" is left out: it scores 0.705, 0.556 and 0.537 against the three members of cluster 1; the last is below 0.55 and counts as zero, so the average is (0.705 + 0.556 + 0) / 3 = 0.42. At threshold 0.50 all three scores count, the average is 0.60, and it joins (running shoes becomes 4 keywords).

Tips for best results

  • Start near 0.55 for head-term-plus-modifier lists and move in steps of 0.05; watch the cluster count, not just the table.
  • If a broad head term swallows everything at a low threshold, raise the threshold and let modifiers split it, or run the list again with the head term removed.
  • If "best ..." or "for ..." variants keep landing outside their head term, lower the threshold a notch, or keep them apart and use the keyword_intent column in the keywords CSV to split a cluster into informational, commercial and transactional pages.
  • Run singular and plural variants as they are; the stemmer already treats them as one word, so there is no need to clean them first.
  • Compare your clusters with the live results for a few sample keywords from different clusters. Where Google shows the same pages for two clusters, merge them by hand.

Common pitfalls

This is lexical clustering. It cannot tell that "sofa" and "couch" are one topic, and it can join keywords that share a word but not a meaning, such as "apple pie recipe" and "apple phone price". SERP-based clustering is better at both, at the cost of fetching search results.

Intent tags are keyword rules, not an analysis of what ranks. A keyword containing "app" is tagged navigational even when someone is asking about apps in general. Check the cluster before relying on its tag.

Stopwords and the stemmer are English. Other languages cluster only on identical words and similar spelling.

A cluster's total volume adds the volumes of its keywords. Overlapping phrases such as "yoga mat" and "best yoga mat" are counted by tools separately, so the sum can exceed the real number of searches for the topic.

Common errors and how to fix them

"... is more than the 5,000 this page clusters at once"
Split the export by topic, by letter or by volume band and cluster each part. Keywords in different parts will not be compared with each other.
"These keywords share so many words that more than 2,000,000 comparable pairs result"
The list is dominated by a few words, for example 4,000 phrases that all contain the same head term. Cluster it in smaller parts or remove the common head term first.
Volumes show as 0 for some keywords
A cell was not a plain number. Use 1200, 1,200 or 1.2k; text such as "10K-100K" ranges cannot be read and the page notes how many were skipped.

Best practices

  • Keep the volume column from your source tool; clusters are only as useful as the labels, and labels come from volume.
  • Review the largest clusters first, since a loose merge there affects the most keywords.

What the Porter stemmer does and does not do

Stemming strips suffixes by rule so related word forms meet at the same string: caresses becomes caress, ponies becomes poni, relational becomes relat, connection, connected and connecting all become connect. The stems are not always real words, and that does not matter because they are only used to compare.

It is rule-based, so irregular forms are missed ("mice" and "mouse"), and it sometimes joins words that differ in meaning, such as "universal" and "university". For keyword lists, which are short noun phrases, those cases are rare enough that the speed and predictability are worth it.

Frequently asked questions

Why are sofa and couch in different clusters?

The tool compares words and spelling only. Joining synonyms needs either a thesaurus or search-result data, and this tool uses neither.

What does the threshold actually mean?

It is the lowest average similarity at which two groups of keywords may merge. Similarity runs from 0 to 1, where 1 means identical stems. Around 0.55 a keyword merges with another that shares most of its stems; at 0.8 it needs to be almost the same phrase.

Does the XLSX update if I edit volumes?

Yes for the totals: the cluster volume column on the Clusters sheet is a SUMIFS over the Keywords sheet. The clusters themselves are fixed in the file; change the threshold on the page and download again to regroup.