Skip to main content

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.

Free, no signup Fetches the live file Test unpublished drafts

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.

1

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.

2

List the URLs to test

One per line. Full URLs or bare paths both work, including query strings.

3

Pick the crawler

Choose Googlebot, Bingbot or any other name. The tool selects the group that crawler would use.

4

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. 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.

    Robots.txt tester showing empty domain, URL list and crawler fields
  2. 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.

    Robots.txt tester with a domain and four URLs entered, set to test as Googlebot
  3. 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.

    Results showing 4 URLs tested and 4 allowed, each naming the matching Allow rule and its line number

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

  1. Open Online Store, then Themes.
  2. Edit code and open robots.txt.liquid.
  3. Copy the rendered output from yourstore.com/robots.txt and paste it above.

WordPress

  1. Check whether an SEO plugin generates the file virtually.
  2. Open yoursite.com/robots.txt in a browser.
  3. Copy the whole response and test it here.

Next.js

  1. Look for public/robots.txt or an app/robots.ts route.
  2. Build locally and request /robots.txt.
  3. Paste the served text, not the source template.

Grigora

  1. Open Site settings, then SEO.
  2. Review the generated robots.txt.
  3. Test it here before pointing the domain live.

Grigora vs. other robots.txt testers

Side by side.

CapabilityGrigoraOnline checkersSearch ConsoleCrawler suites
Runs without fetching your siteYes, paste a draftNeeds a live URLNeeds verified siteNeeds a live URL
Quotes the matching lineYes, with line numberSometimesYesNo
Bulk URL testingUnlimited listOne at a timeOne at a timeVaries
Flags syntax problemsYes, with the reasonBasicYesNo
Signup requiredNoNoYesYes

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.

500
Kilobytes of robots.txt Google reads before it stops parsing
1
Groups that apply to any single crawler, never two
2
Wildcard characters supported in paths: * and $
404
Status on robots.txt that means every URL is allowed, not an error

Frequently asked questions

Ten answers about robots.txt behaviour.

Related free tools

Other utilities that pair with the Robots.txt Tester.

Build 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