Robots.txt Tester
Check a crawler and URL against local rules. See the winning directive, matching lines and reasons for the decision.
- Free
- Works Offline
- No Uploads
Choose Rules, a Crawler and a Path
- Open the HTML, review Security Check, then select Continue.
- Paste rules, open a local .txt file, or select Open Sample.
- Enter the crawler product token and the URL or path to compare.
- Select Test Rules and review the decision and matching lines.
- Download JSON to keep a separate copy of a valid test.
See the Rule That Decides the Test
- Compare a specific Allow against a broader Disallow.
- See when an exact crawler group takes precedence over wildcard fallback.
- Find syntax errors by physical line number and retest after editing.
Formats and Compatibility
| Input | In the local robots.txt tester, paste rules or open a UTF-8 .txt file. Enter a crawler product token and either an HTTP(S) URL or a path beginning with a slash. |
|---|---|
| Output | The free robots.txt tester shows the selected crawler group, winning directive and original line numbers. It distinguishes an explicit Allow from a default decision. |
| Browser | A modern browser with local file support. |
| Scope | UTF-8 robots.txt rules up to 500 KiB. Test one crawler and HTTP(S) URL or slash-prefixed path at a time. |
| Operating Systems |
Local Processing Without Uploads
Use the robots.txt tester without uploading files. This browser-based check parses URLs on your device with no uploads or requests to the site.
Select Open Sample to see the workflow with the included example.
Formats and Compatibility
The robots.txt tester tool reads up to 500 KiB of UTF-8 rules. It supports User-agent, Allow, Disallow, comments, path wildcards and the end anchor. Other directives are listed as ignored.
Trace the Group and Review the Decision
See why a named group, wildcard group or default applied. Select a line number to review the source or download the JSON trace for a valid test.
Frequently Asked Questions
Can I use the robots.txt tester offline?
Yes. Extract the Tool ZIP and open RobotsTxtTester.html. The rules test runs on your device.
Where is the robots.txt tester download?
Download Tool ZIP contains the standalone workbench. Download JSON in the workbench saves a valid decision and rule trace.
Can I use the robots.txt tester in browser mode?
Yes. Paste or select local rules in your supported browser, then enter the crawler token and path.
Can I use this robots.txt tester for HTML files?
Yes. Enter the address of the page and supply its robots.txt rules. The tester compares the address and never loads the page.
How is a winning rule chosen?
An exact case-insensitive crawler match takes precedence over the wildcard group. Matching paths are case-sensitive. The longest normalized pattern wins by octet count, with each wildcard and end anchor counting once. Allow wins a tie.
What happens when the rules contain a syntax error?
Correct supported-directive syntax on the reported line and test again. Ignored extension directives are reported separately. The result describes this local rules test. Search engines decide indexing independently.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.