- What it isA page-level instruction to search engines placed in the HTML head.
- Common valuesnoindex, nofollow, nosnippet, max-snippet and similar.
- Header versionX-Robots-Tag, used for PDFs, images and other non-HTML files.
- Common mistakeBlocking the page in robots.txt so the tag cannot be read.
- Related workIndex control, snippet control and launch checks.
What is the robots meta tag?
The robots meta tag sits in the head of a page and gives page-level instructions to crawlers. A typical line is a meta element named robots with content set to noindex. Without any tag, search engines assume the page may be indexed and its links followed.
It differs from robots.txt, which is a site-wide file that controls which URLs a crawler may request. The meta tag only works if the crawler can fetch the page and read it.
What can the robots meta tag control?
Directives fall into two groups: those about indexing and those about how the result looks. Names and support vary between search engines, so check the current documentation of each before relying on one.
| Directive | What it asks for | Typical use |
|---|---|---|
| noindex | Keep the page out of search results | Thank-you pages, internal search |
| nofollow | Do not follow links on the page | Rare, for untrusted link areas |
| nosnippet | Show no text snippet for the page | Content you do not want excerpted |
| max-snippet | Limit snippet length | Control how much text is shown |
| noarchive | Do not offer a cached copy | Pages that change fast |
When do you use the X-Robots-Tag header instead?
A meta tag needs an HTML page to live in. Files like PDFs, images and other downloads have no head, so you send the same directives in the HTTP response header. Your developer or hosting team sets this in the server configuration.
Headers are also useful when you need to apply a rule to many URLs at once. Because they are invisible in the page source, they are easy to forget, so audit headers as well as HTML when you check indexing.
What are common robots meta tag mistakes?
The most damaging one is a noindex tag carried from staging to the live site. Another is a conflict between sources: a page has index in its HTML but noindex in the header, or two plugins each add a robots tag. When directives conflict, search engines may follow the more restrictive one.
Check the rendered page, not only the raw source, because scripts can change the tag. Review templates after releases, and compare your crawl with Search Console reports of pages excluded by noindex.
Need help with Robots meta tag on your site?
Tell us what is not working. We will check where this affects your search results and what to fix first.
Book a meetingTechnical SEOQuestions people ask
Is the robots meta tag required?
No. Without one, search engines treat a page as indexable and its links as followable. Add the tag only when you want to change that default, for example to keep a page out of results or limit snippets.
Can I use the robots meta tag and robots.txt together?
Yes, but they do different jobs. If robots.txt blocks a URL, the crawler cannot read the meta tag on it. To remove a page from results, allow crawling and use noindex. Use robots.txt for crawl control, not index control.
Does nofollow in the meta tag stop link value passing?
It asks search engines not to follow the links on that page, but how they treat such hints is their decision. It is rarely the right tool for a whole page. For individual links, link attributes are usually more precise.