About & Contact | Advertise | Privacy
Google Tutorials and News

Adding Advanced Operators

Written by: The Tutor
4 comments, add yours!

< Google Manual

We’ve been through the basic operators that tell Google what to search for. Now we look at the advanced operators that instruct Google where in the pages or site, or even in which site, it should look to execute the query. These are essential in fine-tuning your search query.

You’ll identify these operators easily because they are a word ending with a colon. Here is a list of the operators:

  • site:
  • inurl:
  • allinurl:
  • intitle:
  • allintitle:
  • intext:
  • allintext:

Do not include a space between the operator and the word following it. Sometimes a space will work, but no space always works.

Note that all the operators that start with “all” cannot be mixed with other operators in a query, and cannot be preceded with a “-” sign.

Specify Site to Include (or exclude) with site:

The site: operator tells Google to search only within a particular site, or within sites with a certain Top Level Domain (domain suffix).

Let’s say you want to see only pages about Gmail help only in the Google site:

    [gmail help site:google.com]

Maybe you’d like to see what tips (actually synonyms of tips) that sites besides Google have:

    [gmail ~tips -site:google.com]

How about educational sites that discuss political correctness:

    ["political correctness" site:.edu]

Multiple sites require multiple site:’s–one per operator.

Specify Word in URL to Include (or exclude) with inurl:

With this operator you can restrict the results to pages that contain a word in the URL. The word can be anywhere in the URL, not just in the domain name. The following finds pages that contain “UCLA” in the URL, “prerequisites” anywhere on the page, but are not from UCLA’s own site:

    [inurl:ucla prerequisites -site:ucla.edu]

Putting inurl: in front of every word in your query is equivalent to putting allinurl: at the front of your query.

Specify Multiple Words in URL with allinurl:

Allinurl: works similarly to inurl: except that it can be followed by multiple words. The search will be restricted to pages that contain all of the query words in the url. For example, the following query will return pages that have either “UCLA” and “Bruins” or “UCLA” and “Football” in the URL:

    [allinurl: ucla bruins | football]

Specify Word in Site Title with intitle:

Web sites insert a title in each of their pages. This is what you see in the title bar of your browser. These titles are chosen carefully so that the search engines will index their site in the way which best represents its contents. So, being able to search only the title is a very, very powerful search. The operator intitle: performs this search.

Let’s say you are looking for pages that have “Anaconda” in the title, do not have “movie” in the title (Anaconda was the name of a movie) and have the word “danger” anywhere in the page:

    [danger intitle:anaconda -intitle:movie]

Specify Multiple Words in Site Title to Include with allintitle:

Operator allintitle: is to intitle: as allinurl is to inurl. It will do what intitle: does, but all the words that follow it must be in the title. For example, the following search query will find all pages that have the words “fish”, “taco” and “recipe” in the title. This will give us a better chance at finding pages that actually have the recipes in them, rather than pages that merely mention them.

    [allintitle: fish taco recipe]

Specify Word in Site Text with intext:

This operator looks for pages that have the word in just the text only, and not anywhere else in the page (URL, title, META keywords). I don’t really see much use for it; you might as well do a regular search. Here’s the format:

    [intext:stupid]

Specify Multiple Words in Site Text with allintext:

I’ll bet you guessed what this does. It does what intext: does, but with multiple keywords. Here’s the format:

    [allintext:really stupid]

< Previous: Adding Basic Operators | Next: Searching within a Number Range >

Don't miss another post! Subscribe by RSS feed or by email today!

ShareShare this post!   4 comments, add yours!

Related posts

    • Searching in Web Page Titles for a more Targeted Query
    • Using the “intitle” Operator in Search
    • More Google Hacking Using the “inurl” Operator
    • Quick Search Tip: related and link operators

4 Responses to “Adding Advanced Operators”

  1. # Richard J Willison 02 Feb 2009 at 12:51 pm

    Yes, I suspected that one would be able to compose an SQL type string for a Google search but wasn’t too sure regarding the exact syntax to use. I found this site by entering the query [google strings]. Now, after looking at this site, I know how to refine my searches properly.

  2. # chrison 18 Aug 2009 at 9:47 am

    Hi

    A thought-provoking set of articles, thank you very much.

    Tell me, is it possible to search multiple (e.g. 2) sites by using the OR operator between two site url’s after the “site:” word? Google seems to regard it as syntactically correct (i.e. doesn’t throw a paddy) and finds hits in both sites, but the numbers of hits don’t add up.

    Chris

  3. # Kitty Addicton 21 May 2010 at 6:09 am

    Thank you! I always have trouble with the correct syntax of the advemced google operators. Some info are brand new to me :D Didn’t know about the possibility to exculde some words

  4. # Helloon 09 Sep 2010 at 3:22 pm

    Hello just wanted to point out that your inurl:ucla prerequisites -site:ucla.edu link is missing the word prerequisites on the actual search when you click it.

    No big deal just a small correction.

Trackback URI | Comments RSS

Leave a Reply

  • Advertise Here
  • Authors

    • Abhijeet Mukherjee
    • Christine Buske
    • David Van
    • Peter Jalbert
    • Brian Wallace
    • Phil Glockner
    • Mark O’Neill
    • Yoast DeValk
  • Friends

    • Craig Fifield
    • Joost DeValk
    • Guiding Tech
    • PC Extreme
  • Deals

    • Save $5 - Spanning Sync Discount Code
    • $120 off - With this BOTW promo for ads
    • Coupons! - Save with our Google Checkout Coupons
  • Popular categories

    • News, Gmail, Google Chrome, Google Docs, Google Calendar
  • Just posted

    • Google Docs Gets a New Research Tool
    • Gmail Gets Better Google+ Notifications
    • ScanURL Does a Comprehensive Security Scan for a URL
    • Google Drive Arrives, Google Docs is Now a Part Of It
    • Gmail Now Gives More Information About Emails It Marks As Spam
  • Just said...

    • Using the Google Directory
      • tym11600: Google Directory no longer exists!
    • Google Drive Arrives, Google Docs is Now a Part Of It
      • shle896: Actually, Google Docs does support watching videos and has for...
      • Will: Lots of complaints above. Google docs didn’t have video or mp3...
      • shle896: Aside from the desktop app that syncs files, I don’t see how...
    • Using Page Specific Web Search Operators
      • Landscape Gardening Anaheim: Magnificent site. Plenty of useful information...
  • Community


      Join me at: Twitter, MyBlogLog
  • Tools

      Beginner's Guide to Google
      Google Help Forums
      Shared Items Plugin
      Track Google via Twitter
      Research Google
      Simply Advanced Google Search
  •  

Google Tutor: Google tutorials and tips © 2003-2012. All Rights Reserved. Advertise, About & Contact Us, Sitemap, Privacy. CDN Service by MaxCDN. GoogleTutor.com is not sponsored by or affiliated with Google, Inc. in any way (although we'd love to be!) we are just fans :)