robots.txt tester
Paste a robots.txt, a path and a user agent. The tester applies Google's rule: the longest matching rule wins, and Allow wins a tie.
Runs in your browser. Nothing you type leaves this page.
How to use the robots.txt tester
Three steps, then the questions people ask most.
- Open yoursite.com/robots.txt in your browser and paste its text in the first box.
- Type the path to test, starting with a slash, for example /blog/my-post.
- Type the crawler's name, such as Googlebot, Bingbot or GPTBot. The answer names the group and rule that decide it.
Which rule wins when Allow and Disallow both match?
The one with the longer path. If both are the same length, Allow wins. This is how Google reads robots.txt, and it is written into the robots.txt standard, RFC 9309.
Does Disallow keep a page out of Google?
No. Disallow stops crawling, not indexing. A blocked page can still appear in results if other pages link to it. To keep a page out, let it be crawled and add a noindex tag.
Which group does a crawler follow?
The group whose User-agent line matches its name most closely. A crawler that has its own group ignores the * group completely, so rules you want for every crawler must be repeated in each group.
How fast does a change to robots.txt take effect?
Google usually keeps a copy of robots.txt for up to 24 hours, so a change can take a day to be seen.
More free SEO tools
Each one runs in your browser, with no account.
- SERP snippet preview
See your title and description as a Google result on desktop and mobile.
- Meta tag checker
Title and meta description length in pixels, plus the head tags of a pasted page.
- Keyword density checker
How often each word and phrase appears in a text, and the share of one keyword.
- Readability checker
Flesch reading ease, grade level and the longest sentences in a text.
- Word counter
Words, sentences, headings and reading time for an article.
- Heading checker
The H1 to H6 outline of pasted HTML, with skipped levels and empty headings marked.
- URL slug generator
A short, readable URL slug from any title.
- Schema markup generator
JSON-LD for an Article, an Organization or a breadcrumb trail.
- FAQ schema generator
FAQPage JSON-LD from plain questions and answers.
- Open Graph preview
How a link to your page looks when shared, plus the og: tags to paste.
- llms.txt generator
A short Markdown map of your site for AI assistants.