Google Search Operators - The Complete List (42 Advanced Operators)
Google Search Operators - The Complete List (42 Advanced Operators)
Come work with us
(h // h f /j b ?d k i )
For anyone that’s been doing SEO for a while, Google advanced search
operators—i.e., special commands that make regular ol’ searches seem
laughably basic in comparison—are nothing new.
Most SEOs know the basics, but few have truly mastered them.
In this post, I’ll share 15 actionable tips to help you master search operators for SEO,
which are:
1. Find indexation errors
2. Find non-secure pages (non-https)
3. Find duplicate content issues
4. Find unwanted files and pages on your site
5. Find guest post opportunities
6. Find resource page opportunities
7. Find sites that feature infographics… so you can pitch YOURS
8. Find more link prospects… AND check how relevant they are
9. Find social profiles for outreach prospects
10. Find internal linking opportunities
11. Find PR opportunities by finding competitor mentions
12. Find sponsored post opportunities
13. Find Q+A threads related to your content
14. Find how often your competitors are publishing new content
15. Find sites linking to competitors
But first, here’s a complete list of all Google search operators and their functionality.
That’s why most existing lists of Google search operators are outdated and inaccurate.
For this post, I personally tested EVERY search operator I could find.
Here is a complete list of all working, non-working, and “hit and miss” Google advanced
search operators as of 2018.
“search term”
Force an exact-match search. Use this to refine results for ambiguous searches, or to
exclude synonyms when searching for single words.
OR
Search for X or Y. This will return results related to X or Y, or both. Note: The pipe (|)
operator can also be used in place of “OR.”
AND
Search for X and Y. This will return only results related to both X and Y. Note: It doesn’t
really make much difference for regular searches, as Google defaults to “AND” anyway.
But it’s very useful when paired with other operators.
-
Exclude a term or phrase. In our example, any pages returned will be related to jobs but
not Apple (the company).
Example: jobs ‑apple (https://www.google.com/search?q=jobs+-apple)
*
Acts as a wildcard and will match any word or phrase.
()
Group multiple terms or search operators to control how the search is executed.
$
Search for prices. Also works for Euro (€), but not GBP (£) 🙁
Example: ipad $329 (https://www.google.com/search?q=ipad+%24329)
define:
A dictionary built into Google, basically. This will display the meaning of a word in a card-
like result in the SERPs.
cache:
Returns the most recent cached version of a web page (providing the page is indexed, of
course).
site:
Limit results to those from a specific website.
related:
Find sites related to a given domain.
intitle:
Find pages with a certain word (or words) in the title. In our example, any results
containing the word “apple” in the title tag will be returned.
allintitle:
Similar to “intitle,” but only results containing all of the specified words in the title tag will
be returned.
allinurl:
Similar to “inurl,” but only results containing all of the specified words in the URL will be
returned.
intext:
Find pages containing a certain word (or words) somewhere in the content. For this
example, any results containing the word “apple” in the page content will be returned.
allintext:
Similar to “intext,” but only results containing all of the specified words somewhere on the
page will be returned.
AROUND(X)
Proximity search. Find pages containing two words or phrases within X words of each
other. For this example, the words “apple” and “iphone” must be present in the content
and no further than four words apart.
Example: apple AROUND(4) iphone (https://www.google.com/search?
q=apple+AROUND(4))
weather:
Find the weather for a specific location. This is displayed in a weather snippet, but it also
returns results from other “weather” websites.
stocks:
See stock information (i.e., price, etc.) for a specific ticker.
map:
Force Google to show map results for a locational search.
movie:
Find information about a specific movie. Also finds movie showtimes if the movie is
currently showing near you.
in
Convert one unit to another. Works with currencies, weights, temperatures, etc.
_
Not exactly a search operator, but acts as a wildcard for Google Autocomplete.
Here are the ones that are hit and miss, according to my testing:
#..#
Search for a range of numbers. In the example below, searches related to “WWDC videos”
are returned for the years 2010–2014, but not for 2015 and beyond.
inanchor:
Find pages that are being linked to with specific anchor text. For this example, any results
with inbound links containing either “apple” or “iphone” in the anchor text will be
returned.
blogurl:
Find blog URLs under a specific domain. This was used in Google blog search, but I’ve
found it does return some results in regular search.
loc:placename
Find results from a given area.
location:
Find news from a certain location in Google News.
SIDENOTE. You can do the same thing by using double quotes around your search.
~
Include synonyms. Doesn’t work, because Google now includes synonyms by default.
(Hint: Use double quotes to exclude synonyms.)
inpostauthor:
Find blog posts written by a specific author. This only worked in Google Blog search, not
regular Google search.
allinpostauthor:
Similar to “inpostauthor,” but removes the need for quotes (if you want to search for a
specific author, including surname.)
link:
Find pages linking to a specific domain or URL. Google killed this operator in 2017, but it
does still show some results—they likely aren’t particularly accurate though. (Deprecated
in 2017 (https://searchengineland.com/google-officially-killed-off-link-command-267454))
info:
Find information about a specific page, including the most recent cache, similar pages,
etc. (Deprecated in 2017 (https://searchengineland.com/google-changes-info-command-
search-operator-dropping-useful-links-286422)). Note: The id: operator can also be
used—the results are identical.
SIDENOTE. Although the original functionality of this operator is deprecated, it is still useful for finding
the canonical, indexed version of a URL. Thanks to @glenngabe (https://twitter.com/glenngabe) for
pointing this one one!
daterange:
Find results from a certain date range. Uses the Julian date format
(http://www.longpelaexpertise.com/toolsJulian.php), for some reason.
phonebook:
Find someone’s phone number. (Deprecated in 2010
(https://searchengineland.com/google-drops-phonebook-search-operator-56173))
#
Searches #hashtags. Introduced for Google+; now deprecated.
My aim here is to show that you can achieve almost anything with Google advanced
operators if you know how to use and combine them efficiently.
So don’t be afraid to play around and deviate from the examples below. You might just
discover something new.
BORED OF READING?
Check out 9 actionable Google search operator tips in Sam Oh’s video
(https://www.youtube.com/watch?v=yWLD9139Ipc).
Let’s go!
Let’s use the site: operator to see how many pages Google has indexed for ahrefs.com.
~1,040.
I know Ahrefs blog inside out, so I know this is higher than the number of posts we have.
Let’s also narrow the search to subdomains and see what we find.
SIDENOTE. Here, we’re using the wildcard (*) operator to find all subdomains belonging to the domain,
combined with the exclusion operator (-) to exclude regular www results.
~731 results.
Here’s a page residing on a subdomain that definitely shouldn’t be indexed. It gives a 404
error for a start.
Here are a few other ways to uncover indexation errors with Google operators:
But did you know that you can find unsecure pages with the site: operator?
It looks like ASOS don’t currently use SSL—unbelievable for such a large site.
🙂
SIDENOTE. Don’t worry, Asos customers—their checkout pages are secure
But here’s another crazy thing:
SIDENOTE. I’ve noticed that sometimes, when using this tactic, pages will be indexed without the
https. But when you click-through, you will be directed to the https version. So don’t assume that your
pages are unsecure just because they appear as such in Google’s index. Always click a few of them to
double-check.
But first, I’m wondering how many times this copy appears on asos.com.
~4.2K.
Let’s check.
No, it isn’t.
That’s 15 other sites with this exact same copy—i.e., duplicate content.
Sometimes duplicate content issues can arise from similar product pages, too.
For example, similar or identical products with different quantity counts.
You can see that—quantities aside—all of these product pages are the same.
If you have a blog, then people could be stealing and republishing your content without
attribution.
Let’s see if anyone has stolen and republished our list of SEO tips
(https://ahrefs.com/blog/seo-tips/).
~17 results.
SIDENOTE. You’ll notice that I excluded ahrefs.com from the results using the exclusion (-) operator—
this ensures that the original doesn’t appear in the search results. I also excluded the word
“pinterest.” This was because I saw a lot of Pinterest results for this search, which aren’t really
relevant to what we’re looking for. I could have excluded just pinterest.com (-pinterest.com), but as
Pinterest has many ccTLDs, this didn’t really help things. Excluding the word “pinterest” was the best
way to clean up the results.
Most of these are probably syndicated content (https://ahrefs.com/blog/content-
syndication/).
Still, it’s worth checking these out to make sure that they do link back to you.
Content Explorer (https://ahrefs.com/content-explorer) > In title > enter the title of your
page/post > exclude your own site
You will then see any pages (from our database of 900M+ pieces of content) with the
same title as your page/post.
This will highlight any sites that don’t link back to you.
You can then reach out to those sites and request the addition of a source link.
FYI, this filter actually looks for links on a domain-level rather than a page-level. It is,
therefore, possible that the site could be linking to you from another page, rather than the
page in question.
For this reason, it’s easy to forget about old files you may have uploaded.
SIDENOTE. Remember, you can also use the ext: operator—it does the same thing.
Here’s one of those files:
By combining a few operators, it’s possible to return results for all supported file types
at once.
SIDENOTE. The filetype operator does also support things like .asp, .php, .html, etc.
It’s important to delete or noindex these if you’d prefer people didn’t come across them.
“become a contributor"
“contribute to”
“write for me” (yep—there are solo bloggers seeking guest posts, too!)
“guest post guidelines”
inurl:guest-post
inurl:guest-contributor-guidelines
etc.
SIDENOTE. Did you notice I’m using the pipe (“|”) operator instead of “OR” this time? Remember, it
does the same thing. 🙂
You can even search for multiple footprints AND multiple keywords.
SIDENOTE. Don’t forget to exclude their site to keep the results clean!
For this example, let’s use our very own Tim Soulo (https://ahrefs.com/tim).
For reference, here’s the exact search I entered into Content Explorer:
Basically, this searches for posts by Tim Soulo. But it also excludes posts from ahrefs.com
and bloggerjet.com (Tim’s personal blog).
Note. Sometimes you will find a few false positives in there. It depends on how common
the persons name happens to be.
You can also use Content Explorer to find sites in your niche that have never linked to you.
Content Explorer > enter a topic > one article per domain > highlight unlinked domains
Now, this search doesn’t tell us whether or not they have a “write for us” page. But it
doesn’t really matter. The truth is that most sites are usually happy to accept guest posts if
you can offer them “quality” content. It would, therefore, definitely be worth reaching out
and “pitching” such sites.
# of RDs;
DR;
Organic traffic estimation;
Social shares;
Etc.
Finally, if you’re wondering whether a specific site accepts guest posts or not, try this:
SIDENOTE. You could add even more searches—e.g., “this is a guest article”—to the list of searches
included within the parentheses. I kept this simple for demonstration purposes.
FURTHER READING
SIDENOTE. Using allintitle: here ensures that the title tag contains the words “fitness” AND
“resources,” and also a number between 5–15.
Recommended reading: Resource Page Link Building: The Only Guide You Need
(https://ahrefs.com/blog/resource-page-link-building/)
A NOTE ABOUT THE #..# OPERATOR
Why not use the #..# operator instead of that long sequence of numbers.
Good point!
Let’s try it:
Nor does it seem to work a lot of the time anyway—it’s definitely hit and miss.
Most likely, this is because a lot of people create low-quality, cheap infographics that
serve no real purpose… other than to “attract links.”
NO.
You should pitch to sites that are actually likely to want to feature your infographic.
The best way to do this is to find sites that have featured infographics before.
Here’s how:
SIDENOTE. It can also be worth searching within a recent date range—e.g., the past 3 months. If a site
featured an infographic two years ago, that doesn’t necessarily mean they still care about
infographics. Whereas if a site featured an infographic in the past few months, chances are they still
regularly feature them. But as the “daterange:” operator no longer seems to work, you’ll have to do
this using the in-built filter in Google search.
So here’s a quick trick:
1. use the above search to find a good, relevant infographic (i.e., well-designed, etc.)
2. search for that specific infographic
Here’s an example:
This found ~2 results from the last 3 months. And 450+ all-time results.
Do this for a handful of infographics and you’ll have a good list of prospects.
NOT GETTING GREAT RESULTS FROM GOOGLE? TRY THIS.
Have you ever noticed that when an infographic is embedded on a site, the site owner will
usually include the word “infographic” in square brackets in the title tag?
Example:
You can export these easily (with all associated metrics), too.
FURTHER READING
The Visual Format You Should be Using for Link Building (No, It’s NOT Infographics)
(https://ahrefs.com/blog/visual-link-building/)
6 Linkable Asset Types (And EXACTLY How to Earn Links With Them)
(https://ahrefs.com/blog/linkable-assets/)
Deconstructing Linkbait: How to Create Content That Attracts Backlinks
(https://ahrefs.com/blog/link-bait/)
SIDENOTE. In the example above, we’re looking for similar sites to Ahrefs’ blog—not Ahrefs as a whole.
But let’s assume that I know nothing about this site, how could I quickly vet this prospect?
Here’s how:
1. do a site:domain.com search, and note down the number of results;
2. do a site:domain.com [niche] search, then also note down the number of results;
3. divide the second number by the first—if it’s above 0.5, it’s a good, relevant prospect; if
Now let’s try the same for a site that I know to be irrelevant: greatist.com.
IMPORTANT! This is a great way to quick eliminate highly-irrelevant tactics, but it’s not
foolproof—you will sometimes get strange or unenlightening results. I also want to stress
that it’s certainly no replacement for manually checking a potential prospect’s website.
You should ALWAYS thoroughly check a prospects site before reaching out to them.
Failure to do that = SPAMMING (https://ahrefs.com/blog/outreach/).
For example, let’s assume I was looking for more SEO-related link prospects.
SIDENOTE. You NEED to know their name for this one. This is usually quite easy to find on most
websites—it’s just the contact details that can be somewhat elusive.
Or use some of the tips from steps #4 and #6 in this article (https://ahrefs.com/blog/find-
email-address/) to hunt down an email address.
FURTHER READING
But you need to make sure that you’re ONLY adding internal links where relevant.
Let’s say that you just published a big list of SEO tips (https://ahrefs.com/blog/seo-tips/).
Wouldn’t it be cool to add an internal link to that post from any other posts where you talk
about SEO tips?
Definitely.
It’s just that finding relevant places to add such links can be difficult—especially with
big sites.
So here’s a quick trick:
For those of you who still haven’t gotten the hang of search operators, here’s what
this does:
1. Restricts the search to a specific site;
2. Excludes the page/post that you want to build internal links to;
3. Looks for a certain word or phrase in the text.
🙂
It took me all of ~3 seconds to find this.
Recommended reading: Internal Links for SEO: An Actionable Guide
(https://ahrefs.com/blog/internal-links-for-seo/)9 Great Public Relations Tactics with
Campaign Examples
But they haven’t written any posts dedicated to our toolset, as they have with Moz.
Reach out, build a relationship, then perhaps they may write about Ahrefs.
Here’s another cool search that can be used to find competitor reviews:
SIDENOTE. Because we’re using “allintitle” rather than “intitle,” this will match only results with both
the word “review” and one of our competitors in the title tag.
You can build relationships with these people and get them to review your product/service
too.
You can also use the “In title” search in Content Explorer to find competitor reviews.
This highlights the sites that have never linked to you before, so you can then prioritise
them.
Here’s one site that has never linked to Ahrefs, yet has reviewed our competitor:
You can see that it’s a Domain Rating (DR) 79 website, so it would be well worth getting a
mention on this site.
Google’s daterange: operator is now deprecated. But you can still add a time period
filter to find recent competitor mentions.
Looks like ~34 reviews of our competitors were published in the past month.
Hit “Save.”
You will now receive an email whenever your competitors are mentioned online.
But the true value of a sponsored post doesn’t come down to links anyway.
It comes down to PR—i.e., getting your brand in front of the right people.
Here’s one way to find sponsored post opportunities using Google search operators:
SIDENOTE. The examples above are exactly that—examples. There are almost certainly other
footprints you can use to find such posts. Don’t be afraid to try other ideas.
WANT TO KNOW HOW MUCH TRAFFIC EACH OF THESE SITES GET? DO THIS.
Use this Chrome bookmarklet (https://www.chrisains.com/seo-tools/extract-urls-from-
web-serps/) to extract the Google search results.
Batch Analysis (https://ahrefs.com/batch-analysis) > paste the URLs > select “domain/*”
mode > sort by organic search traffic
Now you have a list of the sites with the most traffic, which are usually the best
opportunities.
SIDENOTE. Promoting != spamming. Don’t join such sites just to add your links. Provide value and drop
the occasional relevant link in there in the process.
I also know that Warrior Forum has a search engine optimization category.
I’ve found that using search operators like this allows you to search forum threads with
more granularity than most on-site searches.
HERE’S ANOTHER COOL TRICK…
Site Explorer (https://ahrefs.com/site-explorer) > quora.com > Organic Keywords > search
for a niche-relevant keyword
You should now see relevant Quora threads sorted by estimated monthly organic traffic.
Examples:
ahrefs.com/blog (https://ahrefs.com/blog/)
blog.hubspot.com
blog.kissmetrics.com
This makes it easy to check how regularly competitors are publishing new content.
But this isn’t accurate. It includes multi-language versions of the blog, which reside on
subdomains.
Now we know our competitor (SEMrush) has ~2.2K blog posts in total.
Let’s see how many they published in the last month.
Because the daterange: operator no longer works, we’ll instead use Google’s inbuilt
filter.
FYI, that’s ~4x faster than we publish new posts. And they have ~15X more posts than us
in total.
But we still get more traffic… with ~2x the value, might I add 😉
You can also use the site: operator combined with a search query to see how much
content a competitor has published on a certain topic.
15. Find sites linking to competitors
Competitors getting links?
SIDENOTE. When doing this, always make sure to exclude your competitors site using the “site”
operator. If you don’t, you’ll also see their internal links.
~900K links.
This is yet another instance where the time period filter can be useful.
Filtering by the last month, I can see that Moz has gained 18K+ new backlinks.
Pretty useful. But this also illustrates how inaccurate this data can be.
PICK A TOPIC
Final Thoughts
SEO On-Page SEO (https://ahrefs.com/blog/category/on-
Google advanced search operators are insanely powerful.
page-seo/)
General SEO
(https://ahrefs.com/blog/category/general-seo/)
You just have to know how to use them. Link Building (https://ahrefs.com/blog/category/link-
building/)
Keyword Research
But I have to admit that some are more useful than others, especially when it comes to
(https://ahrefs.com/blog/category/keyword- Technical SEO
SEO. I find myself using site: , intitle: , intext:
research/) , and inurl: on an almost daily
(https://ahrefs.com/blog/category/technical-seo/)
basis. Yet I rarely use AROUND(X) , allintitle: , and many of the other more obscure
operators.
Local SEO (https://ahrefs.com/blog/category/local- Marketing
I’d also add that many operators are borderline useless unless paired with another
seo/)
operator… or two, or three. General Marketing
(https://ahrefs.com/blog/category/marketing/)
So do play around with them and let me know what you come up with.
Content Marketing
(https://ahrefs.com/blog/category/content-
I’d be more than happy to add any useful combinations
marketing/)
you discover to the post. 🙂
Affiliate Marketing
(https://ahrefs.com/blog/category/affiliate-
Share marketing/)
Paid Marketing
Article stats Monthly traffic (https://ahrefs.com/blog/category/paid-marketing/)
8,249
Linking websites 1,235
Tweets Video Marketing 946
(https://ahrefs.com/blog/category/video-marketing/)
Data from Content Explorer
(https://ahrefs.c
om/content-
explorer)
Data
& Studies
Subscribe for weekly updates (https://ahrefs.com/blog/category/data-
studies/)
Enter your email
Product
(https://ahrefs.com/blog/category/produ
Subscribe (/)
ct-blog/)
Article by
Joshua Hardwick
(https://ahrefs.com/blog/author/joshua-hardwick/)
Head of Content @ Ahrefs (or, in plain English, I'm the guy responsible for ensuring
that every blog post we publish is EPIC).
(https://twitter.com/JoshuaCHardwick)
AHREFS TOOLS