How Does Google Search AROUND(X) Find Nearby Words?
Google Search includes an undocumented proximity operator called AROUND(X) that finds web pages where two search terms appear within a specified number of words of each other. By placing AROUND(X) in uppercase between two words or quoted phrases, you instruct Google to measure the word distance between them and return only pages where that distance does not exceed X. This feature is especially useful for narrowing down broad queries, researching specific relationships between concepts, or locating exact contexts inside long documents.
How the Proximity Calculation Works
When you enter a query such as climate AROUND(5) policy,
Google's search index evaluates the positions of both terms on a page.
Each word in an indexed document is stored with its sequential position,
and the search engine checks whether the number of intervening words
between the two terms is less than or equal to \(X\).
For example, if \(X = 5\), the two terms can have up to five words separating them. The order of the words does not matter, meaning Google will match pages where the first term appears before the second term as well as pages where the second term appears before the first.
Syntax Rules for AROUND(X)
To trigger the proximity filter rather than searching for the literal word "around," you must follow specific formatting rules:
- Use uppercase letters: The operator must be written
as
AROUND(X)in all caps. Lowercasearound(5)is treated as a normal search word. - No spaces before the parenthesis: Write
AROUND(5)rather thanAROUND (5). - Include a positive integer: Replace
Xwith a whole number such as3,5, or10. - Use quotes for multi-word phrases: If either side
of the operator is a phrase, enclose it in quotation marks, such as
"renewable energy" AROUND(4) "grid storage".
What Counts as a Word Distance
In practice, Google counts the words between the two target terms, though punctuation, HTML tags, and stop words can occasionally affect exact counts depending on how the page is tokenized. If a document contains multiple occurrences of the two terms, Google only needs one pair on the page to satisfy the \(\le X\) distance condition for the page to qualify.
Why AROUND(X) Is Useful
Standard Google searches match keywords anywhere on a page, which
often produces irrelevant results when two topics appear in completely
different sections of a long article. Using AROUND(X)
forces the terms into the same sentence or paragraph, making it
effective for:
- Fact-checking and quote verification: Finding a person's name near a specific claim or date.
- Technical and academic research: Locating two concepts discussed together rather than in separate chapters.
- Legal and policy searches: Identifying specific obligations or exceptions tied to a particular term.