indexifembedded is a Google robots directive for pages that carry noindex but are embedded in other pages. Combined with noindex, it lets Google index the content of the noindexed page when it appears inside another page through an iframe or a similar HTML tag [1]. By itself it does nothing: Google says it only has an effect when accompanied by noindex [1]. Only Google is documented to support it.
What the directive does
Google's documentation describes indexifembedded as allowing Google to index content from a page when that page is embedded in another page, even though the page has noindex [1].
The launch post gives the intended use: content that should be indexed only when embedded, such as media pages used in third-party embeds [2]. Think of a page that exists to be loaded inside someone else's iframe. You do not want that URL to stand alone in search results, but you do want its content to count for the page that embeds it.
Google announced the tag on January 21, 2022 [2].
How to write it
Google's launch post shows two meta tag forms and a combined form [2]:
<meta name="robots" content="noindex">
<meta name="robots" content="indexifembedded">
<meta name="robots" content="noindex,indexifembedded">
The post also says you can specify the directive in an HTTP X-Robots-Tag header [2]. A header is the option for resources that have no HTML in which to put a meta tag. The header form looks like this:
X-Robots-Tag: noindex, indexifembedded
The directive goes on the embedded resource, the page that loads inside the frame. The rule is about that URL, not about the page that does the embedding. For more on reading and checking X-Robots-Tag headers on non-HTML files, see PDF guides and AI search: indexing, headers and HTML copies.
The crawl requirement
Google can only follow a noindex rule if it can fetch the URL. Google's guidance says that if robots.txt blocks crawling, Google will not see the directive [4]. The same logic applies to indexifembedded: a Disallow rule that covers the embedded URL means Google never reads either directive on it.
Google's summary of the embedded-media case is that you must allow crawling and use noindex plus indexifembedded [2][4]. If the embedded URL is disallowed in robots.txt, remove the disallow for that path before expecting the combination to be read.
What each setup means
| Setup on the embedded URL | What Google documents |
|---|---|
noindex only | The page is marked noindex. Nothing here tells Google to index its content when embedded [1]. |
indexifembedded only | No effect. The directive needs noindex alongside it [1]. |
noindex + indexifembedded | Google may index the page's content when it is embedded in another page via iframe or a similar tag [1]. |
Either, with the URL blocked in robots.txt | Google cannot see the directive, because it must crawl the URL to read it [4]. |
Why the combination matters for sub-page content
Google's office-hours guidance says its systems may try to associate sub-page content with the primary page, but that this is not guaranteed unless the noindex + indexifembedded combination is on the sub-page [5]. If a page embeds a sub-page and you want that content considered with the embedding page, the directive pair is the documented way to ask for it.
Neither of Google's posts promises a ranking or a visible result. The directive makes the content eligible to be indexed in the embedding context. It does not say how that content will be used or shown.
Other search engines and AI systems
At publication, Google's launch post said that only Google supports indexifembedded [2]. Nothing in the documentation we have covers how Bing, other search engines or AI assistants treat the directive. Do not assume a non-Google system reads it, ignores it or reads it the same way.
In practice:
- A
noindexpage may be treated differently by other systems. See noindex and AI crawlers: what ChatGPT and Perplexity respect for what is documented there. - If other systems matter for a given resource, check each vendor's own documentation instead of extending Google's rule to them.
Mistakes to avoid
- **Adding only
noindexand expecting embeds to be indexed.** Google documents the pair, notnoindexalone, for the embedded case [2]. - **Adding only
indexifembedded.** It has no effect withoutnoindex[1]. - **Blocking the embedded URL in
robots.txt.** Google must crawl the URL to see the directive [4]. - Putting the directive on the embedding page. The rule belongs on the page that is embedded, since that is the URL that carries
noindex. - Treating it as a cross-engine standard. Google's documentation is the only support documented here [2].
What to do next
- List the URLs on your site that exist mainly to be embedded: media players, widgets, sub-pages loaded in frames.
- For each one, confirm the URL is not disallowed in
robots.txt. - Add
noindex,indexifembeddedin a meta tag, orX-Robots-Tag: noindex, indexifembeddedas a header where there is no HTML. - Fetch each URL and confirm the directive appears in the HTML or the response headers.
- Leave other engines out of your assumptions until their own documentation says otherwise.