Build a valid robots.txt file in seconds — visual rule builder, presets, live validation and a path tester. Free, no signup, runs in your browser.
Full https:// addresses. Sitemap lines go at the end of the file, outside the rule groups.
Import keeps your groups, rules, sitemaps, crawl-delay and host. Comments are dropped, and a “Noindex” line is dropped too — Google ignores noindex in robots.txt — with a warning explaining why.
What this tool cannot do: it builds the file — it cannot upload it to your server, and it cannot test against Googlebot itself. You upload the file to your site root, then check it in Search Console (how-to below).
# Your robots.txt will appear here. # Add a rule or pick a preset to start.
No problems found — this file looks safe to upload. Still test a few paths below before you publish it.
Type a path above — e.g. /wp-admin/ or /blog/my-post — to see whether it gets blocked.
The tester follows Google's longest-match rule: the longest matching rule wins, and Allow wins a tie. The crawler box takes a name like Googlebot — leave it as * to test every crawler.
A robots.txt file is a plain-text file that lives at the root of your site — https://example.com/robots.txt — and tells well-behaved crawlers which paths they may and may not fetch. Each block starts with a User-agent line naming the crawler (or * for all crawlers), followed by Allow and Disallow rules, and optionally Sitemap lines pointing crawlers at your sitemap. It is a request, not a lock: polite crawlers obey it, malicious scrapers ignore it completely.
Most small sites do not need one at all — no file means no restrictions, which is fine when every public page should be crawled. A file earns its keep when you have something worth keeping crawlers out of: admin areas, search-result pages, checkout and cart pages, staging copies, or AI training bots you would rather not feed.
/wp-admin/ blocks a folder, /*.pdf$ blocks every PDF, /private/public/ as an Allow re-opens one folder inside a blocked one./blog/, /pricing and /wp-admin/ into the tester and check each one comes back as you expect. The longest matching rule wins — a broad Disallow can quietly swallow a page you meant to keep.robots.txt — plain text, UTF-8 — so it opens at https://yoursite.com/robots.txt. Every subdomain and every protocol (http vs https) needs its own file.We reply within one business day · Your audit is yours to keep
Start with the free audit — see your Map Pack position, AI visibility and fix order.
Get My Free Local SEO AuditFrom $97/mo · +1 (323) 426-6286