# Robots meta tag

> The robots meta tag controls how one HTML page is indexed and shown in Google Search. Valid directives, syntax, how conflicts resolve and the robots.txt trap.

Canonical: https://scaplet.com/glossary/robots-meta-tag

Glossary Glossary · Crawling and indexing

The robots meta tag controls how one HTML page is indexed and shown in Google Search. Valid directives, syntax, how conflicts resolve and the robots.txt trap.

3 min

read

2

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

The robots meta tag is an HTML tag in a page's <head> that controls how that page is indexed and shown in Google Search, for example noindex, nofollow or nosnippet. When rules for different crawlers differ, Google says it uses the sum of the negative rules. If robots.txt blocks the page, Google says the crawler never sees a noindex rule.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Frobots-meta-tag%20(%22Robots%20meta%20tag%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Frobots-meta-tag%20(%22Robots%20meta%20tag%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Frobots-meta-tag%20(%22Robots%20meta%20tag%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Frobots-meta-tag%20(%22Robots%20meta%20tag%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 3 minutes.

1. [What the robots meta tag does 01](#what-the-robots-meta-tag-does)
2. [Directives Google supports 02](#directives-google-supports)
3. [Syntax rules and gotchas 03](#syntax-rules-and-gotchas)
4. [Check it in 2 minutes 04](#check-it-in-2-minutes)

_01_Check it

## What the robots meta tag does

Google says the robots meta tag "lets you use a granular, page-specific approach to controlling how an individual HTML page should be indexed and served to users in Google [Search results](/glossary/serp)." Google says to place it in the `<head>` section of the page, though Google Search does not enforce that placement and also respects tags in the body.

For files that have no HTML head, such as PDFs, use the [X-Robots-Tag](/glossary/x-robots-tag) HTTP header instead. For the deindexing use case in depth, see [noindex](/glossary/noindex).

Keep one page out of results

```
<meta name="robots" content="noindex">
```

_02_Explained

## Directives Google supports

| Directive | What Google says it does |
| all | "There are no restrictions for indexing or serving." It is the default |
| noindex | "Do not show this page, media, or resource in search results." |
| [nofollow](/glossary/nofollow) | "Do not follow the links on this page." |
| none | "Equivalent to noindex, nofollow." |
| [nosnippet](/glossary/nosnippet) | "Do not show a text [snippet](/glossary/snippet) or video preview in the search results for this page." |
| indexifembedded | Lets Google index a page's content when it is embedded in another page through iframes or similar HTML tags, despite noindex. It only has an effect alongside noindex |
| [max-snippet](/glossary/max-snippet):[number] | Limits the text snippet to [number] characters |
| max-image-preview:[setting] | Sets the maximum size of an image preview |
| max-video-preview:[number] | Limits a video snippet to [number] seconds |
| notranslate | "Don't offer translation of this page in search results." |
| noimageindex | "Do not index images on this page." |
| unavailable_after:[date/time] | "Do not show this page in search results after the specified date/time." |

_03_Checklist

## Syntax rules and gotchas

First_2_
**Combine rules** with commas in one tag, or use several tags. Google: "You can create a multi-rule instruction by combining robots `meta` tag rules with commas or by using multiple `meta` tags."

**Case does not matter.** "Both the `name` and the `content` attributes are case-insensitive."

Next_2_
**Rules for different crawlers add up.** When multiple crawlers are specified with different rules, Google says "the search engine will use the sum of the negative rules." A `robots` tag with `nofollow` plus a `googlebot` tag with `noindex` is read by Googlebot as noindex, nofollow.

**Only two user agent tokens work.** Google says it supports two user agent tokens in the robots meta tag, `googlebot` for all text results and `googlebot-news` for news results; other values are ignored.

Then_1_
**Don't block the page in robots.txt.** For noindex to work, Google says the page "must not be blocked by a robots.txt file". If it is blocked, "the crawler will never see the noindex rule, and the page can still appear in search results", for example if other pages link to it.

Target Googlebot only, with two rules

```
<meta name="googlebot" content="noindex, nofollow">
```

_04_How it works

## Check it in 2 minutes

1. 01

### View the live HTML

Open the page, view source and search for `name="robots"` inside the head. Check the rendered page too if your CMS or a script injects the tag.
2. 02

### Check robots.txt

Confirm the URL is not disallowed in [robots.txt](/glossary/robots-txt). If it is, the tag is never read.
3. 03

### Look for conflicts

Search the source for a second robots or googlebot tag, and check the HTTP headers for an X-Robots-Tag. Google says tags aimed at different crawlers are combined by summing the negative rules.

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ What is the robots meta tag?

An HTML tag in a page's head that tells search engines how to index and serve that page, such as noindex or nosnippet.

_02_ What is the difference between robots.txt and the robots meta tag?

Robots.txt controls whether a URL is crawled. The robots meta tag controls how a crawled page is indexed and shown. Google says that if robots.txt blocks the page, the crawler never sees a noindex rule.

_03_ Is the robots meta tag case-sensitive?

No. Google says both the name and content attributes are case-insensitive.

_04_ What if two robots rules conflict?

For different crawlers, Google says it uses the sum of the negative rules. For example, a robots tag with nofollow and a googlebot tag with noindex is read by Googlebot as noindex, nofollow.

Sources · 2

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com

1. 01 [Block Search indexing with noindex | Google Search Central](https://developers.google.com/search/docs/crawling-indexing/block-indexing) developers.google.com · checked 2026-10-25
2. 02 [Robots meta tag, data-nosnippet, and X-Robots-Tag specifications | Google Search Central](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag) developers.google.com · checked 2026-10-25

## Keep learning

[All glossary](/glossary)

[Learn Noindex Crawling and indexing](/glossary/noindex) [Related robots.txt Crawling](/glossary/robots-txt) [Read next X-Robots-Tag Crawling and indexing](/glossary/x-robots-tag) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Rich Results Test](/glossary/rich-results-test) [ROAS (return on ad spend)](/glossary/roas) [robots.txt](/glossary/robots-txt) [SaaS SEO](/glossary/saas-seo)

More in Crawling and indexing
[Load more button](/glossary/load-more) [Log file analysis](/glossary/log-file-analysis) [Meta refresh](/glossary/meta-refresh) [Nofollow](/glossary/nofollow) [noimageindex](/glossary/noimageindex) [Noindex](/glossary/noindex) [Orphan page](/glossary/orphan-page) [Page indexing report](/glossary/page-indexing-report) [Pagination](/glossary/pagination) [Removals tool (Search Console)](/glossary/removals-tool) [Rendered HTML](/glossary/rendered-html) [Rendering](/glossary/rendering) [Robots meta tag](/glossary/robots-meta-tag) [Server-side rendering](/glossary/server-side-rendering) [Sitemaps report](/glossary/sitemaps-report) [SPA SEO](/glossary/spa-seo) [SSL certificate](/glossary/ssl-certificate) [SSR vs CSR](/glossary/ssr-vs-csr) [Subdomain vs subdirectory](/glossary/subdomain-vs-subdirectory) [Trailing slash in URLs](/glossary/trailing-slash) [unavailable_after](/glossary/unavailable-after) [URL fragment](/glossary/url-fragment) [URL Inspection tool](/glossary/url-inspection-tool) [URL parameters](/glossary/url-parameters)

Terms on this page
[SERP](/glossary/serp) [X-Robots-Tag](/glossary/x-robots-tag) [Noindex](/glossary/noindex) [Nofollow](/glossary/nofollow) [nosnippet](/glossary/nosnippet) [Search snippet](/glossary/snippet) [max-snippet](/glossary/max-snippet) [robots.txt](/glossary/robots-txt)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
