Skip to main content

Google Search URL Parameters

Search operators like site: and filetype: tell Google what to search for. URL parameters tell Google how to search — controlling result count, personalization, geolocation, freshness, and display options. This reference covers 17 active parameters and 1 deprecated, used by SEO specialists, OSINT researchers, and developers.

Basic Parameters for SEO & OSINT

Essential parameters for getting clean, unfiltered search results. Append these to any Google search URL after the query.

&filter=0

SEO OSINT

Disable Duplicate Filtering (Deep Search)

Google automatically hides results it considers "very similar" or removed due to DMCA complaints. Adding filter=0 forces Google to show all found pages. Essential for SEO audits and OSINT investigations where you need complete coverage.

Values for the filter parameter
Value Effect
0 Show all results including duplicates (deep search)
1 Default filtering (omit similar results)
google.com/search?q=site:example.com&filter=0

&num=X

Deprecated

Results Per Page — no longer works

Previously controlled how many results appeared on a single page (10, 20, 50, or 100). Google has deprecated this parameter — it is now ignored and results always display in Google's default format. You can still change result count in Google Settings when logged in, but the URL parameter has no effect.

google.com/search?q=site:example.com&num=100

&pws=0

SEO

Disable Personalization

Google personalizes results based on your search history and cookies. pws=0 (Personalized Web Search = 0) disables this, giving "clean" results. Essential for SEO professionals checking real rankings rather than personalized positions.

Values for the pws parameter
Value Effect
0 Disable personalization (neutral results)
1 Enable personalization (default)
google.com/search?q=seo+tools&pws=0

Tools Bar Search (&tbs=)

The tbs parameter is a container for multiple sub-filters. When combining several tbs values, separate them with commas.

&tbs=li:1

OSINT SEO

Verbatim / Strict Mode

Disables typo correction ("Did you mean...?"), ignores synonyms, and prevents Google from dropping words from your query. The search engine will look for an exact match of every word. Indispensable for OSINT when searching specific names or technical terms Google tries to "correct."

google.com/search?q=Elon+Musk+xAI&tbs=li:1

&tbs=qdr:X

SEO OSINT

Freshness Filter (Date Range)

A more reliable alternative to the before:/after: operators. Filters results by how recently they were indexed.

Values for the tbs=qdr freshness parameter
Value Time Range
qdr:h Past hour — ideal for monitoring breaking news
qdr:d Past 24 hours
qdr:w Past week
qdr:m Past month
qdr:y Past year
google.com/search?q=data+breach&tbs=qdr:w

Combining tbs Parameters

  • Multiple tbs values are comma-separated: tbs=li:1,qdr:w
  • Verbatim (li:1) and freshness (qdr:X) can combine freely
  • Custom date range (cdr:1,cd_min:...,cd_max:...) replaces freshness — they are mutually exclusive
  • Verbatim + custom date range combine: tbs=li:1,cdr:1,cd_min:01/01/2025,cd_max:12/31/2025

Geolocation Parameters

Control which country and language Google prioritizes in results. Essential for local SEO testing and regional OSINT.

&gl=XX

SEO OSINT

Geo Location (Country)

Two-letter ISO 3166-1 alpha-2 country code. Affects which region's sites get priority in results. For example, gl=us prioritizes US sites, gl=gb prioritizes UK sites, gl=de prioritizes German sites.

google.com/search?q=best+restaurants&gl=us

&hl=XX

SEO

Interface Language (Host Language)

Controls the language of the search interface — hints, snippets, and UI elements. For example, hl=en for English, hl=es for Spanish. Does not strictly filter result content (use lr for that).

google.com/search?q=machine+learning&hl=en

&uule=

SEO

City-Level Geolocation Targeting

The most powerful parameter for local SEO. Simulates a search from a specific city or region, even if you're on another continent. Uses a Base64-encoded location string from Google's geotargeting database.

Encoding algorithm:

  1. Get the canonical name from Google Ads geotargets (e.g., New York,New York,United States)
  2. Count characters: 30
  3. Map length to a character: A=1, B=2, … Z=26, a=27 … z=52, 0=53 … 9=62. Length 30 = d
  4. Base64-encode the canonical name: TmV3IFlvcmssTmV3IFlvcmssVW5pdGVkIFN0YXRlcw==
  5. Concatenate: w+CAIQICI + length char + Base64 string
