---
title: "Meta robots tag"
description: "A meta robots tag is HTML that tells search crawlers whether to index a page, follow its links or show a snippet. Here is how each rule works."
url: https://ursy.com/wiki/meta-robots-tag/
updated: 2026-11-26T15:43:59+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/meta-robots-tag/
---

# Meta robots tag

> A meta robots tag is HTML that tells search crawlers whether to index a page, follow its links or show a snippet. Here is how each rule works.

**A meta robots tag is a line of [HTML](https://ursy.com/wiki/html/) in the head of a page that tells [search crawlers](https://ursy.com/wiki/search-crawler/) whether they may index that page, follow its links or show a snippet of it.** It looks like `<meta name="robots" content="noindex">`. It works page by page, and a crawler can only obey it after it has fetched the page and read the code.

## What is a meta robots tag? {#what-is-a-meta-robots-tag}

It is one kind of [meta tag](https://ursy.com/wiki/meta-tag/). The `name` part says who the rule is for, and the `content` part holds one or more rules, split by commas. The name `robots` speaks to every crawler. A name such as `googlebot` speaks to one. [Google](https://ursy.com/wiki/google/)’s [robots meta tag guide](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag) says both the name and the content are case-insensitive, so `NOINDEX` and `noindex` mean the same.

The same rules can be sent in an [HTTP](https://ursy.com/wiki/http/) header called the [X-Robots-Tag](https://ursy.com/wiki/x-robots-tag/). Google recommends the header for files that have no [HTML head](https://ursy.com/wiki/html-head/), such as PDFs, images and videos.

## Which rules can it carry? {#which-rules-can-it-carry}

Google lists these rules in its guide, checked on 24 November 2026:

| Rule | What it asks |
| --- | --- |
| `all` | No limits. This is the default, so writing it changes nothing. |
| `noindex` | Do not show this page in results. |
| `nofollow` | Do not follow the links on this page. |
| `none` | Short for noindex plus nofollow. |
| `nosnippet` | Show no text snippet or video preview. |
| `max-snippet:[n]` | Limit the snippet to n characters. 0 means none, -1 means no limit. |
| `max-image-preview:[setting]` | Image preview size: none, standard or large. |
| `max-video-preview:[n]` | Limit a video preview to n seconds. |
| `noimageindex` | Do not index the images on this page. |
| `notranslate` | Do not offer a translation in results. |
| `indexifembedded` | Allow indexing inside an [iframe](https://ursy.com/wiki/iframe/) on another page, used with noindex. |
| `unavailable_after:[date]` | Stop showing the page after this date. |

Google also says it now ignores `noarchive`, `nocache` and `nositelinkssearchbox`. The cached link they controlled no longer exists. Other [search engines](https://ursy.com/wiki/search-engine/) may still read them, and [MDN’s robots reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/meta/name/robots) still lists `noarchive` for [Bing](https://ursy.com/wiki/bing/).

## Why does it matter for search? {#why-does-it-matter-for-search}

It is the cleanest way to keep a page you need out of the [search engine index](https://ursy.com/wiki/search-engine-index/). Thank-you pages, internal search results, test pages and thin filter pages are common cases. Google’s guide to [blocking indexing with noindex](https://developers.google.com/search/docs/crawling-indexing/block-indexing) says the page drops out of results once [Googlebot](https://ursy.com/wiki/googlebot/) sees the rule, even when other sites link to it. Used by mistake, the same tag removes a page that earns sales. That is why it sits near the top of any [SEO audit](https://ursy.com/wiki/seo-audit/) and any [technical SEO](https://ursy.com/wiki/technical-seo/) check.

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

[AI search](https://ursy.com/wiki/ai-search/) tools often lean on a search index. A page kept out of Google or Bing by [noindex](https://ursy.com/wiki/noindex/) loses a route into answers that draw on those indexes. The snippet rules matter too. Google’s guide says `nosnippet` and `max-snippet` limit how much of a page it can show as a preview. Most AI companies give their own crawlers separate controls in [robots.txt](https://ursy.com/wiki/robots-txt/), so read the [AI crawler](https://ursy.com/wiki/ai-crawler/) pages before you assume one tag covers them all. Our guide [should I block AI crawlers?](https://ursy.com/guides/should-i-block-ai-crawlers/) sets out the choices.

## How does it work with robots.txt? {#how-does-it-work-with-robots-txt}

This is the part people get wrong most. Robots.txt controls [crawling](https://ursy.com/wiki/crawling/). The meta robots tag controls indexing and display. A crawler that is blocked in robots.txt never fetches the page, so it never sees the tag. Google says rules on a blocked page are ignored. MDN adds that a page blocked by robots.txt may still be indexed if other pages link to it. So to remove a page, allow the crawl and add noindex. Our page [noindex, nofollow or robots.txt?](https://ursy.com/wiki/noindex-nofollow-or-robots-txt/) walks through each case, and [indexed, though blocked by robots.txt](https://ursy.com/wiki/indexed-though-blocked-by-robots/) explains the warning that follows the wrong choice.

## What happens when rules clash? {#what-happens-when-rules-clash}

Google applies the stricter rule. If a page says `max-snippet:50` and `nosnippet`, nosnippet wins. When one tag speaks to all robots and another to Googlebot, Google adds the negative rules together. A general `nofollow` plus a Googlebot `noindex` means noindex, nofollow for Googlebot. MDN warns that the behaviour is undefined when a page asks for both index and noindex, so never ship both.

## Is it a lock? {#is-it-a-lock}

No. MDN says only cooperative robots follow these rules, and harvesters can ignore them. Private content needs a login or a server rule, not a tag. To see which [bots](https://ursy.com/wiki/bot-web-robot/) really visit, check them against official lists with our [Verify AI Bot](https://ursy.com/verify-ai-bot/) tool and read the [verified bots](https://ursy.com/wiki/verified-bots/) page.

## Common mistakes {#common-mistakes}

- **Noindex left on after launch.**  A [staging site](https://ursy.com/wiki/staging-site/) setting copied to the live site hides everything.
- **Blocking and noindexing together.**  The robots.txt block stops the noindex being read.
- **Noindex on pages you link to heavily.**  Internal links then point at pages that can never rank. Fix [internal linking](https://ursy.com/wiki/internal-linking/) as well.
- **Noindex plus a canonical to another page.**  These send mixed signals. Choose one. See [canonical tag](https://ursy.com/wiki/canonical-tag/).
- **Adding the tag only with JavaScript.**  Some crawlers do not run scripts; see [JavaScript SEO](https://ursy.com/wiki/javascript-seo/).
- **Noindexed pages in the sitemap.**  Your [XML sitemap](https://ursy.com/wiki/xml-sitemap/) should list only pages you want found.
- **Using nofollow to save crawl budget.**  It does not stop crawlers that find the links elsewhere. Read [crawl budget](https://ursy.com/wiki/crawl-budget/).

## A worked example {#a-worked-example}

A small shop has three kinds of page it does not want in results: the order thank-you page, internal search results and a printable price list in PDF.

| Page | Rule | Where |
| --- | --- | --- |
| /thank-you/ | noindex | Meta tag in the head |
| /?s=green | noindex, follow by default | Meta tag, so links to products still count |
| /price-list.pdf | noindex | X-Robots-Tag header, as a PDF has no head |
| /blog/old-offer/ | unavailable_after: 31 Dec 2026 | Meta tag, so it drops out when the offer ends |

None of the four is blocked in robots.txt, so crawlers can read every rule.

## How to check it {#how-to-check-it}

1. Paste the address into our [Meta Tag Checker](https://ursy.com/meta-tag-checker/). It lists the robots tag next to the [title tag](https://ursy.com/wiki/title-tag/) and description.
2. Check the header version with our [HTTP Header Checker](https://ursy.com/http-header-checker/). A header noindex is easy to miss because it is not in the page source.
3. Make sure robots.txt is not blocking the address with our [Robots.txt Checker](https://ursy.com/robots-txt-checker/).
4. Our [Indexability Checker](https://ursy.com/indexability-checker/) puts status code, robots rules and canonical on one screen.
5. Confirm the sitemap holds no noindexed pages with our [Sitemap Checker](https://ursy.com/sitemap-checker/).
6. In [Google Search Console](https://ursy.com/wiki/google-search-console/), use [URL Inspection](https://ursy.com/wiki/url-inspection/). Google says it shows the HTML Googlebot received, so you see the tag it really read. The [Page Indexing report](https://ursy.com/wiki/page-indexing-report-index-coverage/) lists pages excluded by noindex.
7. Read our [guide to the Meta Tag Checker](https://ursy.com/guides/how-to-use-meta-tag-checker/) for what each line means.
8. In URSY Pro, the [Index coverage monitor](https://ursy.com/pro/index-coverage-monitor/) will warn you when a noindex appears on a page that used to be indexed.

## Questions {#questions}

### How long until a noindexed page leaves Google? {#how-long-until-a-noindexed-page-leaves-google}

It leaves after the next crawl. Google says that for less important pages it may take months. You can ask for a recrawl with [URL](https://ursy.com/wiki/url/) Inspection.

### Do I need “index, follow”? {#do-i-need-index-follow}

No. Both are defaults. A page with no robots tag is treated as index, follow.

### Does nofollow in the meta tag differ from rel=”nofollow”? {#does-nofollow-in-the-meta-tag-differ-from-relnofollow}

Yes. The meta tag covers every link on the page. The link attribute covers one link. See [nofollow](https://ursy.com/wiki/nofollow/).

### Can I target only Googlebot? {#can-i-target-only-googlebot}

Yes, with `name="googlebot"`. Google also accepts googlebot-news. It ignores other crawler names in this tag.

## Related words {#related-words}

- [Noindex](https://ursy.com/wiki/noindex/)
- [X-Robots-Tag](https://ursy.com/wiki/x-robots-tag/)
- [Robots.txt](https://ursy.com/wiki/robots-txt/)
- [Nofollow](https://ursy.com/wiki/nofollow/)
- [Canonical tag](https://ursy.com/wiki/canonical-tag/)

## Sources {#sources}

- [Google Search Central: Robots meta tag, data-nosnippet and X-Robots-Tag specifications](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag), checked 24 November 2026
- [Google Search Central: Block search indexing with noindex](https://developers.google.com/search/docs/crawling-indexing/block-indexing), checked 24 November 2026
- [MDN Web Docs: meta name=”robots”](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/meta/name/robots), checked 24 November 2026

*Updated 24 November 2026 by URSY.com.*
