
Site owners and content creators can use this before publishing a page or preparing it for sharing. Create a robots.txt file with a sitemap.
Create a robots.txt file with a sitemap. The result appears instantly in your browser, ready to copy, with no account, upload or storage involved.
The sample uses a simple domain address. After generation, check that the sitemap line reflects that domain and that the directives do not block pages you want indexed.
Input
https://example.comOutput
User-agent: *
Allow: /
Sitemap: https://example.com/sitemap.xmlThe robots.txt content is generated inside your browser. The address you enter does not leave your device, nothing is stored by the tool, and the text is ready to copy from the page.
It needs to be reachable at the root of your domain, at the usual robots.txt address. A file placed in a subfolder will not be treated as the main robots.txt file by crawlers.
It generates a line that points to the sitemap location based on the domain you enter. It does not build the sitemap file itself. You still need a valid sitemap available at the address you announce.
The generated file contains general directives. If you want to block the whole site, you must add the matching rule to the file or edit the result. Always review the content before publishing it.