Get AI SEO for FREE.

Learn More!

What is X-Robots-Tag?

The X-Robots-Tag is a part of the HTTP response header that tells search engines how to crawl and index a webpage.

When a crawler bot sends an HTTP request to a webpage, the server responds with an HTTP response containing the X-Robots-Tag. By analyzing the tag, the bot understands whether it can crawl the webpage and how it is allowed to do so. 

For example, a response header containing X-Robots-Tag: noindex instructs a search engine not to index the webpage.

The X-Robots-Tag differs from the meta robots tag. While both tags tell search engines how to crawl the webpage and can be used interchangeably in many cases, the X-Robots-Tag is more versatile. 

For instance, the meta robots tag can only be used on HTML pages. Meanwhile, the X-Robots-Tag can be used on non-HTML properties, including images and videos. 

🇺🇸 English