Meta Robots vs X-Robots-Tag Comparator
Compares meta robots and X-Robots-Tag directives and shows which one prevails for crawlers in each combination.
—
When the meta robots and the header disagree
The same indexing instruction can arrive by two routes: the meta tag in the HTML and the HTTP header. Having both is common — one comes from the CMS, the other from the server or CDN — and that is exactly where the page nobody can explain the disappearance of comes from. Enter both values and the page says what actually applies.
The rule is simple and worth memorising: the most restrictive wins. There is no precedence by origin — the header does not beat the meta tag, nor the other way round. If one says index and the other says noindex, the result is noindex. The page applies that resolution separately for indexing and for link following, because the two directives are independent.
Worth remembering the defaults: with no directive at all, the behaviour is index and follow. Declaring those two words explicitly therefore changes nothing — it is noise taking up space. And there is a trap the comparison cannot catch: a page blocked in robots.txt is never fetched, so the noindex inside it is never read, and the URL can end up indexed with no content. To remove it from the index, crawling must be allowed.
Frequently asked questions
Which should I use when both are available?
Does blocking in robots.txt remove a page from the index?
Do the directives apply to every search engine?
Related Tools
Meta Tag Analyzer
Paste a page HTML and see all meta tags (description, keywords, Open Graph, Twitter, viewport, robots) extracted and organized. Everything in your browser.
Complete Meta Tags Generator
Complete meta tag set: charset, viewport, description, OG, Twitter, theme-color, canonical and hreflang.
Meta Tag Builder (OG + Twitter)
Builder focused on Open Graph and Twitter Cards. Preview a share card before publishing.
Twitter Card Generator
Generate Twitter Card meta tags (summary, summary_large_image, app, player). Card preview as it will appear on X/Twitter. Everything in your browser.
SEO Meta Description Length
Counts characters and words of meta description, flagging the ideal 120-160 range.
robots.txt Generator
Generate a robots.txt file for your site, setting User-agent, Allow/Disallow rules and the sitemap link. Control what search engines crawl and index.