Meta Robots and X-Robots-Tag Generator

Build a meta robots tag or X-Robots-Tag header from Google's documented rules, and see conflicts before you publish.

How to use

What it checks and how it works

The rules and their meanings are the ones in Google's documentation for the robots meta tag and the X-Robots-Tag header. When rules conflict, Google applies the more restrictive one, so nosnippet overrides max-snippet. indexifembedded only has an effect together with noindex. unavailable_after takes a date in a widely adopted format such as ISO 8601, and the tool writes it that way. Google states that noarchive is no longer used for a cached link, so the tool does not offer it. A crawler can obey a noindex only if it can fetch the page, so do not also block the page in robots.txt.

Should I use the meta tag or the header?

Use the meta tag for HTML pages. Use the X-Robots-Tag header for files that have no head, such as PDFs, images and other downloads. They carry the same rules.

Does noindex work if robots.txt blocks the page?

No. A crawler must fetch the page to see the noindex rule. If robots.txt blocks the URL, the rule is never read. Leave the page crawlable and use noindex.

What does none mean?

It is the same as noindex together with nofollow. The tool tells you when your ticks add up to that.

Sources

Related tools

Privacy

Runs in your browser; nothing is uploaded. The interactive tool needs JavaScript.