robots.txt检查器
解析robots.txt文件。按user-agent分组显示规则并标记问题。
如何使用本工具
- 1
Enter a site URL, for example https://example.com. If you leave off the path, the tool appends /robots.txt automatically.
- 2
Click Analyze. The server fetches that site's live robots.txt and returns it.
- 3
Read the raw file at the top, then scroll the parsed cards below to see Allow, Disallow, and Sitemap entries grouped by User-agent.
- 4
Adjust the URL and analyze again to compare another host or a different environment.
什么是robots.txt检查器?
robots.txt是一种自愿性协议,用于告诉网络爬虫它们可以访问什么。主流搜索引擎会遵守它;恶意机器人则会无视它。常见错误包括屏蔽关键资源、错误使用通配符以及忘记包含Sitemap指令。本检查器会解析任意robots.txt并按user-agent对规则进行分组。
常见使用场景
Confirm a production site is not accidentally serving Disallow: / that blocks every crawler before a launch.
Audit a competitor's robots.txt to see which sections they keep out of search engines.
Check that your Sitemap directive is present and points at the correct sitemap URL.
Compare the robots.txt on a staging host against production to catch a stray block before deploy.
Verify that a specific bot, such as GPTBot or Bingbot, has its own group with the rules you expect.
Quickly inspect any third-party domain's crawl rules when debugging why a page is missing from search results.
常见问题
robots.txt放在哪里?▼
Disallow和noindex有什么区别?▼
相关工具
元标签分析工具
从任意URL提取并分析所有元标签:标题、描述、Open Graph、Twitter Card、viewport、robots以及link标签。
标题层级分析工具
审查任意页面的H1-H6结构。标记出缺失的H1、多个H1以及被跳过的标题层级。
Schema标记验证工具
从任意URL中提取并验证JSON-LD结构化数据。查看页面包含哪些schema类型,以及它们能否被正确解析。
Open Graph检查工具
预览URL在Facebook、Twitter/X、LinkedIn及其他平台上分享时的显示效果。
站点地图检查工具
分析任意XML站点地图:URL数量、lastmod覆盖率以及站点地图索引结构。
页面字数统计
统计任意网页中可见的字数。排除脚本、样式和隐藏内容。