Basics
What a query is made of.
A technology
Look a technology up by its signature from the examples, not by its name.
"googletagmanager.com/gtm.js" - Google Tag Manager
Words
Several words or phrases mean all of them, in any order, anywhere in the page source.
Websites about a topic like:"..."
To find websites about a topic - a business, a field - rather than by their code,
describe it with like:, in any language: see
Websites by topic.
Exact phrases "..."
Quotes mean those words, in that order, side by side. A word is made of
a-z, 0-9 and _; every other character
inside the quotes only separates words, so "math.min.js" is math,
min and js in a row - see Languages. This is what
you want almost every time: in source code, order carries meaning.
Excluding -
A dash before a word or phrase removes the pages that contain it.
Either one | and grouping ( )
A bar between two words matches pages with either of them, and brackets say what the bar applies to. The bar binds tighter than a space, so the second example below reads as jquery, and either bootstrap or foundation.
"jquery.min.js" | "bootstrap.min.js"
jquery (bootstrap | foundation)
With | the count is of websites with any of the terms, each counted once;
to compare technologies, search for each separately.
Near each other distance:n
distance:n between two terms asks for at most n words
between them, in either order - for two things that sit together in the source
with something between them that varies from site to site, such as a tag and
its id.
"utm_source" distance:5 "utm_campaign"
"data-ad-client" distance:3 "ca-pub"
A loose phrase "..."~n
A tilde and a number right after a quoted phrase let the words inside it move apart, up to n words, and appear in any order.
Escaping
A double quote inside a quoted phrase is escaped with a backslash, and a backslash with another backslash.
The syntax of other search engines
Queries written for other search engines are rewritten into this syntax,
outside quoted phrases: OR becomes |,
AND a space, and body="...", html:"...",
http.html:"..." or intext:"..." the phrase itself.
Operators that have no counterpart here - inurl:,
intitle:, filetype: and the like - are searched as
typed, with a note saying so.
The operators set what a search covers and in what order, and snipexp: what each result shows. Response headers, the count above the results and the pages of results are in Search.
Next Operators