deindexpages.com
Core methods

The noindex meta tag: syntax, rules and pitfalls

The noindex robots meta tag is the standard way to keep a page that stays online out of search results. It is simple, but it only works when a handful of conditions are met, and most "noindex isn't working" reports trace back to one of them.

What the tag does

When a search engine that supports the rule crawls a page and finds noindex, it drops the page from its results, even if other sites link to it. That is how the Google documentation on blocking search indexing describes it. The page remains reachable by anyone who has the URL, which makes noindex a visibility control, not a security control.

Exact syntax

Place the tag inside the <head> of the page:

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

The robots name addresses all crawlers that honour the rule. To address only Google, use googlebot instead:

<meta name="googlebot" content="noindex">

Directives can be combined, comma separated. The full list of supported values is in the robots meta tag specifications.

ValueEffectUse when
noindexDo not show the page in resultsThe default for pages that stay live
noindex, nofollowAlso do not follow links on the pagePages whose outgoing links you do not want crawled from here
noneShorthand for noindex, nofollowRarely needed; the explicit form is clearer
unavailable_after: [date]Stop showing the page after a dateTime-limited offers, events
nosnippetKeep indexed but hide text snippetNot a removal; a display control

If different rules conflict, for example one tag says index and another says noindex, Google applies the most restrictive combination. Do not rely on that; keep one clean rule per page.

The three conditions that must hold

  1. The page must be crawlable. If robots.txt disallows the URL, Googlebot never fetches the HTML and never sees the tag. Google says explicitly that a blocked page can still appear in results if other pages link to it. This is the most common failure; see why robots.txt does not deindex.
  2. The tag must be in what Googlebot receives. A tag that exists in your CMS settings but not in the delivered HTML does nothing. Cached pages, CDN rules and plugin conflicts can all strip or override it.
  3. Google must recrawl the page. The rule only takes effect after a revisit. Google notes that revisits can take months depending on the page's importance. You can ask for a recrawl in the URL Inspection tool.

Where the tag goes, and where it breaks

The tag must be valid HTML in the head. Common ways it silently fails:

noindex versus removal tools

The tag is permanent for as long as it remains, but it works at crawl speed. The Search Console Removals tool is quick but temporary. They complement each other: file a temporary removal if the page is urgent, and add noindex so the page does not return when the temporary window ends. See temporary vs permanent removal.

Do not use noindex on a page that you also redirect or canonicalise elsewhere. A noindex tells search engines to drop the URL; a canonical to another URL says "merge this into that one". Those signals pull in different directions. Choose one. See canonical tags and deindexing.

People often write noindex, follow to keep link signals flowing. Be careful: Google has indicated in the past that a page which stays noindex for a long time may eventually be treated as if its links are not followed. Do not build a discovery strategy on a long-term noindex page. If the links matter, make sure the destination pages are reachable from indexable pages as well.

Step by step: add noindex and confirm it

  1. Confirm the URL is not disallowed in robots.txt. Test it in the robots.txt documentation guidance, or simply open /robots.txt and read the rules.
  2. Add the tag in the head using your CMS setting, theme template or SEO plugin.
  3. Load the live URL and use view-source to check that exactly one robots meta tag is present with noindex.
  4. Run curl -s https://example.com/page | grep -i robots from the command line to check the response without browser extensions.
  5. In Search Console, inspect the URL, run a live test, and confirm the page is shown as excluded by noindex or that Googlebot fetched the tag. Request indexing to prompt a recrawl.
  6. Remove the URL from your XML sitemap, so you are not telling Google to prioritise a page you want out.
  7. Monitor the Page indexing report for "Excluded by 'noindex' tag" over the following weeks.

Which pages commonly get noindex

Other search engines

Bing also respects robots meta noindex. Other crawlers vary, and some ignore it. If a page must be kept away from every engine and from the public, protect it with authentication or delete it. See deindexing pages from Bing.

Removing the tag later

If you remove noindex because you want the page back, do not expect an instant return. Google needs to recrawl the page, and pages that have been noindexed for a long time may be crawled less often. Request indexing in URL Inspection, keep the page in your sitemap, and link to it from indexable pages.

Frequently asked questions

Does noindex stop Google from crawling the page?

No. Google must crawl the page to see the tag. Over time it may crawl a noindex page less often, but it still fetches it.

Should I use noindex or robots.txt to remove a page?

Use noindex. Google says robots.txt is not a way to keep a page out of Google, and a blocked page cannot show its noindex rule.

Can I put noindex in robots.txt?

No. Google does not support noindex rules inside robots.txt. Use the meta tag or the X-Robots-Tag header.

How do I noindex a PDF or image?

Those files have no HTML head, so use the X-Robots-Tag HTTP header instead.

How long until the page disappears?

After Google recrawls the page. That can take days to months. See how long deindexing takes.