CoreCited
Technical

The noindex tag: every robots rule, how conflicts resolve, and the robots.txt trap

How the noindex tag works: meta robots and X-Robots-Tag syntax, every rule Google supports, how conflicts resolve, the robots.txt trap and AI Overviews.

AlexFounder & Developer13 min read

The noindex tag asks search engines to leave a page out of their results. It is one line of HTML, or one HTTP header, and it is easy to get wrong in ways that fail silently: blocked in robots.txt so it is never read, left on from staging, added by JavaScript after Google has stopped looking, or contradicted by another rule. This guide covers every robots rule Google supports, how conflicts are settled, the robots.txt trap, the X-Robots-Tag header for PDFs and other files, and what these rules do to AI Overviews and other AI answers.

To write the tag, the free meta tag generator builds the robots meta tag and flags conflicting rules. To check that a URL is not blocked before you rely on its noindex, test it in the robots.txt tester.

Key takeaways
1noindex works as a meta tag or an X-Robots-Tag header. Google says the two have the same effect.
2A page blocked in robots.txt never shows Google its noindex. To remove a page, let it be crawled.
3When robots rules conflict, Google applies the more restrictive one. Bing made the opposite choice for NOCACHE plus NOARCHIVE.
4Use X-Robots-Tag for PDFs, images and other files with no HTML head.
5noindex and nosnippet reach Google's AI Overviews and AI Mode. ChatGPT, Claude and Perplexity document robots.txt, not meta tags.
12
rules Google lists as valid in the robots meta tag, from all to unavailable_after
Google, Mar 2026
2
name values Google honours besides robots: googlebot and googlebot-news
Google, Mar 2026
6
months, about, that a temporary removal in Search Console lasts
Search Console Help
2
of 14 big homepages sending a robots header for Bing alone (BBC, Guardian)
fetched 11 Oct 2026

Sources: Google’s robots specification[1] and Removals help[6]. The header count is what the homepages we fetched for our meta tags for SEO sample sent on 11 October 2026.

What the noindex tag does

Definition · noindex
Google’s definition: “Do not show this page, media, or resource in search results.” If you don’t specify it, “the page, media, or resource may be indexed and shown in search results”[1].

There are two ways to set it, and Google says they “have the same effect”: a <meta> tag in the HTML, or an X-Robots-Tag header in the HTTP response[2]. Pick the meta tag for ordinary pages and the header for anything that is not HTML. Google also warns that “some search engines might interpret the noindex rule differently”[2], so the guarantee is Google’s, not the whole web’s.

When it works, Search Console’s Page indexing report lists the page under URL marked ‘noindex’: “When Google tried to index the page it encountered a ‘noindex’ directive and therefore did not index it.” Google’s advice there is short: if you meant it, “congratulations!”; if you did not, remove the tag or header[5].

The robots meta tag: syntax

The meta noindex tag goes in the head. Its name says which crawler the rule is for, and its content lists the rules:

meta name robots: the common forms
<!-- Every search engine that supports noindex -->
<meta name="robots" content="noindex">

<!-- Google only -->
<meta name="googlebot" content="noindex">

<!-- Keep it out of results, but follow its links -->
<meta name="robots" content="noindex, follow">

<!-- Two rules, two ways: one list, or separate tags. Both work. -->
<meta name="robots" content="noindex, nofollow">
<meta name="robots" content="noindex">
<meta name="robots" content="nofollow">
  • Which names work. robots means every crawler. Google supports two more, googlebot “for all text results” and googlebot-news “for news results”, and says “other values are ignored”[1]. Other engines read their own names: Bing’s examples use bingbot[9].
  • Case does not matter. “Both the name and the content attributes are case-insensitive.”
  • Lists or separate tags. Rules can be comma-separated in one tag or split across several[1].
  • The head is the norm, not a hard limit at Google. Google “doesn’t enforce placement of meta robots in the HTML head and will respect robots meta tags in the body section”[1]. Keep it in the head anyway; other crawlers may not be as forgiving.

Real sites often send more than one tag. On 11 October 2026, BBC’s search results page carried two robots tags, noindex and max-image-preview:large, and wordpress.org’s search pages carried two as well, noindex, follow, max-image-preview:large and noindex,follow. Both are valid; Google combines them.

Every robots rule Google supports

The noindex tag is one of twelve rules Google lists as valid, plus three it no longer uses. All of them work in the meta tag and in the header: “Any rule that can be used in a robots meta tag can also be specified as an X-Robots-Tag”[1].

