What Is the Google Allintext Search Command?

Google Glass
Getty Images

Occasionally you might want to restrict your searches to only the text of Web sites and ignore all the links, titles, and URLs. Allintext: is Google search syntax for searching only in the body text of documents and ignoring links, URLs, and titles. It's similar to the intext: search command, except that it applies to all words that follow, while intext: applies only to the single word directly following the command.

This might be useful if you wanted to find Web pages that were talking about other Web sites. The command to search only the body text is intext:  or allintext: To find Web pages talking about Google, for example, you could search for:

intext:review google.com 

or

allintext:review google.com 

When allintext: is used Google will find only pages that contain all of the words that follow the command - but only if they contain those words in the body text. So in this case, only searches that contained both the terms "review" and "google.com" within the body of the text.  

Allintext: cannot be combined with other search commands. When you use this search command, don't put a space between the colon and the text. You both can and should put spaces between different search items. 

Search Within a Site

The intext and allintext commands are not the same things as "search within a site," even though they sound like close cousins.

Search within a site refers to some search results that offer you a search box or multiple choices from within the search window instead of making you navigate the website directly in order to find the results within a single website. Search within a site also searches more than titles. 

Searching Only Titles 

Say you'd like to do the opposite.

Instead of searching the text body, you wanted to search through website titles. Intitle: is Google syntax that restricts Web search results to only list Web sites that contain a keyword in their title. The keyword should follow with no spaces.

Examples:

intitle:bananas

This finds only results with "bananas" in the title.

Searching Only Links

Google lets you restrict your searches to only the text used to link to other Web pages. This text is known as anchor text or link anchors. The anchor text in the previous sentence was "anchor text."

The Google syntax for searching anchor text is inanchor: To search for Web pages that other pages have linked to using the word "widget," you'd type:

inanchor:widget

Note that there's still no space between the colon and the keyword. Google only searches for the first word following the colon, unless you combine it with more Google syntax.

You can use quotes to include exact phrases, you can use plus sign for each additional word you'd like to include, or you can use the syntax allinanchor: to include all the words following the colon.

Be aware that allinanchor: searches can't be easily combined with other Google syntax.

Putting It All Together

A search for "widget accessories," could be done as:

inanchor:"widget accessories"
inanchor:widget +accessories

or

allinanchor:widget accessories