NoindexWatch

Meta robots tag generator

Tick the rules you need. You get the meta robots tag for the page head, the same rules as an X-Robots-Tag header, and the lines to add to Apache or Nginx.

max-image-preview (optional):

Which crawlers:

Apply the header to:

Meta tag or X-Robots-Tag header?

They do the same thing. The meta tag only works in HTML pages. The header works for any file, including PDFs, images and feeds, and is the only option when you can't edit the page template. Google and Bing read both; if they disagree, the most restrictive rule wins.

Rules that trip people up

  • noindex needs the page to be crawlable. If robots.txt blocks the URL, crawlers never see the tag and the page can stay indexed. See Indexed, though blocked by robots.txt.
  • nofollow here applies to every link on the page. For a single link use rel="nofollow" on that link.
  • name="googlebot" rules apply to Google only, and are added to any name="robots" rules on the same page.
  • There is no index or follow to switch on: it is the default. Leaving the tag out has the same effect.

Found a noindex you didn't expect in Search Console? The Excluded by 'noindex' tag guide lists where it usually comes from.

The tag is built in memory from what you tick. Nothing is fetched or stored.