Robots rules at Google
From Google's robots meta tag specification, updated 24 March 2026. Toggle columns.
What it doesWhen to use it (our advice)
allNo restrictions. The default; listing it has no effectNever needed
noindexDo not show the page, media or resource in resultsThank-you pages, internal search, thin utility pages
nofollowDo not follow the links on this pageRarely; prefer link-level rel attributes
noneEquivalent to noindex, nofollowShorthand, if you want both
nosnippetNo text snippet or video preview; also no direct input to AI Overviews and AI ModeContent you want listed but not quoted
indexifembeddedAllows indexing when embedded via iframes, only together with noindexEmbeddable widgets and players
max-snippet:[n]At most n characters of snippet; 0 means none, -1 no limitTrimming quotes without removing them
max-image-preview:[size]none, standard, or large (up to the viewport width)large on articles with good images
max-video-preview:[n]At most n seconds of video preview; 0 static image only, -1 no limitLimiting video previews
notranslateNo translation of the page offered in resultsRarely
noimageindexDo not index images on this pagePages whose images should not appear in image search
unavailable_after:[date]Stop showing the page after a date and time; crawl rate drops after itEvents, offers, time-limited pages
noarchive, nocache, nositelinkssearchboxNo longer used by Google SearchOnly for Bing, see below

unavailable_after takes a date “in a widely adopted format including, but not limited to RFC 822, RFC 850, and ISO 8601”, and is ignored if the date is not valid[1]. For the full head around these tags, see meta tags for SEO.

noindex, nofollow vs noindex, follow

noindex is about the page; nofollow is about its links. Combined as noindex, nofollow, or the shorthand none, the page drops out and its links are not followed. With noindex, follow (or just noindex, since following is the default), the page drops out but its links may still be crawled.

That distinction fades over time. In 2017 Google’s John Mueller said that when Google sees a noindex for long enough, “we will remove it completely. And then we won’t follow the links anyway. So in noindex and follow is essentially kind of the same as a noindex, nofollow”, and on timing: “It depends”[10]. That is a statement reported by Search Engine Roundtable, not Google documentation. The practical lesson: do not use a noindexed page as the only route to pages you want found. Link to them from indexed pages too.

When rules conflict: which one wins

Google states the rule plainly, with an example:

Google's conflict rule
“In the case of conflicting robots rules, the more restrictive rule applies. For example, if a page has both max-snippet:50 and nosnippet rules, the nosnippet rule will apply.”[1]

When different tags address different crawlers, Google adds them up: “the search engine will use the sum of the negative rules”. Its example is a page with robots: nofollow and googlebot: noindex, which Googlebot reads as noindex, nofollow[1].

How conflicting rules resolve
Google from its robots specification; Bing from its September 2023 post. Toggle columns.
The page sendsResult
Googlemax-snippet:50 and nosnippetnosnippet (more restrictive)
Googlerobots: nofollow, googlebot: noindexnoindex, nofollow for Googlebot (sum of negatives)
Googleindex in one tag, noindex in anothernoindex (more restrictive)
BingNOARCHIVE and NOCACHETreated as NOCACHE, the less restrictive of the two

The third Google row is our application of the stated rule, not an example Google gives. The Bing row is the odd one out: Bing says that if content has both tags, “we will treat it as NOCACHE”[9]. So do not assume every engine resolves conflicts the same way. Send one clear set of rules.

The robots.txt trap

This is the mistake most guides mention and many sites still make. To keep a page out of results, people block it in robots.txt and add noindex. The block wins, and the noindex is wasted. Google: “For the noindex rule to be effective, the page or resource must not be blocked by a robots.txt file”, because if it is, “the crawler will never see the noindex rule, and the page can still appear in search results”[2]. And writing noindex inside robots.txt is “not supported by Google”[2].

robots.txt vs noindex: wrong and right
# robots.txt: WRONG if you want /thank-you/ out of search results.
# Google never fetches the page, so it never sees the noindex on it.
User-agent: *
Disallow: /thank-you/

# RIGHT: let it be crawled...
User-agent: *
Allow: /

# ...and put the rule on the page itself:
# <meta name="robots" content="noindex">

Search Console names the symptom. A page under Indexed, though blocked by robots.txt was indexed because “someone else links to your page”, and Google’s fix is to reverse the instinct: “To avoid being indexed, remove the robots.txt block and use ‘noindex’”[5]. Once the page has dropped out, you may block crawling again if you need to save crawl capacity, but the noindex stops being read from then on.

The same logic applies to canonicals. Google does not recommend noindex to steer which of several duplicates is chosen, “because it will completely block the page from Search”[8]. For duplicates, use a canonical; for pages that should not be found at all, use noindex.

X-Robots-Tag: noindex for PDFs and other files

