Robots meta tag: definition and directives
99Visibility Research · Updated October 21, 2026 · 4 min read
Short answer
A robots meta tag is an HTML element in a page's head that tells search crawlers whether to index that page and how much of it to show. For AI visibility, three directives matter most: noindex, nosnippet and max-snippet. Google and Bing document them as the on-page controls that keep content out of AI answers. Robots.txt is different: it controls whether a crawler may fetch the page at all.
Key takeaways
- The robots meta tag sets page-level directives for indexing and display, while robots.txt sets crawl permission per bot.
- Google says a page must be indexed and eligible for a snippet to appear as a supporting link in AI Overviews or AI Mode, so noindex and nosnippet remove that eligibility.
- A crawler has to fetch a page to read its meta tag, so a robots.txt block means a noindex on that page is never seen.
- These tags are suppression controls only: no robots meta directive makes a page more likely to be cited.
- Tags inherited from a template or injected by JavaScript are common sources of silent, accidental exclusion.
Definition
The robots meta tag is a meta element placed in the head of an HTML page. It gives crawlers page-level directives: instructions that apply to that one URL. A typical tag looks like this:
<meta name="robots" content="noindex, nosnippet">
The name value can be robots (all crawlers) or a specific crawler name. The content value holds one or more comma-separated directives. The same directives can also be sent as an HTTP header, which is covered in the X-Robots-Tag entry.
How it works
A crawler fetches the page, parses the HTML, reads the tag, and applies its directives when deciding what to store and what to display. The directives that affect AI answers, as documented by Google and Bing as of October 2026:
- noindex: keeps the page out of the index entirely. See the full noindex definition.
- nosnippet: lets the page be indexed but blocks any text snippet from it. More in the nosnippet entry.
- max-snippet:[number]: caps snippet length in characters.
max-snippet:0behaves like nosnippet. - data-nosnippet: not a meta directive but an HTML attribute on a specific element. It excludes that section from snippets while the rest of the page stays eligible.
Bing states that content marked with data-nosnippet "is still indexed normally, but it will be excluded from snippets and AI summaries," and remains available for ranking. These tags remove display. They do not add anything.
Why it matters for AI visibility
Google says that to be eligible as a supporting link in AI Overviews or AI Mode, a page "must be indexed and eligible to be shown in Google Search with a snippet." That makes noindex, nosnippet and max-snippet:0 direct off switches for Google's AI surfaces. There is no separate robots.txt token for AI Overviews, so these on-page controls plus Googlebot access are the levers.
The risk usually runs the other way. A nosnippet added to hide a cookie banner, or a noindex left on from staging, can quietly remove a page from AI answers. Nothing in a dashboard flags it.
The next move: audit your key pages (pricing, product, about) for robots meta directives and data-nosnippet attributes, and confirm each one is intentional. Remember the scope too. Google and Bing document these controls. For ChatGPT search, OpenAI documents crawl permission for OAI-SearchBot in robots.txt as the control.
Common misconceptions
"robots.txt and the robots meta tag do the same job"
They don't. Robots.txt controls crawling, per bot. The meta tag controls indexing and display, per page. If robots.txt blocks a URL, the crawler never fetches it and never reads its noindex. Google notes a blocked URL can still be indexed without its content. Read the Disallow directive entry for the crawl side.
"Any meta tag works if it ends up in the page"
Googlebot renders JavaScript. Vercel's crawler study found ChatGPT and Claude crawlers fetch JavaScript files but don't execute them. A tag injected client-side may be invisible to those bots. See whether AI crawlers see meta robots added by JavaScript.
"There's a tag that opts you out of AI"
No major engine documents a noai directive. Here is what the evidence says about noai tags.
"A permissive robots meta tag helps you get cited"
It doesn't. index, follow is the default. These directives only take eligibility away.
Frequently asked questions
Does noindex remove my page from Google AI Overviews?
Yes, for Google's surfaces. Google requires a page to be indexed and snippet-eligible to appear as a supporting link in AI Overviews or AI Mode, and noindex removes index eligibility. It does not affect Gemini Apps, which Google governs through the Google-Extended token in robots.txt. Other engines document their own controls, so check each one separately.
Should I use nosnippet or data-nosnippet?
Use nosnippet when nothing on the page should appear as quoted text. Use data-nosnippet on specific elements when only part of the page should be hidden, such as a legal notice or internal note. Bing documents that data-nosnippet content stays indexed and available for ranking but is excluded from snippets and AI summaries. Google documents the same attribute.
Can I put noindex in robots.txt instead?
No. Google does not support noindex as a robots.txt rule. Robots.txt only controls whether a crawler may fetch a URL. To keep a page out of the index, allow crawling and serve a noindex meta tag or X-Robots-Tag header, so the crawler can actually read the instruction.
Does the robots meta tag control ChatGPT or Perplexity?
The evidence we hold documents these directives for Google and Bing only. OpenAI documents OAI-SearchBot permission in robots.txt as the control for ChatGPT search, and Perplexity documents PerplexityBot. If you want to stay out of those engines, use their documented robots.txt user-agents rather than relying on a meta tag they have not documented.
Sources
This page is AI-assisted. It was written from a verified evidence base and checked against our editorial policy. Engine behaviour changes often; facts are as of October 21, 2026.