Google removed the sitelinks search box starting November 21, 2024, so SearchAction markup on your home page no longer affects that feature [1]. Google says you do not need to delete existing markup, because unsupported structured data will not cause issues in Search or Search Console reports [1]. What Google still supports on WebSite is the site name preference [1][4]. The audit below finds your SearchAction markup and decides what to keep.

What Google changed

Google announced the retirement on October 21, 2024, with removal of the visual element starting November 21, 2024 [1]. It applies globally, in all languages and countries [1]. Google also says it does not affect rankings or the other sitelinks visual element [1].

Two documentation changes followed:

  • The sitelinks search box documentation was removed from Google Search Central, because the feature is no longer available in Search results [2].
  • The nositelinkssearchbox robots meta rule is no longer used to control whether the sitelinks search box is shown, because the feature no longer exists [2][3].

Schema.org still defines SearchAction and potentialAction as vocabulary terms [5]. That is a statement about the vocabulary, not about any Google feature.

What WebSite markup is still supported

Google says site names continue to use a variation of WebSite structured data, and that this remains supported [1]. Its site names documentation says to add WebSite structured data to the home page to indicate a site name preference [4].

Site names in Search are generated automatically, and the markup expresses a preference, not a guarantee of selection [4].

MarkupStatus in Google Search, per the notes
WebSite with name on the home pageSupported for site name preference [1][4]
WebSite with potentialAction / SearchActionSitelinks search box retired; removal optional [1]
nositelinkssearchbox robots meta ruleNo longer used by Google Search [3]

Audit your markup in five steps

1. Find every page that carries SearchAction

Start with the home page, since that is where the markup was typically placed. Then check any template that outputs site-wide JSON-LD.

curl -s https://example.com/ | grep -o -i 'SearchAction\|potentialAction'

If you have the site in a local repo or CMS export, search that too:

grep -rniE 'SearchAction|potentialAction|query-input' ./templates ./themes

If curl returns nothing but you expect markup, view the rendered DOM in your browser's developer tools. That is a general debugging step, not something Google documents for this change. For other reasons markup goes undetected, see JSON-LD errors that hide your structured data.

2. Look at what the markup says

A typical block from before the retirement looks like this:

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Example Store",
  "url": "https://example.com/",
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://example.com/search?q={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}

Note three things: the name, the url, and whether the target template still points to a working search URL.

Open the target with a test term substituted for {search_term_string}. If the URL returns results, the markup still describes your site accurately. If it redirects, 404s, or the search URL has changed, the markup describes something that no longer exists. Google says leaving it in place will not cause issues in Search or Search Console reports [1], but stale markup is still inaccurate and worth cleaning up.

4. Decide: keep, fix, or remove

SituationAction
target works and you are happy to leave itKeep it. Google says removal is not required [1].
target is broken or outdatedFix the URL template or remove the potentialAction block.
You maintain a plugin or template that outputs itRemoving it simplifies the output. This is optional.
WebSite has no name, or name differs from how you present the siteFix name. It is the part Google still uses [4].

Google says site owners can remove sitelinks search box structured data [1]. It is a cleanup choice, not an obligation.

5. Clean up the robots meta tag

Search your templates for nositelinkssearchbox:

grep -rn 'nositelinkssearchbox' ./templates

Google Search no longer uses this rule, because the feature no longer exists [3]. Removing it is housekeeping.

A trimmed WebSite block

If you decide to remove the search action, what remains is the site name preference:

{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Example Store",
  "url": "https://example.com/"
}

Place it on the home page [4]. Because Google generates site names automatically and treats the markup as a preference [4], check the result in Search rather than assuming it applied. If you publish Organization markup too, keep the names consistent; the Organization schema check shows how a site can end up naming itself two ways. To link the two in one graph, see JSON-LD @id.

What this does not tell you

The notes cover Google Search only. We did not source claims about how other search engines or AI systems treat SearchAction, so we make none here. If you keep the markup for a reason outside Google Search, such as an internal tool that reads your JSON-LD, that decision is yours to test.

What to do next

  1. Run the curl and grep commands above on your home page and templates.
  2. Test the target URL. Fix it or remove the block if it is stale.
  3. Confirm WebSite has a correct name and url on the home page.
  4. Remove nositelinkssearchbox if it is still in your templates.
  5. For wider structured data coverage, read Schema.org markup for AI search.