Special Query Capability |
Example Query |
Description |
Include Query Term | Star Wars Episode +I |
If a common word is essential to getting the results you want, you can include it by putting a "+" sign in front of it. |
Exclude Query Term | bass -music | You can exclude a word from your search by putting a minus sign ("-") immediately in front of the term you want to exclude from the search results. |
Phrase Search | "yellow pages" |
Search for complete phrases by enclosing them in quotation marks or connecting them with hyphens. Words marked in this way will appear together in all results exactly as entered. Note: You may need to use a "+" to force inclusion of common words in a phrase. |
Boolean OR Search | vacation london OR paris | Google search supports the Boolean "OR" operator. To retrieve pages that include either word A or word B, use an uppercase OR between terms. |
Site Restricted Search | admission site:www.stanford.edu |
If you know the specific web site you want to search but aren't sure where the information is located within that site, you can use Google to search only within a specific web site. Do this by entering your query followed by the string "site:" followed by the host name. Note: The exclusion operator ("-") can be applied to this query term to remove a web site from consideration in the search. |
Date Restricted Search | Star Wars daterange:2452122-2452234 | If you want to limit your results to documents that were published within a specific date range, then you can use the "daterange: " query term to accomplish this. The "daterange:" query term must be in the following format:
where
The Julian date is calculated by the number of days since January 1, 4713 BC. For example, the Julian date for August 1, 2001 is 2452122. |
Title Search (term) | intitle:Google search | If you prepend "intitle:" to a query term, Google search restricts the results to documents containing that word in the title. Note there can be no space between the "intitle:" and the following word.
Note: Putting "intitle:" in front of every word in your query is equivalent to putting "allintitle:" at the front of your query. |
Title Search (all) | allintitle: Google search | Starting a query with the term "allintitle:" restricts the results to those with all of the query words in the title. |
URL Search (term) | inurl:Google search | If you prepend "inurl:" to a query term, Google search restricts the results to documents containing that word in the result URL. Note there can be no space between the "inurl:" and the following word.
Note: "inurl:" works only on words , not URL components. In particular, it ignores punctuation and uses only the first word following the "inurl:" operator. To find multiple words in a result URL, use the "inurl:" operator for each word. Note: Putting "inurl:" in front of every word in your query is equivalent to putting "allinurl:" at the front of your query. |
URL Search (all) | allinurl: Google search | Starting a query with the term "allinurl:" restricts the results to those with all of the query words in the result URL.
Note: "allinurl:" works only on words, not URL components. In particular, it ignores punctuation. Thus, "allinurl: foo/bar" restricts the results to pages with the words "foo" and "bar" in the URL, but does not require that they be separated by a slash within that URL, that they be adjacent, or that they be in that particular word order. There is currently no way to enforce these constraints. |
Text Only Search (all) | allintext: Google search | Starting a query with the term "allintext:" restricts the results to those with all of the query words in only the body text, ignoring link, URL, and title matches. |
Links Only Search (all) | allinlinks: Google search | Starting a query with the term "allinlinks:" restricts the results to those with all of the query words in the URL links on the page. |
File Type Filtering | Google filetype:doc OR filetype:pdf | The query prefix "filetype:" filters the results returned to include only documents with the extension specified immediately after. Note there can be no space between "filetype:" and the specified extension.
Note: Multiple file types can be included in a filtered search by adding more "filetype:" terms to the search query. |
File Type Exclusion | Google -filetype:doc -filetype:pdf | The query prefix "-filetype:" filters the results to exclude documents with the extension specified immediately after. Note there can be no space between "-filetype:" and the specified extension.
Note: Multiple file types can be excluded in a filtered search by adding more "-filetype:" terms to the search query. |
Web Document Info | info:www.google.com | The query prefix "info:" returns a single result for the specified URL if it exists in the index.
Note: No other query terms can be specified when using this special query term. |
Back Links | link:www.google.com | The query prefix "link:" lists web pages that have links to the specified web page. Note there can be no space between "link:" and the web page URL.
Note: No other query terms can be specified when using this special query term. |
Related Links | related:www.google.com | The query prefix "related:" lists web pages that are similar to the specified web page. Note there can be no space between "link:" and the web page URL.
Note: No other query terms can be specified when using this special query term. |
Cached Results Page | cache:www.google.com web | The query prefix "cache:" returns the cached HTML version of the specified web document that the Google search crawled. Note there can be no space between "cache:" and the web page URL.
If you include other words in the query, Google will highlight those words within the cached document. |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix