Patent search strings are queries that combine keywords, classification codes and operators so that a patent database returns every document describing a concept, however that concept is worded. A well-built string catches synonyms, spelling variants and word endings, and keeps the result set small enough to read.
In each string, Boolean operators decide which terms must appear, proximity operators decide how close they must sit, and wildcards catch different endings of a word. Searchers write and test these strings for every prior art search, and the same operator can behave differently from one database to the next.
Boolean operators in patent search strings
The operators page of the United States Patent and Trademark Office (USPTO) Patent Public Search tool defines four Boolean operators:
- OR: at least one of the terms must appear, so it joins synonyms.
- AND: both terms must appear in the same document, so it joins separate concepts.
- NOT: the first term must appear and the second must not.
- XOR: one of the terms must appear, but not both.
NOT carries the most risk, because “battery NOT vehicle” also removes a detailed battery patent that mentions a car only once.
Brackets also matter, because Google Patents reads an unbracketed string from left to right with AND as the default. Its search help page shows “safety OR seat belt” being read as “(safety OR seat) AND belt”.
Proximity operators in patent search strings
AND is often too loose, since a long patent can mention “valve” in a claim and “temperature” in an unrelated passage. Proximity operators require the terms to sit close together, which usually means they describe the same feature.
| Operator | Meaning in USPTO Patent Public Search | Example |
|---|---|---|
| ADJn | Within n terms, in order, same sentence | cooling ADJ2 plate |
| NEARn | Within n terms, in any order, same sentence | valve NEAR3 temperature |
| WITHn | Within n sentences | sensor WITH1 threshold |
| SAMEn | Within n paragraphs (n up to 25) | battery SAME2 coolant |
A fixed term such as “heat sink” suits ADJ. A link between two features suits NEAR or WITH, since patent drafters describe the same relationship in many ways.
Wildcards and truncation
Wildcards replace characters so that one term catches plurals, verb forms and spelling variants. In Google Patents, “?” matches zero or one character, “*” or “$” matches zero or more, “$x” matches up to x characters and “#” matches exactly one, on single English words only.
The USPTO tool uses “$” for open truncation and “$n” for limited truncation. Its efficient searching guidance states that a query will not run when one term matches more than 20,000 hits, or when the product of its numeric modifiers exceeds 125. All operator rules in this guide were checked in November 2026.
Short stems cause most wildcard problems. “Cat$” retrieves catalyst, catheter and category together and may pass the 20,000-hit limit, while “catalys$2” keeps only the endings that matter.
How a patent search string is built
The example below is an invented illustration and does not describe a real project. It assumes a liquid-cooled plate under a battery pack, with a sensor that changes the coolant flow when the cells heat up. A searcher usually builds patent search strings for it in five layers:
- The searcher splits the invention into concepts: the battery pack, the cooling plate and the temperature-controlled flow.
- Synonyms for each concept are joined with OR, for example (batter$3 OR cell OR cells OR “energy storage”).
- The groups are joined with AND, or with a SAMEn operator where two concepts should appear in nearby paragraphs.
- The keyword groups are run inside the relevant Cooperative Patent Classification (CPC) groups, alongside a classification-only search.
- The searcher reads a sample of results, notes new terms and false hits, and rewrites the string.
In a professional patentability search, each string is recorded with its database, date and hit count, so the attorney can repeat the search.
Where database syntax differs
The same operator can mean different things in different tools, which causes silent errors when a string is copied between databases.
| Feature | USPTO Patent Public Search | Google Patents |
|---|---|---|
| WITH | Within n sentences | Within 20 words, any order |
| SAME | Within n paragraphs | Within 200 words, any order |
| Effect of proximity | Filters the results | Changes ranking only |
In Google Patents, a NEAR operator does not remove documents in which the terms are far apart, so a narrow-looking string can return far more documents there. Commercial databases use their own syntax again.
Patent search strings in a full search
Patent search strings are one part of the method. The prior art search guide covers databases and reports, and the guide to patentability search cost explains how scope affects price.
We write and test the search strings for every patentability and novelty search we run. To discuss a search, contact our team.
This guide is general information and is not legal advice.
Frequently Asked Questions
What is a patent search string?
A patent search string is a database query built from keywords, classification codes and operators in order to find every document that describes one concept. Boolean operators join the terms, proximity operators keep related terms close together, and wildcards catch word endings and spelling variants.
What is the difference between ADJ and NEAR in a patent search?
ADJ requires the terms to appear in the order written, while NEAR accepts them in any order. In the USPTO Patent Public Search tool, both also require the terms to sit within the stated number of terms in the same sentence.
Which wildcard symbol is used in patent searching?
The symbol depends on the database. The USPTO Patent Public Search tool uses “$” for open truncation and “$n” to limit the number of characters. Google Patents accepts “*” or “$” for any number of characters, “?” for zero or one character and “#” for exactly one.
Does Google Patents support proximity searching?
Google Patents accepts NEAR, ADJ, WITH and SAME, but its help page states that these operators change the ranking of results rather than which documents are retrieved. Documents in which the terms sit far apart still appear, only lower down the list.
How many search strings does a prior art search need?
There is no fixed number. A typical search uses one string per concept group, several combinations of those groups and separate classification searches. Each string is refined after a round of reading, and the record of strings appears in the final report.