Twitterbot User-Agent & Blocking Rules

Operated by X (Twitter)

Safe

What is Twitterbot?

Twitterbot (now X) fetches content to generate 'Cards' (previews) when links are posted on the X platform.

Owner X (Twitter)
Official Documentation Visit Website

Test if Twitterbot can access your URL

Enter URL to test if Twitterbot is allowed or blocked.

https://
Twitterbot is  ...

Is Twitterbot Safe?

Yes, Twitterbot is considered safe.

This bot is verified and generally respected by the SEO community.

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

User-Agent String used by Twitterbot

Twitterbot

How to Block Twitterbot?

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

User-agent: Twitterbot
Disallow: /