Skip to content

Instantly share code, notes, and snippets.

@tomdewildt
Created January 9, 2023 23:22
Show Gist options
  • Save tomdewildt/45bb7410f080514dacbd193f157c5984 to your computer and use it in GitHub Desktop.
Save tomdewildt/45bb7410f080514dacbd193f157c5984 to your computer and use it in GitHub Desktop.
Search operators for the Google search engine

Match Operators

  • Exact: ""

  • Exclusion: -

  • Wildcard: *

  • Around: word AROUND(5) word

Date Operators

  • Sites before: before:yyyy-mm-dd

  • Sites after: after:yyyy-mm-dd

  • Sites between: yyyy-mm-dd..yyyy-mm-dd

Range operators

  • Number in range: 7..10

Source Operators

  • In site: site:example.nl

  • In files with extension: ext:pdf

  • In news source: source:reuters

  • In location: loc:AMS

  • In blog posts: blogurl:example.nl

  • Using site cache: cache:example.nl

Boolean Operators

  • And: &&

  • Or: |

  • Group operators: ()

In Operators

  • Find in url: inurl:term

  • Find all in url: allinurl:term

  • Find in title: intitle:term

  • Find all in title: allintitle:term

  • Find in text: intext:term

  • Find all in text: allintext:term

  • Find in anchors: inanchor:term

  • Find all in anchors: allinanchors:term

Utility Operators

  • Definition: define:word

  • Related sites: related:example.nl

  • Conversion: X in Y

  • Find product with price: €100 product

  • Find social media: @username

  • Weather: weather:AMS

  • Map: map:AMS

  • Movie: movie:Avatar

  • Stocks: stocks:GOOGL

  • Timer: timer

  • Stopwatch: stopwatch

  • Probability: flip a coin, roll a die

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment