Sitemap to Robots.txt Generator

Paste your sitemap URLs below (one per line) and get a robots.txt file that references them.

FAQ

What does the generated robots.txt allow?

It always opens with User-agent: * and Allow: /, so every crawler is allowed to index your whole site, followed by one Sitemap: line for each URL you entered.

Can I list more than one sitemap?

Yes — put each sitemap URL on its own line (for example your main sitemap.xml and a separate sitemap-index.xml) and the output will include a Sitemap: directive for every one of them.

Where do I put the resulting file?

Save the output as robots.txt and upload it to the root of your domain (e.g. https://example.com/robots.txt) — that's the only location search engines check.