google.com/search?q=restaurants&uule=w+CAIQICIdTmV3IFlvcmssTmV3IFlvcmssVW5pdGVkIFN0YXRlcw==

Advanced Parameters

Rarely used by regular users, but powerful for automation, parsing, and intelligence gathering. Add these to the "Advanced Settings" of your search workflow.

&nfpr=1

OSINT

Disable Auto-Correction

Different from Verbatim (tbs=li:1). This only disables "Did you mean...?" auto-corrections but still allows synonym matching. Essential for OSINT when searching specific surnames or company names that Google stubbornly tries to correct to dictionary words.

google.com/search?q=Raytheon+defence&nfpr=1

&tbs=cdr:1,cd_min:…,cd_max:…

SEO OSINT

Exact Calendar Date Range

The most reliable way to restrict results to a specific time period. Solves all issues with the daterange: operator. Date format is MM/DD/YYYY.

google.com/search?q=budget+report&tbs=cdr:1,cd_min:01/01/2025,cd_max:12/31/2025

&lr=lang_XX

SEO OSINT

Content Language Filter (Strict)

Not to be confused with &hl= (which changes Google's menu language). The lr parameter (Language Restrict) forces Google to show results exclusively in the specified language. Useful for finding results in a specific language — for example, Spanish-only results on an English query.

google.com/search?q=cybersecurity&lr=lang_es

&cr=countryXX

OSINT

Hosting Country Filter (Strict)

Unlike &gl= (which simulates your location), cr shows results only from sites belonging to the specified country (by IP or domain). Ideal for OSINT when you need mentions exclusively from a specific country's web infrastructure.

google.com/search?q=government+contracts&cr=countryUS

&as_epq=phrase

SEO Dev

Exact Phrase (Alternative to Quotes)

Instead of placing phrases in quotes ("..." operator) inside the q= parameter, you can move exact phrase matching to a separate URL parameter. Simplifies URL encoding and parsing.

google.com/search?q=seo&as_epq=link+building

&as_eq=word

SEO Dev

Exclude Word (Alternative to Minus Operator)

A safer alternative to the minus (-) operator. Excludes specified words from results via the URL. Easier for managing stop-word lists programmatically.

google.com/search?q=apple&as_eq=iphone

&start=X

Dev

Pagination Offset

Determines which result number to start from. With &num=100, using &start=100 shows page 2 (results 101–200). Essential for APIs and automated page loading.

google.com/search?q=site:example.com&num=100&start=100

&tbm=code

SEO OSINT

Search Vertical Switcher

Switches the search type (the tabs below Google's search bar) without changing the query. "To Be Matched" — selects which Google search database to use.

Values for the tbm search vertical parameter
Value Search Type
nws News only — ideal for PR and SERM
isch Image search
vid Video search
bks Books — powerful for finding quotes and citations
google.com/search?q=climate+change&tbm=nws

&gws_rd=cr

SEO OSINT

Prevent Country Redirect

Prevents Google from redirecting you to a regional mirror (google.com.ua, google.de, etc.). Use together with &gl=us&hl=en to guarantee "American" results without any regional interference.

google.com/search?q=seo+tools&gl=us&hl=en&gws_rd=cr

&safe=off|active

OSINT

SafeSearch Control

Google SafeSearch hides results it considers suspicious or NSFW by default. For OSINT investigations, safe=off ensures Google does not suppress results through internal safety filters.

Values for the safe parameter
Value Effect
off Disable SafeSearch (show all results)
active Enable SafeSearch (filter sensitive content)
google.com/search?q=leaked+documents&safe=off

Combined URL Example

How all parameters combine into a single Google search URL.

Scenario: Find PDF documents on .gov for "budget 2025", searching from the US, limited to the year 2025, with no personalization.

https://www.google.com/search?q=site%3A.gov+ext%3Apdf&as_epq=budget+2025&tbs=cdr:1,cd_min:01/01/2025,cd_max:12/31/2025&gl=us&pws=0&filter=0
q=
Search query (operators)
as_epq=
Exact phrase match
tbs=cdr:1
Custom date range
gl=
Geo location (country)
pws=
Disable personalization
filter=
Deep search (no duplicates filter)

Ready to build your query?

Combine search operators and URL parameters in our visual builder.

Open Query Builder