What Is the Google Allintext Search Command?

How to search in only the body text of documents

Close up female college student using cell phone and reaching for book on bookshelf in library
Hero Images / Getty Images

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.

Allintext vs Intext

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 


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 websites that contain a keyword in their title. The keyword should follow with no spaces.



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:


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


allinanchor:widget accessories