Skip to main content
Query operators let you control search behavior directly in the q parameter. They work when parseOperators is enabled (the default).

Site operators

Restrict or exclude results from specific domains:

Term operators

Require or exclude specific terms:

Content operators

Filter by where terms appear:

Date operators

Filter results by publication date: Dates use YYYY-MM-DD format.

Language operator

Filter results by language: Uses ISO 639-1 two-letter language codes.

Combining operators

Operators can be combined in a single query:
This searches GitHub for markdown README files about machine learning published after January 2025.

Disabling operator parsing

If your query contains text that looks like an operator but shouldn’t be treated as one, set parseOperators=false:
When disabled, the entire query is treated as literal text.

Next steps

Filtering

Parameter-based filtering for domains, dates, and content.

Query parameters

Full parameter reference.