Robots.txt generator
Create a robots.txt file containing rules for search engines and a sitemap.
Workspace · Robots.txt generator
How to use it
Paste the code, URL or data you want to process.
Select the format or action available in the tool.
Check the result and copy it into your editor or configuration file.
Examples
Allow everything
User-agent: * / Allow: / and the sitemap URL.
Lock a folder
Disallow: /admin/ prevents that section from being crawled.
What you need to know
robots.txt tells web crawlers which parts of the site they are allowed to visit. It does not prevent a page from appearing in search results if it has already been indexed, nor does it protect private information; for that, use authentication or the ‘noindex’ tag.
Frequently Asked Questions
Related tools
Other tools that can help with similar tasks.
XML Sitemap Generator
Create a valid XML sitemap from a list of URLs.
SEO Metadata Generator
Create a title, meta description, canonical tag and Open Graph tags for a page.
XML Validator
Checks whether an XML file is well-formed and identifies errors.
