Skip to content
Search
Search
Learn
Glossary
Research
Platforms
News
Tools
About

GoogleDocumentation

Google documents how it handles robots meta tags outside the HTML head

A new note in Google's robots meta tag spec confirms old behavior: a noindex or nosnippet tag in the page body applies the same as one in the head.

Published

#What is new

On March 24, 2026, Google added a short note to its robots meta tag specification. Google Search "doesn't enforce placement of meta robots in the HTML head" and also respects robots meta tags in the body of an HTML page. The documentation changelog is clear that this is how Google already worked: the behavior was only undocumented.

#What a tag in the body does

The rest of the page is unchanged. Google still tells site owners to put the tag in the <head>, and its example shows it there. The difference is that a noindex in the body now has the same documented effect as one in the head. A page with no robots tag in the head can still drop out of results because of a stray noindex further down.

When robots rules conflict, Google applies the more restrictive one. Its own example is a page with both max-snippet:50 and nosnippet, which gets nosnippet. Our read: you can't cancel a restrictive tag in the body by adding a looser one to the head. The stray tag has to go.

#How body tags reach AI Overviews and AI Mode

nosnippet and max-snippet apply to every form of Google result, AI Overviews and AI Mode included. nosnippet stops the page being a direct input to those features, and max-snippet limits how much of it they can use. Since both work from the body too, a tag nobody meant to add can cut a page's use in AI answers.

The max-snippet limit does not apply where you have granted Google permission another way, for example through in-page structured data or a license agreement.

#What to check

  • Search the rendered HTML of each main template for <meta name="robots" and <meta name="googlebot" below the closing </head>. A CMS plugin, page builder or template partial can write one there.
  • Treat max-snippet:0 as nosnippet when you audit. Google reads the two the same way.
  • If a page should stay out of Search, leave it crawlable in robots.txt. Google reads robots tags only on pages it may crawl, so a blocked page never shows Google its noindex, in the head or the body.
  • Keep new tags in the <head>. The note covers Google Search only, and the spec warns that other search engines may treat its rules differently. Our guide on how Google crawls and indexes pages covers the wider process.
  • Set rules for PDFs, images and videos in the X-Robots-Tag HTTP header. Those files have no HTML for a meta tag.

#What Google doesn't say

  • Whether a robots meta tag that JavaScript adds to the body after load counts. The spec covers JavaScript only for data-nosnippet, where it warns that extraction can happen before or after rendering.