Search syntax
Google search accepts queries as normal text, as well as individual keywords. It automatically corrects apparent misspellings by default (while offering to use the original spelling as a selectable alternative), and provides the same results regardless of capitalization. For more customized results, one can use a wide variety of operators, including, but not limited to:
OR or | – Search for webpages containing one of two similar queries, such as marathon OR race
AND – Search for webpages containing two similar queries, such as marathon AND runner
- (minus sign) – Exclude a word or a phrase, so that "apple -tree" searches where word "tree" is not used
-ai – Exclude AI-generated content from webpages, including Google AI Overviews.
"" – Force inclusion of a word or a phrase, such as "tallest building"
* – Placeholder symbol allowing for any substitute words in the context of the query, such as "largest * in the world"
.. – Search within a range of numbers, such as "camera $50..$100"
site: – Search within a specific website, such as "site:youtube.com"
-site: – Do not display search results from within a specific website, such as "-site:youtube.com"
define: – Search for definitions for a word or phrase, such as "define:phrase"
stocks: – See the stock price of investments, such as "stocks:googl"
related: – Find web pages related to specific URL addresses, such as "related:www.wikipedia.org"
( ) – Group operators and searches, such as (marathon OR race) AND shoes
filetype: or ext: – Search for specific file types, such as filetype:gif
before: – Search for before a specific date, such as spacex before:2020-08-11
after: – Search for after a specific date, such as iphone after:2007-06-29
@ – Search for the search term on a specific social media site, such as "@twitter"
Google also offers a Google Advanced Search page with a web interface to access the advanced features without needing to remember the special operators.
As of 2024 Google no longer displays cached versions of webpages.
Previously the command cache: would present a cached version of a webpage with the search term highlighted, e.g. "cache:www.google.com xxx" showed cached content with word "xxx" highlighted.
Unlike other search engines, when searching for exact phrases, Google Search only takes words that are on the same line into account.
Google applies query expansion to submitted search queries, using techniques to deliver results that it considers "smarter" than the query users actually submitted. This technique involves several steps, including:
Word stemming – Certain words can be reduced so other, similar terms, are also found in results, so that "translator" can also search for "translation"
Acronyms – Searching for abbreviations can also return results about the name in its full length, so that "NATO" can show results for "North Atlantic Treaty Organization"
Misspellings – Google will often suggest correct spellings for misspelled words
Synonyms – In most cases where a word is incorrectly used in a phrase or sentence, Google search will show results based on the correct synonym
Translations – The search engine can, in some instances, suggest results for specific words in a different language
Ignoring words – When search queries contain extraneous or insignificant words, Google search may drop those specific words from the query
Location sensitivity – Google may consider users' geographical location to deliver more relevant results.
In 2008, Google started to give users autocompleted search suggestions in a list below the search bar while typing, originally with the approximate result count previewed for each listed search suggestion.