Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
allintitle Searches for occurrences of keywords all at a time. allintitle:"keyword"
site Specifically searches that particular site and lists all the results for that site. site:"www.google.com"
filetype Searches for a particular filetype mentioned in the query. filetype:"pdf"
link Searches for external links to pages. link:"keyword"
numrange Used to locate specific numbers in your searches. numrange:321-325
before/after Used to search within a particular date range. filetype:pdf & (before:2000-01-01 after:2001-01-01)
allinanchor (and also inanchor) This shows sites which have the keyterms in links pointing to them, in order of the most links. inanchor:rat
allinpostauthor (and also inpostauthor) Exclusive to blog search, this one picks out blog posts that are written by specific individuals. allinpostauthor:"keyword"
related List web pages that are “similar” to a specified web page. related:www.google.com
cache Shows the version of the web page that Google has in its cache. cache:www.google.com

Examples

intext:"index of /"
Nina Simone intitle:”index.of” “parent directory” “size” “last modified” “description” I Put A Spell On You (mp4|mp3|avi|flac|aac|ape|ogg) -inurl:(jsp|php|html|aspx|htm|cf|shtml|lyrics-realm|mp3-collection) -site:.info
Bill Gates intitle:”index.of” “parent directory” “size” “last modified” “description” Microsoft (pdf|txt|epub|doc|docx) -inurl:(jsp|php|html|aspx|htm|cf|shtml|ebooks|ebook) -site:.info
parent directory DVDRip -xxx -html -htm -php -shtml -opendivx -md5 -md5sums
parent directory MP3 -xxx -html -htm -php -shtml -opendivx -md5 -md5sums
parent directory Name of Singer or album -xxx -html -htm -php -shtml -opendivx -md5 -md5sums
filetype:config inurl:web.config inurl:ftp
“Windows XP Professional” 94FBR
ext:(doc | pdf | xls | txt | ps | rtf | odt | sxw | psw | ppt | pps | xml) (intext:confidential salary | intext:"budget approved") inurl:confidential
ext:(doc | pdf | xls | txt | ps | rtf | odt | sxw | psw | ppt | pps | xml) (intext:confidential salary | intext:”budget approved”) inurl:confidential

Operators

Search Term

This operator searches for the exact phrase within speech marks only. This is ideal when the phrase you are using to search is ambiguous and could be easily confused with something else, or when you’re not quite getting relevant enough results back. For example:

"Tinned Sandwiches"

OR

This self explanatory operator searches for a given search term OR an equivalent term.

site:facebook.com | site:twitter.com

AND

site:facebook.com & site:twitter.com

Operators combinaison

(site:facebook.com | site:twitter.com) & intext:"login"
(site:facebook.com | site:twitter.com) (intext:"login")

Include results

This will order results by the number of occurrence of the keyword.

-site:facebook.com +site:facebook.*

Exclude results

site:facebook.* -site:facebook.com

Synonyms

Adding a tilde to a search word tells Google that you want it to bring back synonyms for the term as well. For example, entering “~set” will bring back results that include words like “configure”, “collection” and “change” which are all synonyms of “set”. Fun fact: “set” has the most definitions of any word in the dictionary.

~set

Glob pattern (*)

Putting an asterisk in a search tells Google ‘I don’t know what goes here’. Basically, it’s really good for finding half remembered song lyrics or names of things.

site:*.com
@sreevishnu-ux
Copy link

sreevishnu-ux commented Jul 16, 2021

Thank you for this :)

@jonatan1609
Copy link

jonatan1609 commented Jul 25, 2021

Thanks, awesome!

@pankace
Copy link

pankace commented Aug 22, 2021

00111100 00110011

Copy link

ghost commented Sep 18, 2021

thanks

@Ans77-dev
Copy link

Ans77-dev commented Oct 13, 2021

Thank you :)

Copy link

ghost commented Nov 9, 2021

This is bestest :)

@mrnorbh
Copy link

mrnorbh commented Dec 17, 2021

Thank you for this!

@eIektro
Copy link

eIektro commented Jan 18, 2022

thanks bud!

@Conor486
Copy link

Conor486 commented Feb 13, 2022

Thank you for sharing !!

@mykoyle
Copy link

mykoyle commented Mar 5, 2022

how can I search for free squarespace hosted websites? thanks

@sundowndev
Copy link
Author

sundowndev commented Mar 7, 2022

@mykoyle Google: site:*.squarespace.com -site:www.squarespace.com

@janealom084
Copy link

janealom084 commented Mar 14, 2022

thanks for sharing.

@mrHackerr-hub
Copy link

mrHackerr-hub commented Mar 15, 2022

How can I search using XSS dorks such as "?view=" to find the specific parameter in a url ?

@Sacha-Slone-at-youtube
Copy link

Sacha-Slone-at-youtube commented Mar 27, 2022

Thank you. Much appreciated.

@mykoyle
Copy link

mykoyle commented Apr 2, 2022

@sundowndev thank you :)

@mykoyle Google: site:*.squarespace.com -site:www.squarespace.com

Thank you

@Mika122819
Copy link

Mika122819 commented Apr 2, 2022

Hi, I'm trying to find recently created FB pages. Is this correct? -- site:facebook.com "page created March 31, 2022" USA

@novitae
Copy link

novitae commented Apr 5, 2022

If page created M D, Y is how it is written on Facebook, then yes

@sjak-JooJo
Copy link

sjak-JooJo commented Apr 13, 2022

thank u

@panji913
Copy link

panji913 commented May 4, 2022

Good

@coding-with-ali
Copy link

coding-with-ali commented Jun 10, 2022

Thanks man

@yashwant1810
Copy link

yashwant1810 commented Jun 21, 2022

Thank you :D

@Dramatic1
Copy link

Dramatic1 commented Jun 24, 2022

How to include only web page with English language? i tried lang:en but not working.

I'm trying to figure this out as well, hoping to use on Youtube to get a search result for only a certain language.

See https://exposingtheinvisible.org/guides/google-dorking/
Yo THANK YOU for the link

@vaibhavs017
Copy link

vaibhavs017 commented Jul 1, 2022

very helpful thanks for sharing this amazing resource

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