- 100% client-side isolated
- 0ms latency
Robots.txt generator and validator
Compose crawl rules group by group, check them against the directives crawlers really honour, and download a robots.txt that will not quietly lock out Googlebot.
- Validated before you ship
- Five starter presets
- AI crawler tokens included
- Nothing is uploaded
Rules that behave the way you expect
Allow and Disallow precedence, crawl-delay support and sitemap placement are validated as you type, because those are the details that silently break a live site.
- 100% client-side isolated
- 0ms latency
- 1 groups, 5 rules
Start from a preset
Presets replace the whole document; every field stays editable.
Everything crawlable, private paths excluded, sitemap declared.
Group 1
*
Top-level directives
Sitemap and Host belong outside every group.
Validation
Checked against the directives crawlers actually honour.
- Groups
- 1
- Agents
- 1
- Rules
- 5
- Sitemaps
- 1
- All groupsNo syntax problems found: every path starts with /, agents are valid tokens and the sitemap is absolute.
robots.txt
Upload to the domain root so it is served at /robots.txt.
# robots.txt# Generated with WebCraft - https://webcraft.app/robots-generator## Rules match the URL path. The longest matching rule wins, and Allow# beats Disallow when both rules are the same length. # Allow the site, but keep private areas out of the indexUser-agent: *Disallow: /admin/Disallow: /api/Disallow: /cart/Disallow: /checkout/Disallow: /search? Sitemap: https://example.com/sitemap.xmlHow it works
SEO and server tooling that runs in your tab
No uploads, no sign-ups and nothing to wait for: the tags, crawl rules and server files are composed inside this page, so the result appears while you type.
1. Describe your site once
Title, URL, image and the rules you need. The form holds everything in page state, so the same fields drive the search preview, the social cards and the generated file.
2. Flip the switches you actually need
Open Graph, Twitter cards, HTTPS or WWW redirects, CORS, caching, security headers, crawler rules. Every option is a visible control, never a hidden default.
3. Watch the output update live
The Google result, the Twitter and Facebook cards and the syntax-highlighted tag, robots or server file all re-render as you type — there is no submit step.
4. Check it before you ship it
Length warnings, image URL problems, invalid crawl rules and the places where Apache and Nginx differ are listed next to the result instead of being silently dropped.
Privacy by architecture
Nothing is uploaded — and you can verify it
Privacy claims are cheap, so this one is falsifiable: the app has no upload code path at all.
No upload endpoint exists
None of these tools has a POST route, a storage bucket or a proxy. Open DevTools, watch the Network tab and generate a config: the only requests are the page assets.
Your input stays in memory
Titles, crawl rules and directives live in React state inside the tab and are never persisted. Close the tab and they are gone, because nothing was ever written anywhere.
Deterministic output, byte for byte
The serialisers are hand-written and never consult the locale or the clock, so the same form produces exactly the same file on every run, in every browser.
Free forever, no account required — the tools are static pages that run entirely on the client.
Robots.txt FAQ
Precedence, indexing versus crawling, AI crawlers and sitemap directives.
Where does robots.txt go, and what does it do?
It goes in the root of the domain, so it is served at https://example.com/robots.txt, and it tells crawlers which paths they may request. It is a request rather than an enforcement mechanism: a crawler that ignores it is not blocked, so use authentication or a server rule when data must actually stay private.
Does Allow or Disallow win when both match?
The longest matching rule wins. If an Allow and a Disallow rule match the same length of path, the Allow rule wins. That is why the generator warns when you put Allow: / and Disallow: / in the same group: the shorter rule never has an effect.
Can robots.txt block a page from appearing in Google?
No. Disallow prevents crawling, not indexing: a blocked URL can still appear as a bare link, because other pages link to it. To remove a page from results use a noindex meta tag or the X-Robots-Tag header, and make sure the page is crawlable so the directive is actually read.
What are the AI training crawler tokens?
They are the user-agent names of the crawlers used to collect training data, including GPTBot, CCBot, Google-Extended, anthropic-ai, ClaudeBot, PerplexityBot and Bytespider. The Block AI training preset puts them in their own group with Disallow: /, leaving normal search crawlers allowed.
Does Crawl-delay work on Google?
No. Google ignores Crawl-delay entirely and decides its own crawl rate; only Bing and Yandex honour the directive. The generator still supports it but flags any value over 30 seconds, and points you at the search-console crawl-rate setting instead.
How do I declare my sitemap?
Add a Sitemap directive with the absolute URL, for example Sitemap: https://example.com/sitemap.xml. It is a top-level directive that belongs outside any user-agent group, and a non-absolute value is silently ignored by every crawler, which is why the validator reports it as an error.
More free tools in the hub
Meta & Open Graph
Fill a short form and get the complete <head> block: title and description limits, canonical, robots, Open Graph for Facebook and LinkedIn, Twitter cards, plus a live Google SERP, Twitter and Facebook preview and an image URL validator.
Open toolServer config
Toggle the rules you need — HTTPS redirect, WWW or non-WWW, custom 404, CORS, security headers, compression and caching — and get equivalent Apache .htaccess and Nginx syntax with a warning for every rule the other server cannot express.
Open toolXML sitemap
SoonPaste a list of URLs and build a valid sitemap.xml with lastmod, changefreq, priority and image entries. In development on the same client-side pipeline.
In development