Home / Glossary / Technical SEO

Technical SEO

Robots meta tag

Also searched as: meta robots, meta robots tag, X-Robots-Tag

In shortThe robots meta tag is a line of HTML in a page's head that tells search engines how to handle that page, such as whether to index it, follow its links or show a snippet. The same instructions can be sent as an X-Robots-Tag HTTP header, which also works for files like PDFs.

By Aditya Aman, working in SEO for almost a decade and hands-on with AEO and GEO as those fields have developed. Updated 25 November 2026.

  • 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.

DirectiveWhat it asks forTypical use
noindexKeep the page out of search resultsThank-you pages, internal search
nofollowDo not follow links on the pageRare, for untrusted link areas
nosnippetShow no text snippet for the pageContent you do not want excerpted
max-snippetLimit snippet lengthControl how much text is shown
noarchiveDo not offer a cached copyPages 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 SEO

Questions 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.

Inspect the original evidence