A PDF, an image or a video file has no head to put a meta tag in. Google: “To block indexing of non-HTML resources, such as PDF files, video files, or image files, use the X-Robots-Tag response header instead”[1]. The header takes the same rules, can name a crawler first, and is case-insensitive: “The HTTP header, the user agent name, and the specified values are not case sensitive”[1].

X-Robots-Tag examples
# What the server sends (any rule from the meta tag works here)
X-Robots-Tag: noindex

# Aimed at one crawler, as BBC and the Guardian do for Bing
X-Robots-Tag: bingbot: noarchive

# Several rules, and a date after which the URL should drop out
X-Robots-Tag: noindex, nofollow
X-Robots-Tag: unavailable_after: 2026-12-31

You set it in the server or the framework, not in the file:

.htaccess: noindex every PDF
<Files ~ "\.pdf$">
  Header set X-Robots-Tag "noindex"
</Files>

The Next.js robots field also accepts a separate googleBot object, written as its own googlebot tag[13].

What real sites send

  • BBC and the Guardian sent X-Robots-Tag: bingbot: noarchive on every page we requested on 11 October 2026, including their homepages and search pages. That rule does nothing at Google, and keeps their content out of Bing’s chat answers (more below).
  • Vercel adds X-Robots-Tag: noindex to every preview deployment, and to old production deployments once a new one is promoted. The exception: it “omits X-Robots-Tag: noindex when a custom domain is assigned to a non-production branch”, so a staging.example.com can be indexed unless you add the header yourself[11]. Check your staging domain.
Check a URL's noindex from the command line
# Is there a noindex in the header?
curl -sI https://www.example.com/report.pdf | grep -i '^x-robots-tag'

# ...or in the HTML a crawler receives (before any JavaScript runs)?
curl -sL https://www.example.com/page | grep -ioE '<meta[^>]+name=["'"'"']?(robots|googlebot|bingbot)[^>]*>'

# Is the URL blocked in robots.txt? Then neither of the above will be read.
curl -s https://www.example.com/robots.txt

noindex and JavaScript

If your pages are built in the browser, be careful about who sets the tag. Google says you can add or change a robots meta tag with JavaScript, but “when Google encounters the noindex tag, it may skip rendering and JavaScript execution”, so using JavaScript to change or remove a noindex “may not work as expected”[4]. A page that ships noindex in its HTML and removes it in the browser can stay out of Google. Put the final rule in the server response.

Snippet controls, AI Overviews and other AI answers

The robots rules now reach further than the blue links. Here is what each company documents, read on 11 October 2026.

  • Google. A page must be “indexed and eligible to be shown in Google Search with a snippet” to be a supporting link in AI Overviews or AI Mode, and Google names nosnippet, data-nosnippet, max-snippet and noindex as the ways to limit what is shown[7]. nosnippet applies to “all forms of search results (at Google: web search, Google Images, Discover, AI Overviews, AI Mode)” and prevents use “as a direct input for AI Overviews and AI Mode”; max-snippet “will also limit how much of the content may be used as a direct input”[1]. Google-Extended, a robots.txt token for some of Google’s other AI systems, is separate from these[7].
  • Bing. “Content tagged NOARCHIVE will not be included in Bing Chat answers, not be linked to in the answers.” With NOCACHE, Bing “will only display URL/Snippet/Title in the answer”. Both stay in Bing’s search results, and NOARCHIVE content is not used to train Microsoft’s generative models[9]. The post dates from 2023, when the product was called Bing Chat.
  • OpenAI, Anthropic, Perplexity. Their crawler documentation describes robots.txt controls and does not mention noindex or any meta tag[14][15][16]. OpenAI: sites opted out of OAI-SearchBot “will not be shown in ChatGPT search answers, though can still appear as navigational links”[14]. The AI crawler checker shows which of these bots your robots.txt admits, and should you block GPTBot weighs the trade-off.
Partial control: data-nosnippet
To keep one block out of snippets, and so out of Google’s AI features, without touching the rest of the page, wrap it in a span, div or section with data-nosnippet. Any value is ignored, so data-nosnippet="false" still excludes the content, and an unclosed tag can extend the excluded section[1].

How long removal takes, and faster options

A noindex only acts when the page is recrawled, and Google says “it may take months for Googlebot to revisit a page”. You can request a recrawl with the URL Inspection tool[2]. For urgent cases, Search Console’s Removals tool hides a URL, but “a successful request lasts only about six months”. For a permanent removal, Google lists returning a 404 or 410, blocking access with a password, or a noindex, which it calls “less secure than the other methods”, and it says plainly: “Do not use robots.txt as a blocking mechanism”[6].

