Meta Robots Tags Guide: noindex, Snippets and X-Robots-Tag
Meta robots tags tell search engines what to do with a page after they crawl it. They can request indexing or noindexing, link following or nofollowing, and snippet or preview limits. For files or non-HTML responses, the same type of instruction can be sent with an X-Robots-Tag HTTP header.
This guide explains when to use meta robots directives, how they differ from robots.txt, how noindex conflicts happen, how canonical tags interact with indexing choices, and how to verify both rendered HTML and HTTP headers before publishing changes.
Quick Answer
A meta robots tag is an HTML element placed inside the <head> section of a webpage.
Example:
<meta name="robots" content="index, follow">It tells search engines whether to:
- Index the page
- Ignore the page
- Follow links
- Ignore links
- Display snippets
Meta robots tags influence indexing behavior after a page has been crawled. If robots.txt blocks the URL, a crawler may never see the meta tag.
What Is a Meta Robots Tag?
A meta robots tag is an HTML directive that provides instructions to search engine crawlers.
Unlike robots.txt, which controls crawling, a meta robots tag controls what search engines should do with a page after they access it.
It belongs inside the <head> section of a webpage.
Example:
<meta name="robots" content="noindex, follow">This tells search engines not to include the page in the search index, while still allowing them to follow links on the page.
Meta robots tags are especially useful when a page should remain accessible to users but should not appear in search results.
Meta Robots vs Robots.txt
Meta robots tags and robots.txt files are often confused, but they do different jobs.
| Meta Robots | Robots.txt |
|---|---|
| Works per page | Works at site or path level |
| Controls indexing behavior | Controls crawling access |
| Placed in HTML | Separate text file |
| Read after crawling | Read before crawling |
Can use noindex |
Cannot reliably replace noindex |
| Good for page-level indexing control | Good for crawl management |
The two should complement each other rather than replace one another.
Important: if a page is blocked in robots.txt, search engines may not be able to crawl the page and see its meta robots tag.
Common Meta Robots Directives
| Directive | What it does | Common use | Important caution |
|---|---|---|---|
index |
Allows indexing | Normal valuable pages | Usually the default when no restrictive directive exists |
noindex |
Requests removal from the index | Thank-you pages, internal search, low-value duplicates | Crawlers must be allowed to see it |
follow |
Allows link discovery | Normal pages and many noindex pages | Usually the default for links on crawled pages |
nofollow |
Requests not following page links | Rare page-wide link suppression | Can reduce discovery from that page |
nosnippet |
Prevents text snippets and video previews | Sensitive excerpt control | Can reduce search result presentation |
max-snippet |
Limits text snippet length | Controlled previews | Use numeric values carefully |
max-image-preview |
Controls image preview size | Preview policy | Values depend on crawler support |
max-video-preview |
Limits video preview duration | Video preview control | Not relevant to pages without video |
noimageindex |
Requests that images on the page are not indexed | Image-sensitive pages | Does not block image file access by itself |
unavailable_after |
Requests no search display after a date/time | Expiring events or offers | Date syntax and crawler support matter |
index
The index directive allows the page to appear in search results.
Example:
<meta name="robots" content="index">In many cases, this is the default behavior even if no robots tag is present.
noindex
The noindex directive requests that search engines do not include the page in their index.
Example:
<meta name="robots" content="noindex">Common uses include:
- Thank-you pages
- Login pages
- Internal search results
- Duplicate archive pages
- Staging environments
- Low-value utility pages
Use noindex carefully because it can remove pages from search results.
follow
The follow directive allows search engines to follow links on the page.
Example:
<meta name="robots" content="follow">This is commonly used with noindex when you do not want the page indexed but still want search engines to discover links from the page.
nofollow
The nofollow directive requests that search engines do not follow links on the page.
Example:
<meta name="robots" content="nofollow">This applies to links on the page broadly.
Use it carefully. In most normal content pages, follow is preferred.
index, follow
This is the most common configuration for normal content pages.
Example:
<meta name="robots" content="index, follow">It tells search engines that the page can be indexed and links can be followed.
noindex, follow
This is useful for pages that should not appear in search results but still contain useful links.
Example:
<meta name="robots" content="noindex, follow">Common examples:
- Tag archives
- Internal search results
- Filtered category pages
- Temporary landing pages
noindex, nofollow
This tells search engines not to index the page and not to follow links on it.
Example:
<meta name="robots" content="noindex, nofollow">This may be used for private, low-value, or temporary pages, but it should not be used on valuable content pages.
Additional Robots Directives
Supported directives can control snippets and previews. Support varies by crawler; the noarchive section below describes a historical rule that Google Search now ignores.
nosnippet
Prevents search engines from showing a text snippet or video preview.
Example:
<meta name="robots" content="nosnippet">max-snippet
Controls the maximum length of a text snippet.
Example:
<meta name="robots" content="max-snippet:160">max-image-preview
Controls image preview size.
Example:
<meta name="robots" content="max-image-preview:large">max-video-preview
Controls video preview duration.
Example:
<meta name="robots" content="max-video-preview:30">noarchive
Google Search ignores noarchive because its cached-result links no longer exist. It does not control Google indexing, snippets or crawl frequency. Google lists it under historical and unused robots rules.
Historical example you may encounter:
<meta name="robots" content="noarchive">An existing noarchive tag does not need to be removed for Google Search. If another crawler matters to your site, check its current documentation before relying on this rule. Use noindex when the goal is to exclude a page from search, and keep crawling allowed so the crawler can read that directive.
notranslate
Requests that search engines do not offer translation for the page.
Example:
<meta name="robots" content="notranslate">These advanced directives are not needed for every website, but they can be useful in specific situations.
noimageindex
Requests that images on the page are not indexed.
Example:
<meta name="robots" content="noimageindex">This controls image indexing for the page context. It is not the same as blocking the image file itself.
unavailable_after
Requests that a page should no longer be shown in search after a specific date and time.
Example:
<meta name="robots" content="unavailable_after: 25 Dec 2026 15:00:00 PST">Use this only for genuinely expiring content such as limited-time events or offers.
X-Robots-Tag Headers
The X-Robots-Tag response header can apply robots directives through HTTP instead of HTML.
Example:
X-Robots-Tag: noindex, nofollowThis is useful for PDFs, images, feeds or other non-HTML files where there is no <head> section. It is also useful when a platform controls headers centrally. Use ToolMint's HTTP Header Checker to inspect response headers and ToolMint's Meta Tags Analyzer to inspect page-level tags.
Googlebot-Specific Directives
You can target a crawler by changing the name value.
<meta name="googlebot" content="noindex">Crawler-specific directives should be used sparingly because they can make debugging harder. For most pages, a general robots directive is clearer.
When Should You Use noindex?
Good candidates for noindex include:
- Login pages
- Password reset pages
- Checkout pages
- Thank-you pages
- Internal search results
- Duplicate archive pages
- Low-value utility pages
- Temporary landing pages
- Staging or test pages
- Thin filtered pages
Do not use noindex on pages you want to rank.
Before adding noindex, ask:
- Should this page appear in search results?
- Does this page provide unique value?
- Is this page included in the sitemap?
- Does this page have important internal links?
- Is there a better solution, such as canonicalization or consolidation?
Meta Robots and Canonical Tags
Meta robots tags and canonical tags can work together, but they should not send conflicting signals.
A canonical tag tells search engines which URL is preferred.
A meta robots tag tells search engines whether the current page should be indexed.
Example:
<link rel="canonical" href="https://example.com/main-page">
<meta name="robots" content="noindex, follow">This can be confusing if used incorrectly.
For duplicate pages, canonical tags are often better than noindex when you want signals consolidated into the preferred URL.
Use noindex when the page should not appear in search results at all.
Meta Robots and XML Sitemaps
Your XML sitemap should generally include only indexable URLs.
Avoid including pages with:
<meta name="robots" content="noindex">If a URL is in your sitemap but also marked noindex, you are sending mixed signals.
A clean sitemap should list important pages that you actually want search engines to crawl and index.
Meta Robots and Robots.txt
Do not block a page in robots.txt if you need search engines to see the meta robots tag.
Bad pattern:
robots.txt blocks /page/and the page contains:
<meta name="robots" content="noindex">If the crawler cannot access the page, it may not see the noindex directive.
For pages you want removed from the index, allow crawling and use noindex where appropriate.
Common Meta Robots Mistakes
Many websites accidentally reduce their visibility because of incorrect robots directives.
Common mistakes include:
- Applying
noindexto important pages - Blocking
noindexpages in robots.txt - Forgetting to remove
noindexafter launch - Using conflicting directives
- Noindexing pages included in XML sitemaps
- Adding
nofollowsitewide by mistake - Noindexing canonical pages
- Using robots tags without checking templates
- Assuming robots.txt and meta robots do the same thing
- Leaving staging directives active on production
These mistakes can have serious SEO consequences.
How to Fix Meta Robots Issues
Accidental noindex on important pages
Remove the noindex directive and change it to index, follow if the page should appear in search.
Example:
<meta name="robots" content="index, follow">Noindex pages in the sitemap
Remove noindex URLs from your XML sitemap.
Your sitemap should focus on indexable pages.
Robots.txt blocks a page with noindex
If the goal is to remove the page from search results, allow crawling and keep the noindex directive until search engines process it.
Conflicting directives
Avoid unclear combinations such as:
<meta name="robots" content="index, noindex">Use one clear instruction.
When multiple robots directives conflict, the more restrictive instruction is typically the safer assumption for SEO planning. Avoid publishing conflicts such as index, noindex, or a noindex meta tag paired with a sitemap entry that implies the URL is important and indexable.
Template-level mistakes
If a CMS template adds robots directives automatically, review the template before publishing.
A single template mistake can affect hundreds of pages.
How Meta Robots Affect SEO
Proper robots directives help search engines:
- Understand which pages matter
- Avoid indexing low-value pages
- Reduce duplicate content issues
- Keep search results cleaner
- Focus attention on valuable pages
Incorrect directives can:
- Remove important pages from search
- Create indexing confusion
- Conflict with sitemaps
- Reduce internal link discovery
- Slow down SEO growth
Meta robots tags control indexing and search presentation; they do not reserve crawl capacity for other pages. Google still has to fetch a page to discover its noindex directive. See Google’s crawl-budget guidance for the distinction between crawl control and indexing control.
Meta robots tags are small, but their impact can be significant.
Meta Robots Checklist
Before publishing a page, verify:
- Important pages use
index, followor no restrictive directive. - Low-value pages use appropriate
noindexrules. - No
noindexpages appear in the XML sitemap. - Robots.txt does not block pages that rely on meta robots.
- Canonical tags align with indexing intentions.
- Internal links point to indexable pages.
- Templates do not apply incorrect directives.
- Staging rules are removed before launch.
- Important pages are not accidentally marked
nofollow. - Rendered HTML contains the expected robots tag after JavaScript and template rendering.
- Response headers do not send an unexpected
X-Robots-Tag. - Search Console URL Inspection can fetch the page when you need Google to process noindex.
This checklist should be part of every technical SEO audit.
How ToolMint Helps
Use ToolMint's SEO tools to review robots directives and related technical signals.
Meta Tags Analyzer
Use it to detect robots meta tags, canonical tags, titles, descriptions, Open Graph tags, and Twitter Cards.
Robots.txt Generator
Use it to review crawler rules and avoid blocking important pages.
Canonical URL Generator
Use it to create canonical tags that align with indexing intentions.
XML Sitemap Generator
Use it to keep sitemaps limited to indexable URLs.
HTTP Header Checker
Use it to inspect response headers and confirm technical accessibility.
Together, these tools help you prevent crawling and indexing mistakes before they affect organic visibility.
Best Practices
Use these best practices:
- Default to
index, followfor valuable content. - Use
noindexonly when necessary. - Remove
noindexfrom production pages before launch. - Keep XML sitemaps limited to indexable URLs.
- Review robots directives during every technical SEO audit.
- Monitor Google Search Console for unexpected indexing issues.
- Avoid using
nofollowon normal content pages. - Keep canonical and robots signals consistent.
- Review CMS templates after updates.
- Test important pages after migration.
Frequently asked questions
Does `noindex` stop crawling?
No. noindex tells search engines not to index the page, but they may still crawl it.
Can I block a page in robots.txt instead of using `noindex`?
Not usually. If a page is blocked from crawling, search engines may not be able to see the meta robots tag.
Should every page have a robots meta tag?
Not necessarily. Pages without one are generally treated as indexable by default, but explicitly declaring the directive can improve clarity.
What happens if I accidentally noindex my homepage?
Your homepage may be removed from search results, which can significantly reduce organic visibility.
Should noindex pages be in the sitemap?
No. XML sitemaps should generally include only pages you want indexed.
What is the difference between noindex and nofollow?
noindex controls whether the page can appear in search results. nofollow controls whether search engines should follow links on the page.
How can I check my robots meta tag?
Use ToolMint's Meta Tags Analyzer to inspect the robots directive and other important metadata.
Related ToolMint Tools
Use these ToolMint tools to review and manage robots directives:
- Meta Tags Analyzer
- Robots.txt Generator
- Canonical URL Generator
- XML Sitemap Generator
- HTTP Header Checker
- Redirect Checker
Final Thoughts
Meta robots tags give you precise control over how search engines treat individual pages.
Used correctly, they help maintain a clean, high-quality search index by keeping low-value pages out while ensuring your most important content remains eligible to rank.
Combined with accurate robots.txt rules, canonical tags, XML sitemaps, and regular technical SEO audits, well-configured robots directives create a strong foundation for sustainable organic growth.
ToolMint's free SEO tools can help you inspect, generate, and validate the signals that influence crawling and indexing across your website.