Robots.txt tester

Check whether Google, Bing and AI assistants like ChatGPT, Perplexity and Claude are allowed to read a page on your site, and which line of your robots.txt decides.

Open yourbusiness.com/robots.txt, copy everything and paste it here. The example is made up.

A path like /services or a full address.

Result

Search crawlers: can they read this page?

AI training crawlers

Blocking training crawlers is your choice and doesn't affect whether you show up in search.

What robots.txt does, and what it doesn't

  • It tells crawlers what not to read. Each User-agent line starts a group of rules for one crawler, or for all of them with *. A crawler follows only the group with its own name if there is one, otherwise the * group.
  • The most specific rule wins. When an Allow and a Disallow rule both match, the longer one decides, and Allow wins a tie. * matches anything and $ marks the end of the address.
  • It doesn't hide pages. Anyone can open your robots.txt, and blocked pages can still appear in Google as a bare link. Use a noindex tag or a password for pages that must stay private.
  • One wrong line can block your whole site. Disallow: / under User-agent: * tells every crawler to stay out. It's a common leftover from a site that was built on a test address.
  • Add your sitemap. A Sitemap: line with your sitemap's full address helps crawlers find all your pages.

Want the full picture? Our free SEO audit reads your robots.txt and sitemap automatically, along with more than 20 other checks. The guide to showing up in ChatGPT and AI answers explains the AI crawlers in more detail.

Questions about robots.txt

Will blocking a page in robots.txt remove it from Google?

No. Robots.txt stops crawlers from reading a page, but Google can still list the address if other pages link to it, just without a description. To keep a page out of Google, let it be crawled and add a noindex tag, or remove the page.

Should I block AI crawlers?

Block AI search crawlers (like OAI-SearchBot, PerplexityBot or Claude-SearchBot) and ChatGPT, Perplexity and Claude can't read or recommend your pages. Blocking AI training crawlers (like GPTBot or Google-Extended) is a separate choice that doesn't affect search.

Where is my robots.txt file?

Always at the root of your site: add /robots.txt to your address, for example yourbusiness.com/robots.txt. Open it, copy everything and paste it here. If the page is empty or shows an error, you have no robots.txt, which means crawlers may read everything.

Why does my rule not work?

The usual causes: the path doesn't start with a slash, the capitalization differs (paths are case-sensitive), the rule sits under a different User-agent group, or a longer Allow rule overrides it. The tester shows which line decided.

Does the tester fetch my site?

No. It only reads what you paste, and everything runs in your browser.

Not sure where to start?

Run the free audit. It checks your website and your Google listing in about a minute and lists what to fix first.

Free, takes about a minute, no signup.

Rather ask a person? Email hello@lazerseo.com or send a message.