Free Robots.txt Tester
Enter a domain to fetch its live robots.txt, or paste a draft, then list the URLs you want to check. Every verdict quotes the rule that produced it, including wildcards, end anchors and longest match precedence.
Test your rules
Fetch or paste the file on the left, list the URLs on the right.
Any URL on the site works. Only the scheme and host are used, because robots.txt is read from the root of each origin and nowhere else.
Rules correct? Next is the site itself
A crawlable site is only worth as much as the pages behind it.
Grigora builds the site, the newsletter and the store on one platform, with the robots.txt, sitemap and canonical tags generated from your actual pages instead of maintained by hand in a text file nobody remembers editing.
How to test a robots.txt file
Four steps from file to verdict.
Enter your domain
The live robots.txt for that origin is fetched for you. Or switch to the paste tab and test a draft you have not published yet.
List the URLs to test
One per line. Full URLs or bare paths both work, including query strings.
Pick the crawler
Choose Googlebot, Bingbot or any other name. The tool selects the group that crawler would use.
Read the matching rule
Each URL shows allowed or blocked plus the exact line that decided it, so you know what to edit.
How to test a robots.txt file, step by step
Real screenshots of the tool, taken while testing four URLs against a live file.
- 1
Enter a domain and the URLs to test
The live robots.txt for that origin is fetched for you. List one URL per line, as full URLs or as bare paths.


- 2
Pick the crawler to test as
A group that names Googlebot overrides the star group entirely, which is the part that catches most people out.


- 3
Read the rule that decided it
Each URL shows allowed or blocked, plus the exact line that decided it and why that line won, so you know what to edit.


When this check matters
Six moments a robots.txt test saves real traffic.
After a staging launch
Staging files carry "Disallow: /". Confirm it did not ship to production with the code.
When pages stop being indexed
Check whether a rule is blocking the crawl before you rewrite the page.
Before editing a live file
Test the draft here first. A bad rule can remove a section from search within days.
Debugging faceted URLs
See whether a wildcard rule catches your sort and filter parameters, and only those.
Checking one crawler at a time
A specific Googlebot group overrides the * group entirely, which surprises most people.
Auditing an inherited site
Read what the previous team actually blocked, line by line, before you change anything.
Finding robots.txt on your platform
Where the real file lives, by platform. Always test the served output rather than the template.
Shopify
- Open Online Store, then Themes.
- Edit code and open robots.txt.liquid.
- Copy the rendered output from yourstore.com/robots.txt and paste it above.
WordPress
- Check whether an SEO plugin generates the file virtually.
- Open yoursite.com/robots.txt in a browser.
- Copy the whole response and test it here.
Next.js
- Look for public/robots.txt or an app/robots.ts route.
- Build locally and request /robots.txt.
- Paste the served text, not the source template.
Grigora
- Open Site settings, then SEO.
- Review the generated robots.txt.
- Test it here before pointing the domain live.
Grigora vs. other robots.txt testers
Side by side.
| Capability | Grigora | Online checkers | Search Console | Crawler suites |
|---|---|---|---|---|
| Runs without fetching your site | Yes, paste a draft | Needs a live URL | Needs verified site | Needs a live URL |
| Quotes the matching line | Yes, with line number | Sometimes | Yes | No |
| Bulk URL testing | Unlimited list | One at a time | One at a time | Varies |
| Flags syntax problems | Yes, with the reason | Basic | Yes | No |
| Signup required | No | No | Yes | Yes |
Common errors and how to fix them
Eight robots.txt mistakes that quietly cost traffic.
Disallow: / left in production
Cause: The staging robots.txt was deployed with the build.
Fix: Remove the line. Recrawling takes days, so check this the hour a site goes live.
Blocking a page to deindex it
Cause: Disallow used where noindex was meant.
Fix: Blocking stops the crawl, so the noindex tag is never read and the URL can stay listed. Allow the crawl and serve noindex.
Blocking CSS and JavaScript
Cause: Disallow: /assets/ or /wp-includes/.
Fix: Google renders pages. Blocked CSS and JS make the page look broken to the renderer, which affects how it is assessed.
Rule under the wrong group
Cause: A blank line split the group in two.
Fix: A user-agent line starts a group and rules belong to the group above them. Keep each group contiguous.
Expecting * to also apply
Cause: A Googlebot group exists, so the * group is ignored by Googlebot.
Fix: Only one group applies per crawler. Repeat any shared rules inside the specific group.
Case mismatch in paths
Cause: Disallow: /Admin/ against a /admin/ URL.
Fix: Paths are case sensitive. Directive names are not, but everything after the colon is.
Relative sitemap URL
Cause: Sitemap: /sitemap.xml.
Fix: The value must be absolute, with the scheme and host. A relative value is discarded.
Missing $ on an extension rule
Cause: Disallow: /*.pdf blocks /file.pdf?ref=x and also /pdf-guide/page.
Fix: Add $ to anchor the end, and remember it then stops matching URLs with query strings.
Limits worth memorising
The four numbers that explain most surprising results.
Frequently asked questions
Ten answers about robots.txt behaviour.
Related free tools
Other utilities that pair with the Robots.txt Tester.
Robots.txt Generator
Write a valid robots.txt from the paths you want to block.
Try itMeta Robots Tag Generator
Build the noindex and nofollow tags robots.txt cannot replace.
Try itIndexability Checker
See whether a page is eligible to be indexed at all.
Try itNoindex Checker
Find pages carrying a noindex tag you did not intend.
Try itXML Sitemap Creator
Generate the sitemap your robots.txt should point to.
Try itSitemap Status Checker
Check that the sitemap URL you declared actually resolves.
Try itBuild a site that is crawlable by default
Pages, newsletter and store in one place, with the technical SEO handled for you, starting free.
Start building free