Ranklight

Free SEO tools

Free robots.txt generator

Build a robots.txt in a few clicks, or load any site's live file and test which addresses Googlebot and AI crawlers may visit.

  • Builder plus a Google-style URL tester
  • Load any site's live robots.txt
  • Templates and a mistake review
WORKSHEET No. 09 · ROBOTS.TXT GENERATORFree · no sign-up · results stay on this page

Rules

Default for all crawlers

Rules for one crawler (optional)

Block AI crawlers (optional)

Blocking AI crawlers can keep your content out of AI answers. Google-Extended doesn't affect Google Search.

Your robots.txt

example.com/robots.txt

User-agent: *
Allow: /wp-admin/admin-ajax.php
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/

Sitemap: https://example.com/sitemap.xml

Upload it to the root of your site, so it's at yoursite.com/robots.txt.

Review

No problems

Looks good. Nothing risky found.

How to use it

  1. 01

    Choose the default

    Allow crawling for almost every site.

  2. 02

    List private paths

    Admin, cart and checkout pages, for example.

  3. 03

    Copy or download

    Upload it to yoursite.com/robots.txt.

What robots.txt does

It tells crawlers which paths not to visit. It doesn't hide a page from Google's index. Use a noindex tag for that.

AI crawlers

You can block AI training and answer crawlers by name. Blocking Google-Extended doesn't affect Google Search.

Questions

Can a mistake hurt my SEO?

Yes: “Disallow: /” for all crawlers blocks your whole site. Double-check before uploading.

Does Google respect Crawl-delay?

No. Google ignores it; some other crawlers use it.

More free tools

Found something to fix?

Ranklight finds the fixes worth making from your own Search Console data, applies the ones you approve, and measures the results.

Free plan · 5 credits a month · no card