Wonders

The Rabbit Hole · Literature review guides

Boolean Search Strings for Academic Databases: Syntax, Examples and Translation

How to build a Boolean search string from a research question and translate it correctly for PubMed, Scopus, Web of Science, EBSCOhost, ProQuest and Google Scholar, including the operator precedence and proximity syntax that differ between them.

Sep 21, 2026
Boolean Search Strings for Academic Databases: Syntax, Examples and Translation

TL;DR

Split your question into two to four concepts, list synonyms for each, join synonyms with OR inside parentheses, then join the concept blocks with AND. Use quotation marks for phrases and an asterisk for word endings. Always add your own parentheses, because databases process operators in different orders: PubMed reads left to right, Web of Science and ProQuest process AND before OR, and Scopus processes OR first but announced in 2025 that it is changing that order. Proximity operators and field codes differ on every platform, so a string has to be translated, not pasted. Test it against papers you already know should appear, and save the final string with the date and result count.

A search box that accepts natural language is convenient, but it gives you no control over what is matched and no way to report what you did. A Boolean string gives you both. It is also the one part of a literature search that a supervisor or reviewer can read and evaluate directly.

This guide builds one string step by step and then translates it for the main academic platforms, since the same string pasted into a different database can run without an error message and still return the wrong set.

The building blocks

ElementWhat it doesExample
OREither term. Broadens. Use between synonymsteenager OR adolescent
ANDBoth terms. Narrows. Use between conceptsadolescent AND anxiety
NOT (AND NOT in Scopus)Excludes. Use sparinglymindfulness NOT yoga
ParenthesesControl the order of processing(teenager OR adolescent) AND anxiety
Quotation marksExact phrase"social anxiety"
AsteriskTruncation: any endingadolescen* finds adolescent, adolescents, adolescence
WildcardOne character inside a wordwom?n, organi?ation (symbol varies by database)
Proximity operatorTerms within n words of each othermindfulness NEAR/3 program* (syntax varies)
Field codeRestrict to title, abstract, subject heading and so onanxiety[tiab], TITLE-ABS-KEY(anxiety)

Why parentheses are not optional

Databases do not agree on the order in which operators are processed.

PlatformDocumented order of processing
PubMedLeft to right
ScopusOR, then the proximity operators W/n and PRE/n, then AND, then AND NOT
Web of ScienceNEAR/x, then SAME, then NOT, then AND, then OR
ProQuestPRE, NEAR, then AND, OR, NOT

Scopus is in the middle of changing this. A Scopus blog post of 24 March 2025 announced a new precedence of AND NOT, then AND, then OR, "starting in late 2025" and to be finalized "in early 2026". The Scopus advanced-search help page, last updated 24 August 2026, still documents the OR-first order shown above, so the same unbracketed string may behave differently depending on when and where it is run. Check the help page before relying on precedence.

Take the unbracketed string mindfulness AND teenager OR adolescent. PubMed reads it left to right, combining mindfulness with teenager and then adding every record that mentions adolescent. Web of Science and ProQuest process AND before OR and give the same oversized result; ProQuest's own help illustrates this with dog OR cat AND food OR nutrition, which it processes as dog OR (cat AND food) OR nutrition. Scopus under the OR-first rule returns what you meant, and under the announced rule it would behave like Web of Science. With parentheses, mindfulness AND (teenager OR adolescent) returns the intended set everywhere. Put every OR group in parentheses and you never have to remember the table.

EBSCOhost is left out of this table deliberately. EBSCO documents its operators in EBSCO Connect, whose pages did not render to us on the day of checking (21 September 2026) and are not captured in the Internet Archive, so we could not confirm its precedence or its wildcard symbols first-hand. Look them up in EBSCO Connect, or ask your librarian, for the database you are actually searching.

Build a string in four steps

The example question: do school-based mindfulness programmes reduce anxiety in adolescents?

Step 1: Identify the concepts

Use the main nouns of the question. Leave out words such as "effect", "reduce" or "impact", which authors express in too many ways. Here there are four concepts: mindfulness, adolescents, anxiety, school setting. Start with the three or four that matter most. Each AND concept you add removes records, including relevant ones.

Step 2: List synonyms, spellings and related terms

Concept 1Concept 2Concept 3Concept 4
mindfulnessadolescent, adolescents, adolescenceanxietyschool, schools
mindfulteenager, teen, teensanxiousclassroom
MBSRyouthworryschool-based
meditationyoung peopleinternalizing, internalisingcurriculum
secondary school students, high school students

Sources for synonyms: the keywords and abstracts of three or four papers you already have, the database thesaurus (MeSH, the ERIC Thesaurus, APA Thesaurus of Psychological Index Terms), and British and American spellings.

Step 3: Combine

OR within a column, AND between columns, with truncation and phrases:

(mindful* OR MBSR OR meditat*)
AND (adolescen* OR teen* OR youth OR "young people" OR "high school student*" OR "secondary school student*")
AND (anxi* OR worry OR internali?ing)
AND (school* OR classroom* OR curricul*)

Step 4: Test and adjust

Librarians reviewing search strategies for systematic reviews use the PRESS checklist (McGowan et al., 2016), which looks at the same things. Its six retained elements are translation of the research question; Boolean and proximity operators; subject headings; text word search; spelling, syntax and line numbers; and limits and filters.

