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.
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.
Is this costing your site traffic?
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
- Free audit in 60 seconds
- Fixes drafted for your review
- ChatGPT, Perplexity, Gemini and AI Overviews tracked
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
- Re-check after big site changes
- Keep this page for reference
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
- Follow the steps below
- Top-traffic pages first
- Check again in a month
4 parts, 3 minutes.
What the robots meta tag does
<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 HTTP header instead. For the deindexing use case in depth, see noindex.
<meta name="robots" content="noindex">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 | "Do not follow the links on this page." |
| none | "Equivalent to noindex, nofollow." |
| nosnippet | "Do not show a text 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:[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." |
Syntax rules and gotchas
meta tag rules with commas or by using multiple meta tags."name and the content attributes are case-insensitive."robots tag with nofollow plus a googlebot tag with noindex is read by Googlebot as noindex, nofollow.googlebot for all text results and googlebot-news for news results; other values are ignored.<meta name="googlebot" content="noindex, nofollow">Check it in 2 minutes
- 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. - 02
Check robots.txt
Confirm the URL is not disallowed in robots.txt. If it is, the tag is never read.
- 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.
Asked a lot.
4 questions people ask next, answered from the sources on this page.
01What 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.
02What 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.
03Is the robots meta tag case-sensitive?
No. Google says both the name and content attributes are case-insensitive.
04What 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.
Every fact, linked and dated.
google.com
- 01Block Search indexing with noindex | Google Search Centraldevelopers.google.com · checked 2026-10-25
- 02Robots meta tag, data-nosnippet, and X-Robots-Tag specifications | Google Search Centraldevelopers.google.com · checked 2026-10-25
Keep learning
All glossaryKnow the term. Now check your site.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.
- 46 fixes shipped without a ticket Brightpipe
- +212% organic clicks in 90 days Ledgerly