Search Operators

Quotes

Just add quotes to your search string. Else your search string will be interpreted as a general suggestion.

1
"unique text to find"

If you remember one thing it should be this

Limit dates: after/before

If you’re looking for something that happened…lets say after 2020 try adding the after operator like this.

1
new linux software to try after:2020

or inversely try the before operator

1
how to install windows xp before:2003

Limit domains: site

try limiting your results to a specific domain, such as.edu with the site operator. Example:

1
javascript site:edu

try excluding/including multiple domains

1
-site:net & +site:io & -site:to & +site:org & -site:com & -site:ca -site:biz linux

Intext

try using the intext operator to make sure the words appear in the sites body

1
intext:"words in site body"

Main operators

A few operators which may come in handy

operator comment
"" Find specific word order
intitle Search for specific title
inurl Search for specific url
intext Find specific text in body
filetype/ext Find specific file types
before/after Find specific dates
site Limit to domains

Google is what you pay for it

Since Google doesn’t like wasting CPU cycles on highly specific results, you will periodically get captchas to solve.

captcha

Ideas

Find a gist

1
site:gist.github.com google search operators

Find text files limit the dates

1
filetype:txt after:2020 google search operators 

same as above but limited to edu domains

1
filetype:txt site:edu after:2020 google search operators

Find blogs

1
2
3
intext:"Powered by Jekyll"
intext:"Powered by Hugo"
intext:"powered by Pelican"

Find websites that mention another website

1
intext:reddit.com -site:reddit.com

Filter 90% of content mills from results why? content mills usually have social media buttons

1
best books to read -twitter -tweet -reddit -facebook

Filter popular top level domains

1
video games -site:com -site:net -site:org

Search two or more sites

1
How to make cornbread site:github.com OR site:stackoverflow.com

Search developer blog platforms

1
How to write a loop site:dev.to OR site:medium.com OR site:gist.github.com

Other Tools

Block sites from appearing in your results with uBlockList

Use this Python script to search from the command line

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#!/usr/bin/python
import sys
import webbrowser

sites = [
    " site:wikipedia.org ",
    " site:stackoverflow.com ",
]

webbrowser.open_new_tab(
    "https://www.google.com/search?q=" + 
    " ".join(sys.argv[1:]) +
    " OR ".join(sites))