Grok User-Agent & Blocking Rules

Operated by xAI. Verify the official user-agent string and safety status for this bot. Use the tools below to run a live crawlability test and get copy-paste robots.txt rules to manage its access. Crawler info last updated on .

AI Bots Caution

What is Grok?

The web crawler for Grok, the AI developed by xAI (formerly Twitter). It collects data for training and real-time information access.

Operator Information

Operator

xAI

Official Documentation

View Documentation

Crawler data update history

Added on

Last updated on

Test if Grok can access your URL

Enter URL to test if Grok is allowed or blocked.

https://
Grok is  ...

Is Grok safe?

It is recommended to use caution with Grok.

Caution bots may have legitimate uses but can be resource-intensive or used for competitive intelligence.

For more information about our safety badges, visit our documentation.

User-Agent String used by Grok

Grok

How to block Grok with robots.txt?

Add the following standard robots.txt rule to prevent Grok from accessing your site.

User-agent: Grok
Disallow: /

What happens if I block Grok?

Low Impact

Blocking Grok will prevent this AI bot from accessing your content. This will NOT affect your search rankings. Consider blocking if you're concerned about AI training or data usage.

Common use cases for Grok

Understanding how Grok is typically used can help you make informed decisions about whether to allow or block it on your website.

  • Collects web content for AI model training
  • Gathers data to improve language understanding
  • Scrapes text, code, and other content for datasets
  • May be used for chatbot and AI assistant development
  • Typically does NOT affect search engine rankings