Robots.txt Tester

Results

    robots.txt check

      Your file (blue = the group used for this crawler, green/red = the rule that decided the last tested URL)

      How to use the Robots.txt Tester

      1. Open yoursite.com/robots.txt, copy everything and paste it in the first box.
      2. Add the URLs or paths you want to check, one per line.
      3. Pick a crawler, like Googlebot, Bingbot or GPTBot.
      4. See if each URL is allowed or blocked, and which line decided it.

      How Google reads robots.txt

      • Most specific group wins. Googlebot follows a “User-agent: Googlebot” group if there is one, and ignores the “*” group.
      • Longest rule wins. If both Allow and Disallow match, the rule with the longer path wins. If they are the same length, Allow wins.
      • * matches anything and $ marks the end of the URL. So Disallow: /*.pdf$ blocks every PDF.
      • Blocked is not the same as noindex. A blocked page can still appear in Google without a description. To remove a page from Google, use a noindex tag and let Google crawl it.

      Made by Maroof Ahmed. More free tools: Robots.txt Generator, Canonical & Noindex Checker, Sitemap Validator and .htaccess Generator. Pages blocked from Google? Chat on WhatsApp.

      Want an expert to do this for you?

      I’m Maroof Ahmed, a freelance SEO consultant with 300+ projects for businesses in the USA, UK and Australia. Technical SEO services →