robots.txt Tester
Check whether the rules of a robots.txt file block a given URL.
What it does
Reads the rules of a robots.txt file and tells you whether a given URL is allowed or blocked for a crawler. Use it before you publish changes, since one wrong line can hide a whole site from search engines. You see the rule that decides.
How to use the robots.txt Tester
- Paste the robots.txt into the Input box.
- Type the page in URL or path, for example /blog/post; separate several with spaces.
- Type the User agent, for example Googlebot or *.
- Read whether each URL is allowed and which rule decides.
About the .txt format
.TXT file extension.txt Plain Text File
Text Files
- File Type
- Plain Text File
- Category
- Text Files
- MIME
text/plain
The TXT file extension is a common file format that is used for storing text data.
Related tools
More in Validators
XML Validator
Check that XML is well formed and see the line of each error.
YAML Validator
Find indentation and syntax errors in YAML files.
Regex Tester
Test a regular expression on sample text and see each match and group.
HTML Validator
Find unclosed tags, wrong nesting and duplicate IDs in HTML.
CSS Validator
Find syntax errors and unknown properties in CSS.
JavaScript Syntax Checker
Find syntax errors in JavaScript and show their line and column.
OpenAPI Validator
Check an OpenAPI 3 or Swagger 2 document for structure errors.
Cron Expression Checker
Read a cron line in plain words and see its next run times.
robots.txt Tester questions
How do I use the robots.txt Tester?
Paste the text into the Input box or open a file, set the options, then copy or download the result.
Does renaming a file to .txt change its format?
No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .txt page lists programs and converters for it.