Skip to main content
Intermediate

noindex

3 min read

In Plain English

noindex is a directive that asks search engines supporting it not to show a URL in their results.

Key Takeaways

  • noindex controls inclusion in the index, not crawling, so the crawler must be allowed to fetch the page to see it
  • A URL blocked in robots.txt can stay in search results because its noindex is never read
  • noindex is the wrong tool for duplicates, staging sites, and crawl budget, where canonicals, authentication, or robots.txt fit better

Deep dive

The meta tag and X-Robots-Tag

For an HTML page, place noindex in a robots meta tag in the document <head>:

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

An HTTP response header can carry the same directive. This is useful for resources without an HTML <head>, such as a file:

httpX-Robots-Tag: noindex

The published guide to the X-Robots-Tag for PDFs covers that file-specific case in more detail.

The URL must remain crawlable

A search crawler must fetch the URL to read its meta tag or response header. robots.txt controls crawler access. If you block the URL there, Google cannot fetch the noindex directive; the URL may still be known from external signals. For that reason, robots.txt alone does not reliably prevent a URL from appearing in search results.

For JavaScript pages, check which directive the initial HTML contains and what the crawler sees after rendering. Do not assume a client-side script will set the intended rule in time or on every page variant.

Should you use noindex or another option?

  • noindex: The page stays accessible, but should not appear in search results.
  • Canonical: You prefer another, relevant URL as the main version. A canonical is not an equivalent removal directive.
  • Redirect: The old URL has moved and should lead to its replacement.
  • 404 or 410: The resource is gone and there is no suitable replacement.
  • Access control: The content should not be publicly available. Use authentication or permissions rather than an indexing directive.

If a Search Console removal is urgent, its removal tool can hide a result temporarily. For a lasting outcome, serve the right directive or HTTP status. Google’s documentation explains the difference between temporary removal and permanent handling.

Check the directive in the delivery chain

  1. Fetch the exact URL and check its status, redirects, and final destination.
  2. Inspect the HTML for robots meta tags and the response headers for X-Robots-Tag.
  3. Make sure robots.txt does not block the fetch and that no conflicting indexing rule is returned.
  4. For JavaScript, compare the initial HTML with the version Google rendered.
  5. Use Search Console to check what Google processed after a recrawl. The change is not necessarily visible immediately.

Site Audit shows evidence from its own crawl within the selected scope. That is different from Google’s index status. A conflict between hreflang and noindex also involves how language URLs refer to one another.

For crawl-scope findings about status, metadata, and indexability, see the technical SEO audit workflow. Search Console remains the place to check Google’s processing of a URL.

Sources

Why It Matters for SEO

noindex can keep a publicly accessible URL out of search results when a crawler can fetch the directive. robots.txt controls fetching and does not replace noindex.

Common questions

What is noindex?

noindex is a directive that asks search engines supporting it not to show a URL in their results.

Why does noindex matter for SEO?

noindex can keep a publicly accessible URL out of search results when a crawler can fetch the directive. robots.txt controls fetching and does not replace noindex.

Read on in the blog

These articles show how the term plays out in practice.

Author

Matthias Ramahi

Founder, Crawl Foundry

Review crawl evidence in Site Audit

Site Audit shows status, metadata, and indexability findings within the chosen crawl scope. Use Search Console for Google-specific index status.

Explore Site Audit

Search this website

Find product information, FAQ and documentation with links to the original pages.