What is Boolean search?
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
| Operator | What it does | Example | Effect on results |
|---|---|---|---|
| AND | Every term must appear | sales AND director | Fewer |
| OR | Any one term can appear | CFO OR "finance director" | More |
| NOT | Removes results with the term | director NOT assistant | Fewer |
| " " quotes | Treats words as one exact phrase | "head of sales" | Fewer, more precise |
| ( ) brackets | Groups terms so they're read first | (CFO OR controller) AND manufacturing | Controls 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
("VP of Sales" OR "Vice President of Sales" OR "Head of Sales" OR "Sales Director") NOT (assistant OR intern OR associate)
(CFO OR "Chief Financial Officer" OR "Finance Director" OR Controller) NOT (interim OR fractional OR student)
Boolean search in HR and recruiting
("backend engineer" OR "backend developer" OR "software engineer") AND (Python OR Go OR Golang) NOT (intern OR junior)
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
| Mistake | What happens | Fix |
|---|---|---|
| No quotes on multi-word titles | Head of Sales matches anyone with "head" and "sales" anywhere | "Head of Sales" |
| Mixing AND and OR without brackets | Results don't match what you meant | Put each OR group in brackets |
| NOT on a common word | Removes good matches, like NOT "assistant" dropping "Assistant Vice President" | Exclude full phrases, not single words, when in doubt |
| Only one spelling of a title | Misses VP Sales, V.P. Sales, Vice President Sales | List every common form with OR |
| Lowercase operators | Read as ordinary words in some tools | Write 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 string | In ContactYard |
|---|---|
| Title OR title OR title | Add each title to Job Title |
| Every spelling joined with OR | Smart mode: VP Sales also finds Vice President of Sales |
| "Exact phrase" in quotes | Exact mode: matches only what you type |
| NOT assistant, NOT intern | Exclude box under Job Title |
| NOT a type of company | Exclude box under Keywords |
| AND industry, AND size, AND place | Add Industry, Employee Headcount and Location; every filter must match |

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.
Keep reading
How to find decision makers in a company
Who decides at each company size and department, and how to find them at 1,000 companies at once.
What is lead sourcing?
Lead sourcing is finding the right accounts and people before outreach. Sources, steps and software.
How to build a prospect list
Six steps from a one-line buyer description to an exported, verified prospect list, with an example.