Chapter 2. Google Search Operators

Google is capable of much more than simple search; it can make your work life more productive and easier on a number of levels.

Chapter 1 has already explained several ways to refine your Google searches through simple operators and other tricks that involve a search query. This chapter explains how to use advanced search operators, which enable you to refine a search by limiting the index by Web location, content type, and various search metadata (title, link text, post date, etc.).

All operators are case-sensitive, so be sure to use all lowercase letters (the iPhone’s Web browser will try to capitalize the first letter of every sentence, so make sure you go back and correct it before executing your query).

Here’s a quick list of the most useful Google search operators, followed by a more in-depth explanation of each:

Table 2-1. Google search operators

Operator Description

Format Example

Description

filetype:

marketing plan filetype:doc

Restrict search results by file type extension

site:

google site:sec.gov

Search within a site or domain

inurl:

inurl:marketing

Search for a word or phrase within the URL

allinurl:

allinurl: marketing plan

Search for multiple words within the URL

intext:

intext:marketing

Search for a word in the main body text

allintext:

allintext: marketing plan

Search for multiple words within the body text of indexed pages

intitle:

intitle:“marketing plan”

Search for a word or phrase within the page title

Get Google Power Search now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.