Translate the string for each database

The logic stays the same. Field codes, proximity operators and wildcards change.

PubMed

(mindfulness[mh] OR mindful*[tiab] OR MBSR[tiab] OR meditat*[tiab])
AND (adolescent[mh] OR adolescen*[tiab] OR teen*[tiab] OR youth[tiab] OR "young people"[tiab])
AND (anxiety[mh] OR anxi*[tiab] OR worry[tiab])
AND (schools[mh] OR school*[tiab] OR classroom*[tiab] OR curricul*[tiab])

Scopus

TITLE-ABS-KEY(
  (mindful* OR mbsr OR meditat*)
  AND (adolescen* OR teen* OR youth OR "young people")
  AND (anxi* OR worry OR internalizing OR internalising)
  AND (school* OR classroom* OR curricul*)
)

Web of Science

TS=((mindful* OR MBSR OR meditat*)
AND (adolescen* OR teen* OR youth OR "young people")
AND (anxi* OR worry OR internali?ing)
AND (school* OR classroom* OR curricul*))

EBSCOhost (ERIC, APA PsycInfo, CINAHL, Academic Search)

(mindful* OR MBSR OR meditat*)
AND (adolescen* OR teen* OR youth OR "young people")
AND (anxi* OR worry OR internalizing OR internalising)
AND (school* OR classroom* OR curricul*)

ProQuest (Dissertations & Theses Global, Education Database and others)

noft((mindful* OR MBSR OR meditat*)
AND (adolescen* OR teen* OR youth OR "young people")
AND (anxi* OR worry OR internali?ing)
AND (school* OR classroom* OR curricul*))

Google Scholar

mindfulness adolescents OR teenagers anxiety school OR classroom

Syntax summary

PlatformTitle/abstract fieldProximity, any orderProximity, in orderOne characterZero or one character
PubMed[tiab]"a b"[tiab:~n]none documentednone documentednone documented
ScopusTITLE-ABS() or TITLE-ABS-KEY()W/nPRE/n
Web of ScienceTS= (topic)NEAR/nnone documented?$
ProQuestnoft()NEAR/n, N/nPRE/n, P/n?
Ovid (MEDLINE, Embase, PsycInfo).ti,ab.adjnadj (adjacent words only)#?

A dash means the platform's help page does not define that symbol in the pages cited below, not that no such symbol exists. EBSCOhost is omitted for the reason given in its section above. Database interfaces change, and Scopus is mid-change: check the platform's own help page before finalizing a search for publication.

Record what you ran

For every database, save:

  1. the platform and database name (for example "APA PsycInfo via EBSCOhost"),
  2. the date,
  3. the complete string exactly as run, including limits,
  4. the number of results.

PRISMA 2020 asks for the full strategy for every database, and these counts feed the first box of the PRISMA flow diagram. For a thesis chapter, the same record lets you write two accurate sentences about your search and rerun it before submission to catch new publications. Most databases let you save searches and set alerts in a free personal account.

Common mistakes

Wonders suggests keywords for your topic and builds the Boolean query with you, across 320M+ scholarly works. It is a good way to draft the concept blocks and see quickly whether a synonym adds relevant papers. For databases your review must report, translate the string using the syntax table above.

References

All pages below were checked on 21 September 2026. The two Web of Science pages return 403 to non-browser requests, so they were read through the Internet Archive; the snapshot dates and the pages' own "updated" dates are given.

Frequently asked questions

Do Boolean operators have to be in capital letters?

In PubMed, yes: its user guide says to enter Boolean operators in uppercase characters. Web of Science's help says the opposite, that its search operators are not case sensitive. Writing operators in capitals satisfies both, and it makes strings easier to read, so it is the safe habit.

Does Google Scholar support Boolean searching?

Only in a basic form. Its help page documents an author: operator and says the advanced search window lets you search the author, title and publication fields and limit results by date. Google's help page documents no truncation, wildcard or proximity operators. Haddaway and colleagues (2015) report that search strings are limited to 256 characters, that only the first 1,000 results are displayed and that results cannot be exported in bulk. It is useful for finding known items and for citation chasing, not as the main database of a reproducible search.

How many results should a good search string return?

There is no target number. A systematic review search favours sensitivity, so it returns many more records than will be included. For a thesis chapter, aim for a set you can realistically scan. Judge the string by whether it retrieves the key papers you already know and whether the first few pages are mostly on topic.

When should I use NOT?

Rarely. NOT removes every record that mentions the excluded word, including relevant ones that mention it in passing. A search for adolescents NOT adults drops every study that compares the two groups. It is safer to narrow with an additional AND concept or a field restriction, and to exclude unwanted records at screening.

What is the difference between keywords and subject headings?

Keywords match the words authors used in the title and abstract. Subject headings, such as MeSH in PubMed or the ERIC Thesaurus descriptors, are standardized labels added by indexers, so they find papers on a concept whatever wording the authors chose. A thorough search combines both with OR for each concept, because recent records may not be indexed yet and not every concept has a heading.

More useful guides

All literature review guides

Finding these guides useful?

Try these techniques in Wonders — an AI workspace for literature review. 14 days free. Students get 50% off.

Start free →