All resources

What is Boolean search?

Article · 4 min read

Boolean search is a way of combining keywords with the operators AND, OR and NOT to tell a search engine exactly what to include and exclude. It's named after the mathematician George Boole, and each result either matches the rule or it doesn't.

Recruiters use it to find candidates, and SDRs use it to find buyers. The logic is the same: describe the person by title, then cut out the near misses.

Boolean search logic: the five pieces

OperatorWhat it doesExampleEffect on results
ANDEvery term must appearsales AND directorFewer
ORAny one term can appearCFO OR "finance director"More
NOTRemoves results with the termdirector NOT assistantFewer
" " quotesTreats words as one exact phrase"head of sales"Fewer, more precise
( ) bracketsGroups terms so they're read first(CFO OR controller) AND manufacturingControls the order

Write operators in capitals. Many search tools only read them that way, and the string is easier to check.

Tip: Always bracket your OR lists. Without brackets, sales OR marketing AND director can be read as "sales" on its own, plus marketing directors.

Boolean search strings you can paste

These work in LinkedIn search and most job boards and ATS tools. Swap the titles for your own buyers or roles.

Sales prospecting

Sales leaders, not assistants or interns

("VP of Sales" OR "Vice President of Sales" OR "Head of Sales" OR "Sales Director") NOT (assistant OR intern OR associate)

Finance buyers at mid-sized companies

(CFO OR "Chief Financial Officer" OR "Finance Director" OR Controller) NOT (interim OR fractional OR student)

Boolean search in HR and recruiting

Backend engineers with Python or Go

("backend engineer" OR "backend developer" OR "software engineer") AND (Python OR Go OR Golang) NOT (intern OR junior)

Google search for public LinkedIn profiles

site:linkedin.com/in ("HR Director" OR "Head of People") "Chicago"

The last one runs in Google, which reads public profile pages. It finds names, not contact details. To get a verified email for a profile you found, see how to find someone's email on LinkedIn. More Google strings like it are in what is X-ray search.

Common Boolean mistakes

MistakeWhat happensFix
No quotes on multi-word titlesHead of Sales matches anyone with "head" and "sales" anywhere"Head of Sales"
Mixing AND and OR without bracketsResults don't match what you meantPut each OR group in brackets
NOT on a common wordRemoves good matches, like NOT "assistant" dropping "Assistant Vice President"Exclude full phrases, not single words, when in doubt
Only one spelling of a titleMisses VP Sales, V.P. Sales, Vice President SalesList every common form with OR
Lowercase operatorsRead as ordinary words in some toolsWrite AND, OR, NOT

The same logic as filters, without the string

A long string breaks on one missing bracket, and you still end up with names but no emails. ContactYard turns each operator into a filter box, then gives you verified contacts for every match.

In a Boolean stringIn ContactYard
Title OR title OR titleAdd each title to Job Title
Every spelling joined with ORSmart mode: VP Sales also finds Vice President of Sales
"Exact phrase" in quotesExact mode: matches only what you type
NOT assistant, NOT internExclude box under Job Title
NOT a type of companyExclude box under Keywords
AND industry, AND size, AND placeAdd Industry, Employee Headcount and Location; every filter must match
The Job Title filter with included and excluded job titles highlighted

The sales leader string above, as filters (illustrative)

Job Title (Smart)
VP of Sales, Head of Sales, Sales Director
Job Title (Exclude)
Assistant, Intern, Associate
Industry
Technology > Software Development
Employee Headcount
101 to 250, 251 to 500
Location
United States, Canada
Keywords (Exclude)
Staffing

Results and the total count appear as you filter, so you see at once if an exclude cut too much. Save the search and re-run it later to pull new matches. Which titles to start from at each company size is in how to find decision makers in a company.

Every row comes with a verified work email and the mobile when available, for one credit. That's about $3.30 per 1,000 contacts on Scale, against public list prices of $18 on Apollo and $131 on ContactOut. Export the CSV straight into your sending tool or CRM, or read how to build a prospect list for the full routine. Start free.

FAQ

What is Boolean search?
A search method that joins keywords with AND, OR and NOT, plus quotes and brackets, to control exactly which results are included or left out.
What is Boolean search logic?
AND narrows results to those with every term, OR widens them to any term, and NOT removes a term. Brackets set which part is read first.
What is Boolean search in HR?
Recruiters use Boolean strings on LinkedIn, job boards and ATS tools to find candidates by title, skills and location while excluding junior or unrelated roles.
What are Boolean search strings?
A saved line of keywords and operators, such as ("Head of Sales" OR "VP of Sales") NOT assistant, that you paste into a search box to repeat the same search.