Skip to content

Robots.txt Checker

Inspect robots.txt rules, test URL permissions, and edit, compare, and verify changes before and after deployment.

Input type

Enter a public website or page URL. We check its root /robots.txt file.

Crawler & scopeGooglebot · Google

Crawler token is the bot name in a User-agent group, such as Googlebot. Rule profile chooses how its robots.txt rules are interpreted: Google, the RFC standard, or SemrushBot policies. Leave Googlebot and Google selected if you are checking Google Search.

Rule origin is the website address, including HTTP/HTTPS and any port, without a page path. Set it for pasted or uploaded files to check full URLs against that website. Requests from Dranworks use our own User-Agent. Missing URL schemes use HTTPS.

No source loaded. Paste, upload, or fetch a file to begin.

Swipe the tabs to see all tools

Your results will appear here

Load a file to inspect crawl rules, or open the editor to start a new draft.

What is robots.txt?

Robots.txt is a plain-text file at your website’s root, such as https://example.com/robots.txt. It tells crawlers which URL paths they may crawl through User-agent, Allow and Disallow rules.

Its rules apply to the host, protocol and port where the file is served. For example, https://example.com and https://www.example.com have separate scopes. Use this checker to inspect each site’s file and test the paths that matter.

What you can do with Robots.txt Checker

File health & crawl rules

Detect syntax issues, inspect sitemap declarations, and see which rules apply to your selected crawler. Check HTTP status and redirects when loading a live robots.txt file.

URL permissions, explained

Test individual URLs or a list of URLs. Understand why each URL is allowed or blocked, with matching rules and line numbers where applicable.

Compare & verify changes

Edit or generate a draft, compare URL permissions before publishing, and check the live file again to verify your deployed changes.

How to check robots.txt

  1. 01

    Load your robots.txt

    Enter a website URL, paste your robots.txt content, or upload a file. Select the crawler you want to test.

  2. 02

    Inspect findings & test URLs

    Review crawl rules and detected issues in Inspect. Open URL Tester to see whether specific URLs are allowed or blocked, and understand why.

  3. 03

    Edit, compare & verify changes

    Create or edit a draft in Editor & Generator. Use Compare & Verify to review changes before downloading and publishing your file. Once published, verify the live robots.txt against your draft.

A more specific Allow creates an exception

These rules allow Googlebot to crawl paths beginning with /admin/ajax.php, while paths such as /admin/settings remain blocked. This is a rule simulation, not a check that the page exists or can be accessed.

Load the example, then select Test URL to see why /admin/ajax.php is allowed. Try /admin/settings to compare the result.

Example robots.txt
User-agent: *
Disallow: /admin/
Allow: /admin/ajax.php

Sitemap: https://example.com/sitemap.xml

Common robots.txt mistakes

  • Leaving a site-wide block in place

    Disallow: / blocks every path for crawlers using that group, unless an Allow exception takes precedence. Check for leftover staging rules before launch, then test your key URLs with the intended crawler.

  • Expecting wildcard rules to carry over

    A specific Googlebot group does not inherit restrictions from the User-agent: * group. Repeat shared restrictions where needed, and use Rule trace to check which group and rule actually apply.

  • Confusing crawl blocking with noindex

    A blocked URL may still appear in search. To prevent indexing, use noindex on a page Google can crawl and read. Protect private content with authentication; robots.txt does not restrict visitor access.

Crawl permission is one part of the picture

Allowed does not guarantee crawling or indexing. Blocked URLs may still appear in search. Robots.txt is not access control, and a live check cannot reveal a crawler’s cached copy.

Editing, URL rule matching, comparing loaded files and exporting run on your device. The pages entered for permission tests are not fetched. Live robots.txt checks, sitemap imports and optional temporary sharing use our server. Sitemap XML imports are sent to the server for parsing; creating a temporary share uploads your draft and origin after you agree.

Good to know

Common questions.

View all FAQs
Can I edit and test robots.txt before publishing?

Yes. Use Editor & Generator to prepare a draft, then test URLs and compare crawl rules and their effects with the original file. Download and publish the updated robots.txt file on your website. After publishing, use Verify Deployment to compare the live robots.txt against your draft.

Does blocking a URL in robots.txt prevent it from appearing in search results?

No. Robots.txt controls crawling, not indexing. A blocked URL may still appear in search results. To prevent indexing, use an appropriate noindex directive and allow the crawler to access it. Protect private content with authentication.

How do I check whether robots.txt blocks a URL?

Load your robots.txt, select a crawler, and open URL Tester. Enter a URL or path to see whether it is allowed or blocked, with the matching rule and line number where applicable. You can also test multiple URLs at once.

Is my robots.txt content uploaded to your server?

Pasted content, uploaded robots.txt files, and drafts are processed locally in your browser. Live robots.txt fetches and sitemap imports are handled by our server. If you choose to create a temporary share link, your draft and website origin are sent to our server, and the link remains accessible for up to 24 hours. You can revoke the link at any time before it expires.

What does Robots.txt Checker check?

Robots.txt Checker detects syntax issues, analyzes crawl rules and sitemap declarations, and tests whether URLs are allowed or blocked for your selected crawler. When fetching a live robots.txt file, it also checks HTTP status codes and redirects.

Why is a URL allowed when my robots.txt contains a Disallow rule?

A more specific Allow rule can create an exception to a broader Disallow rule. Crawler group selection also matters: rules in a specific crawler group do not automatically inherit rules from the wildcard group. URL Tester explains which rules apply.

Confirm change

Rule trace

Leave this workspace?

Your current images, results or work in progress will be lost when you go to .

Open in a new tab