Robots.txt File Detection
Check whether your website provides a robots.txt file at its standard location.
- Automatic robots.txt discovery
- HTTP response status
- File accessibility check
- Unexpected HTML response detection
Inspect your robots.txt file and crawling directives.
Seonity's free robots.txt checker helps you inspect your website's robots.txt file, analyze crawling directives and identify potential technical SEO issues.
Review User-agent, Allow and Disallow directives, discover declared XML sitemaps and verify whether your robots.txt file is publicly accessible. Our online robots.txt analyzer makes it easy to inspect your website's crawling configuration without manually examining the file.
Inspect the essential elements of your robots.txt file and better understand how your website communicates crawling instructions to search engines.
Check whether your website provides a robots.txt file at its standard location.
Review the user-agent declarations used to associate crawling rules with different web crawlers.
Identify declarations that explicitly permit compliant crawlers to access matching URL paths.
Inspect declarations that restrict compliant search engine crawlers from accessing matching URL paths.
Discover the sitemap URLs declared in your robots.txt file and review the sitemap discovery configuration.
Inspect an excerpt of the retrieved robots.txt file directly within your analysis report.
Inspect your website's crawling configuration in three simple steps.
Enter your website address into the free robots.txt checker. Seonity will automatically locate the standard robots.txt URL.
Complete the security verification and click Check Robots.txt to retrieve the file and analyze its available directives.
Examine the HTTP status, directive counts, declared sitemaps and file content to better understand your configuration.
A robots.txt file is a plain text file that provides crawling instructions to automated web crawlers, including search engine bots.
It is located at the root of a website, typically at an address such as https://example.com/robots.txt.
Website owners can use robots.txt to manage crawler access to particular areas of a website and declare the locations of XML sitemaps.
However, robots.txt is not an access control system and does not guarantee that a URL will be excluded from search results.
Inspect your robots.txt file# Crawler configuration
User-agent: *
Disallow: /admin/
Disallow: /private/
Allow: /admin/public/
# XML sitemap
Sitemap: https://example.com/sitemap.xml
Learn how the most common robots.txt directives communicate crawling instructions to web robots.
| Directive | Purpose | Example |
|---|---|---|
| User-agent | Identifies the crawler or group of crawlers to which rules apply. | User-agent: * |
| Disallow | Restricts crawling of matching URL paths. | Disallow: /admin/ |
| Allow | Explicitly permits crawling of matching URL paths. | Allow: /admin/public/ |
| Sitemap | Declares the absolute URL of an XML sitemap. |
Sitemap: https://example.com/sitemap.xml
|
| Crawl-delay | Requests a delay between crawler requests. Support varies between search engines. | Crawl-delay: 10 |
| # Comment | Adds explanatory text that is ignored by compliant parsers. | # Website configuration |
Google supports User-agent, Allow, Disallow and Sitemap directives but does not support Crawl-delay. Seonity currently inventories the four main supported directive types.
Explore practical robots.txt examples and understand how different configurations can affect search engine crawling.
A basic configuration that does not restrict crawling of any URL paths.
User-agent: *
Disallow:
Sitemap: https://example.com/sitemap.xml
An empty Disallow directive does not block crawling.
Prevent compliant crawlers from accessing selected URL paths while leaving other areas accessible.
User-agent: *
Disallow: /admin/
Disallow: /internal/
Sitemap: https://example.com/sitemap.xml
These rules are not a substitute for password protection or authentication.
A common configuration for a WordPress website with an XML sitemap.
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: https://example.com/wp-sitemap.xml
Replace the sitemap address with your actual sitemap URL. SEO plugins may generate a different sitemap location.
This configuration requests that compliant crawlers avoid all URL paths on the website.
User-agent: *
Disallow: /
Use this configuration carefully. Accidentally applying it to a live website can cause significant crawling issues. It does not guarantee removal from search engine indexes.
The HTTP response returned by your server influences whether crawlers can retrieve and process your robots.txt file.
| HTTP status | Meaning | Recommended action |
|---|---|---|
| 200 OK | File successfully retrieved. | Review the returned directives. |
| 301 / 302 | File URL redirects. | Ensure the redirect leads to an accessible robots.txt file. |
| 404 Not Found | No robots.txt file found. | Create one if you need crawling restrictions or sitemap declarations. |
| 429 | Too many requests. | Review server rate limits. |
| 500 / 503 | Server error or unavailability. | Investigate server-side problems. |
A missing robots.txt file does not automatically prevent a website from being crawled. Google generally treats a 404 response as the absence of crawling restrictions. Server errors and other HTTP responses may be handled differently.
Follow these recommendations to maintain a clear and effective crawling configuration.
Review your Disallow rules to make sure they do not unintentionally restrict crawling of important public content.
Include an absolute sitemap URL in your robots.txt file to help search engines discover your sitemap.
Search engines may need access to CSS, JavaScript and image resources to render and understand your web pages.
Complex rules can make it harder to understand and maintain your website's crawling configuration.
These two mechanisms serve different purposes and should not be used interchangeably.
Provides crawling instructions through a publicly accessible text file at the root of a website.
Provides page-level indexing instructions through an HTML meta tag.
Blocking a page in robots.txt may prevent search engines from discovering its noindex tag. If your goal is to prevent indexing, use an appropriate indexing directive and allow crawlers to discover it, or protect the content through authentication when necessary.
Search engines need to discover and crawl web pages before they can evaluate their content for potential indexing. A robots.txt file helps website owners communicate crawling preferences to compliant automated crawlers.
Incorrect crawling rules can make it harder for search engines to access important content or the resources required to render a web page.
Regular robots.txt checks are particularly useful after a website redesign, CMS migration, domain change or SEO plugin update.
Seonity provides a basic inventory of recognized directives and file accessibility information. It is not a complete robots.txt syntax validator or a crawler-specific URL access simulator. For advanced configuration checks, consult Google's robots.txt documentation .
Combine robots.txt analysis with additional SEO checks to better understand your website's technical configuration.
Analyze technical SEO, metadata, headings, images and available performance metrics.
Run a free SEO audit →Inspect meta robots directives, canonical tags, page titles and meta descriptions.
Analyze your meta tags →Perform a quick website SEO test and identify common technical and on-page optimization issues.
Test your website SEO →Everything you need to know about robots.txt files, crawling directives and technical SEO.
A robots.txt checker is an online tool that retrieves and analyzes a website's robots.txt file. It helps you review crawling directives, file accessibility and declared sitemap URLs.
Enter your website URL into Seonity's free robots.txt checker, complete the security verification and start the analysis. You can also access the file manually by adding /robots.txt to your website's origin.
The robots.txt file must be located at the root of the website origin, for example https://example.com/robots.txt. Different protocols, hosts or ports can have separate robots.txt files.
No. A robots.txt file is not mandatory. Websites without one can generally still be crawled by search engines. The file is useful when you need to communicate crawling restrictions or declare sitemap URLs.
The wildcard user-agent declaration identifies the general group of crawlers for which no more specific matching user-agent group applies.
Disallow: / requests that compliant crawlers covered by the corresponding rule group avoid all matching paths, unless a more specific applicable Allow rule permits access.
Not reliably. Robots.txt controls crawling rather than indexing. A blocked URL may still appear in search results if search engines discover it through links or other sources. Use an appropriate noindex directive or authentication instead, depending on your objective.
Google does not support noindex directives in robots.txt. To request that an accessible page is excluded from Google's index, use a supported meta robots noindex directive or X-Robots-Tag HTTP header.
Declaring your XML sitemap in robots.txt is a useful way to help search engines discover it. Use an absolute URL pointing to your actual sitemap or sitemap index. This declaration is optional.
No. Google does not support the Crawl-delay directive in robots.txt. Other search engines may interpret it differently.
Enter your WordPress website URL into Seonity's free checker. WordPress can generate a virtual robots.txt file, while some hosting configurations or SEO plugins may provide a customized version.
Website owners can declare restrictions for identified AI crawler user agents. However, robots.txt relies on voluntary crawler compliance and cannot guarantee that automated systems will respect those restrictions.
No. Robots.txt is publicly accessible and does not enforce access restrictions. Use authentication, authorization or other appropriate security mechanisms to protect private content.
Seonity currently retrieves the robots.txt file and provides a summary of recognized directives. It does not yet evaluate access permissions for a specific URL and crawler combination.
Yes. Our online robots.txt checker is free to use without mandatory registration or paid subscriptions. Seonity is an independent project supported by voluntary donations. Usage limits may apply to prevent abuse.
Analyze crawling directives, inspect declared sitemaps and review your website's robots.txt configuration with Seonity's free online tool.
Check Your Robots.txt for Free No registration. No subscription. Just SEO.