Myth
Blocking a page in robots.txt removes it from Google.
What is true
It stops crawling, not indexing. Google can index a blocked URL from links, and never sees its noindex.
Myth
noindex hides a page from people.
What is true
It only asks search engines not to list it. Anyone with the URL can still open it. Use a password for private content.
Myth
noarchive still matters for Google.
What is true
Google lists noarchive and nocache as rules it no longer uses. They matter at Bing.
Myth
A noindex meta tag also stops ChatGPT using the page.
What is true
OpenAI documents robots.txt controls for its crawlers and says nothing about meta tags.

The mistakes that cost traffic

  • A staging noindex that ships. WordPress adds noindex,nofollow to the whole front end when its search engine visibility setting is switched off[12]. Launch checklists exist because that box gets forgotten.
  • A noindex template. One rule on a category or product template removes every page built from it.
  • Noindex plus robots.txt. The rule is never read; see the trap above.
  • Noindex added or removed by JavaScript. Google may never run the script.
  • A preview or staging domain without one. Platforms that add it automatically may not on custom domains.

A stray noindex is a site-wide problem more often than a page-level one. CoreCited’s Site Audit reads the robots meta tag on every page it crawls and flags any page carrying noindex, so a template mistake shows up as a list rather than a traffic drop. The free account audits 10 pages; every limit is on the pricing page.

A noindex nobody can read does nothing. Let the page be crawled, then tell search engines to drop it.
Before you rely on a noindex
0/8

Questions people ask

What is a noindex tag?

A noindex tag is a robots rule that asks search engines not to show a page in their results. It is usually written as <meta name="robots" content="noindex"> in the page's head, or sent as an X-Robots-Tag: noindex HTTP header. Google says the two have the same effect. The page must not be blocked in robots.txt, or the rule is never seen.

What is the difference between noindex and nofollow?

noindex keeps the page itself out of search results. nofollow asks search engines not to follow the links on the page. They are independent and can be combined as noindex, nofollow, which Google also accepts as the single rule none. Without either, the default is index and follow.

Should I use noindex or robots.txt?

Use noindex to keep a page out of search results, and robots.txt to stop crawling. A page disallowed in robots.txt can still be indexed from links to it, and its noindex is never read. Google's own help says robots.txt is not the correct mechanism to avoid being indexed.

How do I noindex a PDF?

A PDF has no HTML head, so send the rule as an HTTP response header: X-Robots-Tag: noindex. Set it in your server or framework configuration for the files you want excluded, then check it with curl -I. Google says to use the X-Robots-Tag header for non-HTML resources such as PDF, video and image files.

How long does it take for noindex to remove a page?

Google has to recrawl the page first, and its documentation says that may take months for some pages. You can ask for a recrawl with the URL Inspection tool. If you need a page gone from results quickly, the Removals tool hides it for about six months while the noindex takes effect.

Does noindex keep a page out of AI Overviews and ChatGPT?

For Google, yes: a page must be indexed and eligible for a snippet to be a supporting link in AI Overviews or AI Mode, and nosnippet also stops content being used as a direct input. ChatGPT search is controlled differently: OpenAI documents robots.txt rules for OAI-SearchBot, not meta tags.

Keep reading

Sources

[1]Robots meta tag, data-nosnippet, and X-Robots-Tag specifications — Google Search Central, updated 24 March 2026
[2]Block Search indexing with noindex — Google Search Central, updated 10 December 2025
[3]Meta tags and attributes that Google supports — Google Search Central, updated 10 December 2025
[4]Understand the JavaScript SEO basics — Google Search Central, updated 4 March 2026
[5]Page indexing report — Search Console Help, read 11 October 2026
[6]Removals and SafeSearch reports tool — Search Console Help, read 11 October 2026
[7]AI features and your website — Google Search Central, updated 10 December 2025
[8]How to specify a canonical with rel="canonical" and other methods — Google Search Central, updated 10 July 2026
[9]Announcing new options for webmasters to control usage of their content in Bing Chat — Bing Webmaster Blog (Fabrice Canel), 22 September 2023
[10]Google: Long Term Noindex Will Lead To Nofollow On Links — Search Engine Roundtable (Barry Schwartz, reporting John Mueller), 28 December 2017
[11]Are Vercel Preview Deployments indexed by search engines? — Vercel Knowledge Base, modified 2 October 2026
[12]Robots API and max-image-preview directive in WordPress 5.7 — Make WordPress Core (Jb Audras), 19 February 2021
[13]generateMetadata (robots) — Next.js documentation, updated 19 August 2026
[14]Overview of OpenAI crawlers — OpenAI, no date shown, read 11 October 2026
[16]Perplexity Crawlers — Perplexity docs, read 11 October 2026

Find out where you actually stand

One real question, real AI engines, and the answer they gave — including who was named in it. No account, no card.