Grouping queries by shared Google results
Why word similarity keeps grouping the wrong keywords
Export a keyword list for almost any topic and you’ll get hundreds of rows that look like variations of each other. The natural instinct is to group them by the words they share. Everything with “running shoes” in it goes in one pile, everything with “trail” in another, everything starting “how to” in a third. It feels tidy and it’s fast.
It also gives you the wrong groups surprisingly often. Two phrases with almost the same words can want completely different pages, and two phrases with no words in common can want exactly the same page. “Best running shoes” and “running shoes sale” share two words and usually want different things: one wants reviews and comparisons, the other wants product listings with prices. “Couch to 5k” and “beginner running plan” share nothing, and they’ll often be satisfied by the same kind of page.
Grouping by words is grouping by how the query looks. What you actually need to know is how Google answers it. And Google has already told you, in public, for free: the results page. If two queries return mostly the same URLs in their top results, Google thinks one page can satisfy both. If they return different URLs, Google thinks they need different pages.
That’s the whole idea behind clustering by shared results, sometimes called SERP overlap clustering. You take each keyword, look at what ranks, and group keywords whose results overlap. This piece is about doing it by hand, or at least understanding it well enough by hand that you can tell when a tool is doing it badly.
It deliberately stops at the clusters. Turning clusters into a keyword map, one page per cluster with a URL and a target, is the next step and it’s covered in the keyword mapping piece. This is the step that feeds it. If the groups going into a map are wrong, the map is wrong too, however neat the spreadsheet looks.
What a shared result actually tells you
It’s worth being precise about what you’re reading when two queries share results, because it’s easy to over-interpret.
When the same URL ranks in the top results for two different queries, it means Google’s systems decided that page was a good answer to both. It doesn’t mean Google considers the queries identical, and it doesn’t reveal anything about how Google internally groups queries. Nobody outside Google knows that, and I’m not going to claim to. It’s an observation about outputs, not a view into the machinery.
But the observation is useful precisely because it’s about outputs. You’re not trying to reverse engineer Google. You’re trying to decide how many pages to write. If one existing page already ranks well for both queries, that’s direct evidence one page can do the job. Writing two pages for those queries means competing with yourself for results that Google is happy to give to a single page.
The opposite also holds. If two queries you assumed were the same return almost entirely different URLs, that’s evidence one page won’t cover both. You might still try, and sometimes a page does rank for both eventually, but you’re going against what the current results say.
A shared result is strongest as evidence when it’s a specific article URL that shares across queries. It’s weakest when the shared URLs are giant generalist pages like Wikipedia, Amazon category pages or a brand’s homepage, which turn up for so many queries that their presence tells you little about intent. More on handling those in a moment.
Pulling the results for each keyword
The raw material is simple: for each keyword, a list of the top ranking URLs. How you get them depends on how many keywords you have.
For a small list, twenty or thirty keywords, you can do it by hand. Open a private browser window, set location to your target market if you can, and search each keyword. Copy the top ten organic URLs into a spreadsheet: one column for the keyword, then ten columns for positions one to ten. Skip ads, skip shopping units, skip the question box. You want the organic results only. It’s tedious but it’s the best way to learn what the data looks like.
For a larger list, you’ll want a SERP API or a rank tracking tool that exports top results for arbitrary keywords. Many SEO tools can give you the top ten URLs for a keyword list as a CSV. The cost varies a lot and depends on volume, so check what your existing tools already include before paying for something new.
Whichever way you pull them, pull them all in one sitting, or at least on the same day from the same location settings. Results shift over time. If you pull half the list this week and half next month, some of the differences you see between keywords will just be differences between weeks.
And keep the date on the sheet. When you come back to it in six months and something looks odd, knowing when the snapshot was taken saves a lot of confusion.
Cleaning URLs before you compare them
Raw URLs from different searches don’t always compare cleanly, so clean them first.
Strip tracking parameters and fragments. A URL with “?utm_source=” or “#section-3” is the same page as the one without, for your purposes.
Normalise trailing slashes and protocol. “https://example.com/guide/” and “https://example.com/guide” are the same page. Pick one form and convert everything to it.
Decide what to do with the generalist domains. Wikipedia, huge marketplaces, major video platforms and giant forums show up across so many queries that they create fake overlap. Two queries sharing a Wikipedia article and a YouTube search result tells you less than two queries sharing a small specialist’s guide. A common approach is to keep them in the sheet but exclude them from the overlap count, or count them with less weight. There’s no right answer here. Just make the choice consciously and apply it consistently.
Decide whether you’re comparing at URL level or domain level. URL level is stricter and is usually what you want: the same page ranking for both queries. Domain level is looser and can mislead you, because a big site might rank a buying guide for one query and a product page for the other. Same domain, different pages, different intents. For clustering, stick to URLs.
This cleaning step is boring and it’s where a lot of automated clustering goes wrong, because the tool made choices you didn’t see.
Counting the overlap
With clean URLs in rows, you can count overlap between any two keywords: how many URLs appear in both top tens.
The simplest version is pairwise. Take keyword A and keyword B, look at their ten URLs each, and count the matches. Zero shared means they’re very likely separate intents. Seven shared means they’re very likely the same intent. The interesting cases are in the middle.
In a spreadsheet, you can do this with a COUNTIF across the row of URLs, or build a small matrix with keywords across the top and down the side, each cell holding the number of shared URLs. For a few dozen keywords the matrix is readable. For hundreds it becomes a wall of numbers, and that’s where a script or a tool earns its keep.
What number counts as “the same cluster”? This is the part people want a rule for, and the honest answer is that it’s a judgment call. Many practitioners and tools use a threshold of around three or four shared URLs in the top ten as the line, with some going higher for a stricter grouping. None of those numbers come from Google. They’re conventions that tend to give sensible groups.
My advice is to pick a threshold, run it, and then look at the clusters it produces with your own eyes. If a group contains keywords that obviously want different pages, raise the threshold. If obvious pairs are being split up, lower it. Treat the threshold as a dial you turn.
Reading the shared pages, not just counting them
A count tells you how many URLs two keywords share. It doesn’t tell you what those URLs are. Before you lock a cluster in, open a few of the shared pages and read them, because the count can hide some odd cases.
Look at what kind of page each shared URL is. If the three URLs that connect two keywords are all buying guides, the two keywords probably both want a buying guide. If the connecting URLs are one buying guide, one forum thread and one homepage, the overlap is weaker than the number suggests. Three shared URLs of the same type is a much stronger signal than three shared URLs of three different types.
Look at where the shared URLs sit. Overlap at positions one to three means Google is picking the same answers first for both queries. Overlap only at positions eight to ten means the queries share some also-rans. A plain count treats those the same. Some people weight overlap by position for exactly this reason, counting a shared result at position one more heavily than one at position nine. You don’t need a formula to do this. Just glance at where the matches are.
Look at what the shared pages actually cover. Sometimes a page ranks for two queries because it’s a long guide that has a section for each, and Google is pointing at different parts of it. That’s still evidence one page can serve both, but it tells you the page needs to be structured to cover both properly, with a clear section for each query rather than a passing mention.
And look at how old the shared pages are. If the overlap between two keywords comes entirely from pages that haven’t been updated in years, the cluster reflects what Google had available, and a fresh page built for just one of the queries might pull them apart. That’s rare, but it happens in niches where nobody has written anything new in a while.
This is quick work for the clusters you care about most. For the rest, the count is usually enough.
Pairwise versus anchored grouping
Once you have overlap counts, there are two common ways to turn them into groups, and they give different results.
Pairwise, or loose, grouping says: if A overlaps with B enough, and B overlaps with C enough, then A, B and C are one cluster, even if A and C don’t overlap much themselves. This produces big clusters. It’s good at catching long chains of related queries, and bad at knowing when to stop. You can end up with a cluster where the first and last keywords want completely different pages, joined only by a string of middle keywords that each overlap a bit with their neighbours.
Anchored, or strict, grouping picks a central keyword for each cluster, usually the one with the most demand, and only puts a keyword in that cluster if it overlaps enough with the anchor itself. Every member has to share results with the centre, not just with some other member. This produces tighter clusters and more of them. It’s better at keeping intents clean and worse at catching queries that sit halfway between two anchors.
For planning pages, anchored grouping is usually the safer default. A page is written around one main query, so checking every member against that main query mirrors how the page will actually work. Loose grouping is more useful for exploring a topic, when you want to see how far a set of queries sprawls before you decide how to carve it up.
You can also run both and compare. Where they agree, you have a solid cluster. Where they disagree, you have a keyword that needs a human to look at its results page and decide.
A worked example on a small list
Let’s make it concrete with a small, made-up list around home coffee. Say the keywords are: best coffee grinder, burr vs blade grinder, best burr grinder under 100, how to grind coffee beans, how fine to grind for espresso, espresso grind size, coffee grinder for french press, how to grind coffee without a grinder, and manual coffee grinder.
Grouped by words, you’d probably get a “grinder” pile of five or six, a “grind” pile of three or four, and “espresso” floating somewhere between.
Now imagine pulling the top ten for each. What you’d typically expect to see (and what you’d need to confirm with a real pull) is something like this. “Best coffee grinder”, “best burr grinder under 100” and “manual coffee grinder” share a lot of buying guides and review roundups. “Burr vs blade grinder” might share a few of those guides, but also pulls in explainer articles that aren’t roundups at all. “How fine to grind for espresso” and “espresso grind size” share almost everything, and those results are grind-size explainers and charts. “How to grind coffee beans” shares some of those explainers. “How to grind coffee without a grinder” is its own world of hacks with rolling pins and blenders. “Coffee grinder for french press” might sit between the buying guides and a set of french press brewing guides.
The shared-results groups come out quite differently from the word groups. The two espresso phrases are one cluster despite the different wording. “How to grind coffee without a grinder” is its own cluster despite sharing most of its words with “how to grind coffee beans”. And “burr vs blade grinder” might deserve its own comparison page rather than being a section in a buying guide.
I’ve described what a pull might show, not what one did show. The point is the method: the groups come from the results, and the results often disagree with your first guess.
When the results page is split between intents
Some results pages don’t have one intent. They have two or three, and Google shows a mix. The top ten might contain four buying guides, three how-to explainers and three product pages. That’s a mixed results page, and it complicates clustering.
A query with a mixed page will overlap partially with several other queries: a few URLs shared with the buying guide cluster, a few with the explainer cluster. With a threshold of three or four, it might end up attached to either, depending on which side it happened to share one more URL with. That’s a coin flip.
When you spot a keyword that sits just over the threshold with two different clusters, go and look at its results page yourself. Ask which kind of page is ranking highest, not just which kind appears most often. If the top three are buying guides and the explainers sit at seven to ten, the buying guide cluster is probably where it belongs, and an explainer page might pick it up as a secondary query.
Mixed pages also tell you something about the query itself. Google is hedging, which usually means real searchers want different things when they type it. That’s a query where you probably shouldn’t build your whole page around it, because whichever intent you pick, part of the audience wanted the other one.
Volatility, location and the snapshot problem
Every overlap count is built on a snapshot of results, and snapshots are noisy.
Results change from day to day, sometimes a little and sometimes a lot. A keyword on a volatile results page might share four URLs with its neighbour today and two next week. If your threshold is three, that keyword flips clusters depending on when you looked. That’s a sign the grouping for that keyword is weak, whichever way the snapshot came out.
Location matters too. The same query in the US, the UK and Singapore can return different sets of URLs, especially for anything with a commercial or local angle. Cluster using results from the market you’re actually targeting. Clustering on US results for a site that serves Australian readers will give you groups that don’t match what your readers see.
Device can shift things as well, although for most informational queries the top results overlap heavily between mobile and desktop. If you’re working on something heavily local, check a mobile pull.
A practical way to handle volatility: for the keywords that land close to your threshold, pull the results a second time a week or two later. If the cluster assignment holds, keep it. If it flips, treat that keyword as a secondary query that can live on either page, and don’t build a page around it.
This is also why I wouldn’t trust a cluster built from a single pull of results that are in obvious flux, for example right after a big Google update when everything is moving.
What tools do and where they go quiet
Several SEO tools now cluster keywords by results overlap automatically. You upload a list, pick a threshold and a grouping style, and get clusters back. They save a lot of time, and for large lists they’re the only realistic way to do it.
But a tool’s clusters are only as good as the choices it made, and most tools don’t show you all of them. Which location did it pull results from? On which date? Did it count generalist domains? Is it matching URLs or domains? Is it using loose or anchored grouping? What did it do with ties?
Before trusting a tool’s clusters, test it. Take ten or fifteen keywords you know well, where you already have a strong opinion about which ones belong together, and run them through. Then check the clusters against your own judgment and against a few manual results page looks. If the tool puts obvious opposites together, find out why before feeding it five hundred keywords.
Also watch how tools handle keywords with very thin results pages. Low-demand queries sometimes return odd results: a mix of loosely related pages, forums and old posts. Those can overlap weakly with everything or with nothing, and a tool will slot them somewhere anyway. A human would notice the results page is a mess and set the keyword aside.
None of this is a reason to avoid tools. It’s a reason to understand the method well enough to audit what they give you.
Re-running the clusters as results move
Clusters age. They’re built from results pages, and results pages change as new content gets published, as Google updates how it ranks things and as the way people search a topic shifts. A grouping that was right a year ago can be wrong now.
You don’t need to re-cluster your whole list constantly. That would be a lot of effort for mostly unchanged groups. But there are a few moments when it’s worth re-running at least part of it.
Before you commit to a big piece of work on a cluster, such as a major rewrite or a new page that’s going to take real time, re-pull the results for that cluster’s keywords and check the grouping still holds. It takes minutes and it can save you writing the wrong page.
After a significant Google update has settled, re-run the clusters for your most important topics. Not in the middle of the turbulence, when results are bouncing around, but a few weeks after, when they’ve steadied. Updates sometimes change which kind of page Google prefers for a query, and that can pull a keyword out of one cluster and into another.
When Search Console shows a page picking up impressions for a query you’d grouped elsewhere, look at it. It might mean the query has drifted towards that page’s cluster, or it might just mean your page is broad. Either way, a quick look at the query’s results page settles it.
And when a topic gets a burst of new content from competitors, the results pages can reshuffle. If you see a cluster of keywords suddenly ranking a set of new pages you haven’t seen before, re-run the overlap for that group.
Keep old snapshots when you re-run. Comparing this quarter’s overlap with last quarter’s shows you which clusters are stable and which keep shifting. Stable ones you can build on with confidence. Shifting ones are telling you the intent behind those queries hasn’t settled, and those pages need to be flexible.
What to do with keywords that don’t cluster
After grouping, you’ll almost always have leftovers: keywords that didn’t overlap enough with anything to join a cluster. It’s tempting to force them into the nearest group so the sheet looks complete. Resist that.
A keyword that doesn’t cluster is telling you something. Sometimes it’s a separate intent that deserves its own page. “How to grind coffee without a grinder” in the example above is exactly that: it shares words with the grinding explainers but its results are a different set of pages entirely.
Sometimes it’s a query with a messy or thin results page, where nothing ranks consistently and there’s no clear signal. Those are worth watching but rarely worth building a page around straight away.
And sometimes it’s a query that’s genuinely on the edge of your topic, the kind of thing that turned up in the export because a tool was being generous. Those can just go.
Sort your leftovers into those three buckets: own page, watch list, discard. The own-page bucket feeds the keyword map alongside the clusters. The watch list gets rechecked in a couple of months. The discards don’t need any more of your time.
One more thing. A single-keyword “cluster” that’s genuinely its own intent is perfectly valid. A page doesn’t need twenty variants to be worth writing. It needs a reason to exist that no other page on your site already covers.
How this feeds the keyword map
The output of all this is a list of clusters, each with a main keyword and a set of secondary keywords that share its results. That list is the input to a keyword map, and it’s worth being clear about the handoff.
Each cluster usually becomes one page. The main keyword is the one you’d write the title and the opening around. The secondary keywords tell you what the page also needs to address, either as sections or as the natural language you use through the piece. The clusters also tell you which pages must not be merged, because Google’s results say they want different pages.
Mapping adds things clustering doesn’t: which existing URL each cluster belongs to, whether you already have a page that covers it, what the page type should be, and where it sits in your site structure. Those decisions depend on your site. Clustering doesn’t know anything about your site. It only knows about the results pages.
That separation is useful. When a cluster looks wrong, you can check the results pages. When a map looks wrong, you can check your site. Mixing the two steps together makes it harder to tell which part went wrong.
The other thing clustering hands to mapping is evidence against cannibalisation. If you already have two pages targeting keywords that turned out to be in the same cluster, you’ve found a likely case of two pages competing for the same results, before it shows up as a problem in Search Console.
What to do on Monday
If you’ve got a keyword list sitting in a spreadsheet, here’s how I’d start.
Take the thirty most important keywords from it, not the whole list. Pull the top ten organic URLs for each, by hand or with whatever tool you already pay for, from the market you target, all on the same day. Write the date at the top.
Clean the URLs: strip parameters, normalise slashes, and decide what to do with the generalist domains before you count anything.
Build the overlap counts, either with COUNTIF formulas or a small matrix. Start with a threshold of three shared URLs and anchored grouping, using the highest-demand keyword in each group as the anchor.
Look at the clusters with your own eyes. Raise or lower the threshold if the groups are obviously too loose or too tight. For any keyword that sits right on the line between two clusters, open its results page and decide by hand which kind of page ranks highest.
Sort the leftovers into own page, watch list and discard.
Then compare the result with how you’d grouped the list by words. The differences are the value. Every place where the two disagree is a page you would have got wrong.
Only after that, take the clusters into the keyword map. And if you plan to scale up with a clustering tool, run your thirty-keyword test set through it first and see whether it agrees with you.
If you want more hands-on keyword research methods tested against real results pages, the rest of the playbooks are over at The SEO Desk.