X (Twitter) / robots.txt snapshot
← back to x.com · fetched 2026-08-13T21:57:57Z (1mo ago) · HTTP 200 · 2706 bytes · sha256 08c99bcf1a79c3da · raw
final URL: https://x.com/robots.txt
| 1 | # Google / Bing Search Engine Robots |
| 2 | # ================================== |
| 3 | # Shared group so Googlebot and Bingbot always get the same rules. |
| 4 | User-agent: Googlebot |
| 5 | User-agent: Bingbot |
| 6 | |
| 7 | Allow: /*?s= |
| 8 | Allow: /*?t= |
| 9 | Allow: /*?ref_src= |
| 10 | Allow: /hashtag/*?src= |
| 11 | Allow: /search?q=%23 |
| 12 | Allow: /i/api/ |
| 13 | # Same length as the /*/likes and /*/media rules; RFC 9309 breaks the tie in |
| 14 | # favor of Allow, so /i/api/ fetches stay crawlable. |
| 15 | Allow: /i/api/* |
| 16 | Disallow: /*?lang=en-ss |
| 17 | Allow: /*?lang= |
| 18 | Disallow: /search/realtime |
| 19 | Disallow: /search/users |
| 20 | Disallow: /search/*/grid |
| 21 | |
| 22 | Disallow: /*/analytics |
| 23 | Disallow: /*/followers |
| 24 | Disallow: /*/following |
| 25 | Disallow: /*/verified_followers |
| 26 | |
| 27 | Disallow: /account/deactivated |
| 28 | Disallow: /settings/deactivated |
| 29 | |
| 30 | # Only `*` and `$` are metacharacters here (RFC 9309); regex classes match |
| 31 | # literally. /photo is anchored so /status/*/photo/1 media pages stay open. |
| 32 | Disallow: /*/status/*/likes |
| 33 | Disallow: /*/status/*/retweets |
| 34 | Disallow: /*/likes |
| 35 | Disallow: /*/likes? |
| 36 | Disallow: /*/media |
| 37 | Disallow: /*/media? |
| 38 | Disallow: /*/photo$ |
| 39 | Disallow: /*/photo? |
| 40 | Allow: /*? |
| 41 | |
| 42 | User-agent: facebookexternalhit |
| 43 | |
| 44 | Allow: /*?lang= |
| 45 | Allow: /*?s= |
| 46 | Allow: /*?t= |
| 47 | Allow: /*?ref_src= |
| 48 | Allow: /hashtag/*?src= |
| 49 | Allow: /search?*cashtagRestId= |
| 50 | Allow: /i/api/ |
| 51 | Allow: /i/api/* |
| 52 | Disallow: /search?q= |
| 53 | Disallow: /search/realtime |
| 54 | Disallow: /search/users |
| 55 | Disallow: /search/*/grid |
| 56 | |
| 57 | Disallow: /*? |
| 58 | Disallow: /*/followers |
| 59 | Disallow: /*/following |
| 60 | Disallow: /*/verified_followers |
| 61 | |
| 62 | Disallow: /account/deactivated |
| 63 | Disallow: /settings/deactivated |
| 64 | |
| 65 | Disallow: /*/status/*/likes |
| 66 | Disallow: /*/status/*/retweets |
| 67 | Disallow: /*/likes |
| 68 | Disallow: /*/likes? |
| 69 | Disallow: /*/media |
| 70 | Disallow: /*/media? |
| 71 | Disallow: /*/photo$ |
| 72 | Disallow: /*/photo? |
| 73 | |
| 74 | User-Agent: Google-Extended |
| 75 | Disallow: * |
| 76 | |
| 77 | User-Agent: FacebookBot |
| 78 | Disallow: * |
| 79 | |
| 80 | User-agent: Discordbot |
| 81 | Disallow: * |
| 82 | |
| 83 | # Meta AI / product crawlers (product tokens; versions like /1.1 are ignored |
| 84 | # under RFC 9309 token matching). |
| 85 | User-agent: meta-webindexer |
| 86 | Disallow: * |
| 87 | |
| 88 | User-agent: meta-externalagent |
| 89 | Disallow: * |
| 90 | |
| 91 | User-agent: meta-externalads |
| 92 | Disallow: * |
| 93 | |
| 94 | User-agent: meta-externalfetcher |
| 95 | Disallow: * |
| 96 | |
| 97 | # Every bot that might possibly read and respect this file |
| 98 | # ======================================================== |
| 99 | User-agent: * |
| 100 | Disallow: / |
| 101 | |
| 102 | |
| 103 | # WHAT-4882 - Keep notification-email links (/i/u) out of search results. |
| 104 | # Named crawlers stay un-blocked on purpose: they must crawl /i/u to see its |
| 105 | # X-Robots-Tag noindex (the robots.txt Noindex directive died in 2019). |
| 106 | Disallow: /i/u |
| 107 | |
| 108 | # Wait 1 second between successive requests. See ONBOARD-2698 for details. |
| 109 | Crawl-delay: 1 |
| 110 | |
| 111 | # Independent of user agent. Links in the sitemap are full URLs using https:// |
| 112 | # and need to match the protocol of the sitemap. |
| 113 | Sitemap: https://x.com/sitemap.xml |