Free Online Tool
Robots.txt Tester

Paste your robots.txt, enter a URL and user-agent — see exactly which rule allows or blocks the crawler. Validates syntax + spots common mistakes.

Robots.txt content

Test a URL

Robots.txt cheat sheet

  • User-agent: * — applies to all crawlers
  • Disallow: /admin/ — blocks /admin/ and everything under it
  • Allow: /admin/public/ — carve-out inside a blocked folder
  • Disallow: /*.pdf$ — pattern (Google supports * wildcard and $ end-of-URL)
  • Sitemap: https://example.com/sitemap.xml — points crawlers to your sitemap
  • Most-specific rule wins. Longer Allow overrides shorter Disallow.