---
title: "Boolean search string builder for prospecting"
url: "https://coldagentai.com/tools/boolean-search-builder.md"
canonical_url: "https://coldagentai.com/tools/boolean-search-builder"
last_updated: "2026-10-18"
type: "tool"
summary: "Build a Boolean search string from job titles, skills, companies, locations and exclusions, ready to paste into the professional network, a web search or X-ray."
related: ["https://coldagentai.com/tools.md", "https://coldagentai.com/tools/email-extractor.md", "https://coldagentai.com/tools/email-name-generator.md", "https://coldagentai.com/tools/company-email-format.md", "https://coldagentai.com/tools/reverse-email-lookup.md", "https://coldagentai.com/tools/email-pattern.md"]
install: "claude mcp add --transport http coldagentai-free https://coldagentai.com/api/mcp"
---

# Boolean search string builder for prospecting

> **For AI agents:** the complete index of ColdAgentAI pages is [llms.txt](https://coldagentai.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Build a Boolean search string from job titles, skills, companies, locations and exclusions, ready to paste into the professional network, a web search or X-ray.

List the job titles, skills, companies and locations you want, and the tool writes the Boolean string for you: phrases in quotes, alternatives grouped in parentheses, uppercase operators and exclusions at the end. Copy it into the professional network, a web search or an X-ray search of public profiles.

Everything you type is turned into a search string in this page and is never sent anywhere.

## Inputs

- Job titles: any of them may match. Separate with commas or new lines.
- Skills or keywords, with a switch for must have all (AND) or any of them (OR).
- Companies and locations: any of them may match.
- Leave out: words that should disqualify a result, such as intern or assistant.
- Where you will paste it: the professional network, a web search, or a web X-ray of public profile pages.

## How it works

- Every term that contains a space goes in quotes, so "product manager" is searched as a phrase and not as two words. A term that is itself an operator word, such as "or", is also quoted.
- Terms inside a group are joined with OR, except skills when you choose AND. A group with more than one term is wrapped in parentheses, and empty groups are left out.
- Groups are joined with AND. Operators are always written in capitals, because the professional network help page says AND, OR and NOT must be typed in uppercase to work.
- Exclusions are added as NOT followed by the term. For a web search they are written with a minus sign instead, the way Google's help page shows, and an X-ray search adds site:linkedin.com/in in front so that results come from public profile pages.
- Quotes and parentheses you type inside a term are removed, so they cannot break the grouping. The string updates as you type, and the operator count appears above the result.

## What each operator does

AND keeps only results that contain both sides. OR keeps results that contain either side, so it widens the search. NOT removes results that contain the word after it. Quotes make a phrase match as written, and parentheses decide which part is worked out first.

The professional network help page lists the order it follows: quoted phrases first, then anything in parentheses, then NOT, then AND, then OR. That order is why the tool wraps every group of alternatives in parentheses. Without them, a string such as "sales OR marketing AND manager" does not mean what it looks like.

## How to build a good string

Start with the job titles, because they carry the most meaning, and list the variants people really use: "head of sales", "sales director" and "vp of sales" can be the same job at three companies. Add two or three skills that anyone in the role would list, not a long wish list. Each extra AND makes the search narrower, and a narrow search returns very few people.

Add locations and companies last. If you get too few results, remove a group, switch skills from AND to OR, or shorten the exclusions. If you get too many, add a skill or a location. Run the string, read the first page of results, and adjust. A search that returns a few hundred people you can read is more useful than one that returns a hundred thousand.

## The three targets

The professional network setting writes the string for the search bar on that site, with NOT for exclusions. The web search setting writes the same groups for a general search engine, with a minus sign for exclusions. The X-ray setting adds a site restriction to linkedin.com/in. The network help page says public profile addresses start with linkedin.com/in, so that is where public profile pages live.

X-ray searches only reach pages a search engine has indexed and that the profile owner made public. They are a way to find public profiles, not a way to see private details, and you should read each profile you find before you decide to contact anyone.

## After the search

A good search gives you names. To write to them you still need a reason to contact each one and a working address. Check the address with a verifier before you send, write a message about their work and not a template, and keep the first outreach short.

## Worked example

Input:

```
Titles: VP of Sales, Head of Sales, Sales Director
Skills (all of): SaaS, enterprise
Locations: Austin, Denver
Leave out: intern, assistant
Target: professional network
```

Result:

```
("VP of Sales" OR "Head of Sales" OR "Sales Director") AND (SaaS AND enterprise) AND (Austin OR Denver) NOT intern NOT assistant

8 operators
```

## Limits

- The professional network says that wildcards such as *, braces, square brackets and angle brackets are not supported in Boolean search. The tool warns when a term contains one.
- The network's free search limits how many Boolean operators a query may use, and its help page does not say how many. Sales Navigator allows at most 15, and Recruiter and Recruiter Lite have no limit, according to the same page. The tool warns above 15 operators on the network setting.
- The tool writes the string and nothing else. It does not run a search, open a page or read any results.
- A term cannot contain a comma, because commas separate terms. Write "Austin" and "Texas" as two entries if you need both.
- An X-ray search runs on a web search engine, which reads public pages as it last saw them. Profiles that are private or changed recently may not appear.

## Questions

**Do the operators have to be in capitals?**

Yes. The professional network help page says AND, OR and NOT must be typed in uppercase for the search to work. The tool always writes them that way.

**Why are some of my terms in quotes?**

A term with a space is a phrase, so it is quoted to be searched as written. Without quotes, "product manager" would match any profile that has the words product and manager anywhere.

**Can I use a wildcard like eng*?**

Not on the professional network. Its help page says wildcards such as the asterisk are not supported, so list each form you want, such as engineer, engineering and engineers, as separate terms.

**Is there a limit on how long the string can be?**

The network limits the number of Boolean operators in a free search, and its help page does not give the number. Sales Navigator allows at most 15 operators and Recruiter has no limit, per that page. The tool warns when a string goes over 15.

**What is an X-ray search?**

It is a web search restricted to one site. This tool adds a site restriction to linkedin.com/in, where public profile pages live, and runs through a general search engine, so only public pages that engine has indexed can appear.

**Does the tool search for me?**

No. It only writes the string. You copy it and paste it into the search box you choose.

## Sources

- [LinkedIn Help, Use Boolean search on LinkedIn (uppercase operators, order of precedence, unsupported characters)](https://www.linkedin.com/help/linkedin/answer/a524335) (read 2026-10-18)
- [LinkedIn Help, Boolean Query Limitations (operator limits by product)](https://www.linkedin.com/help/linkedin/answer/a524411) (read 2026-10-18)
- [LinkedIn Help, Find your LinkedIn public profile URL (public profile addresses start with linkedin.com/in)](https://www.linkedin.com/help/linkedin/answer/a522735) (read 2026-10-18)
- [Google Search Help, Refine Google searches (quotes, the site: operator, a minus sign to exclude)](https://support.google.com/websearch/answer/2466433) (read 2026-10-18)

## Related tools

- [Email extractor](https://coldagentai.com/tools/email-extractor.md)
- [Email name generator](https://coldagentai.com/tools/email-name-generator.md)
- [Company email format](https://coldagentai.com/tools/company-email-format.md)
- [Reverse email lookup](https://coldagentai.com/tools/reverse-email-lookup.md)
- [email-pattern](https://coldagentai.com/tools/email-pattern.md)

## Related

- [Free cold email tools](https://coldagentai.com/tools.md)
- [Email extractor: pull addresses from text](https://coldagentai.com/tools/email-extractor.md)
- [Email name generator: username ideas](https://coldagentai.com/tools/email-name-generator.md)
- [Company email format finder](https://coldagentai.com/tools/company-email-format.md)
- [Reverse email lookup: free email search](https://coldagentai.com/tools/reverse-email-lookup.md)
- [Email pattern generator](https://coldagentai.com/tools/email-pattern.md)
