The “allintext:” modifier

Google supports various modifiers that you can use to refine your search query. An interesting one is “allintext:”. If you place this modifier before your query, Google will only return pages which contain all the query terms in the text of the page.

You can see this modifier in action by searching for [“to be or not to be”] (the square brackets indicate the beginning and end of the search text; you don’t type them in). Amongst the pages returned are some that don’t match the phrase exactly.

For example, in fourth position is a children’s page about two bees called 2Bee and Queen Nottoobee. Perhaps some other web page links to this page with the text “to be or not to be” as the hyperlink, or perhaps Google is just being terribly clever in returning this page, which certainly doesn’t contain the search term.

No problem: you can search instead for [allintext:”to be or not to be”]. Now the results drop by about a million, and every page has “to be or not to be” highlighted in its snippet.

Similarly, the “allintext:” modifier is useful to remove from the search results pages where the search words are present in the URL or page title, but not in the page content.

2 Responses to “The “allintext:” modifier”

  1. Sublime1 says:

    Good tip! I didn’t know about this one.

  2. digsalot says:

    Thank you – a good time saver.