Robots.txt Generator & Directives Builder
Generate valid robots.txt files online with user-agent rules, crawl delays, allow/disallow paths, and XML sitemap directives in your browser.
How to Use Robots.txt Generator Online
Follow these quick steps to process your data online directly in your browser with zero latency and 100% privacy.
Example Input & Output
Generates search engine crawler instructions and sitemap directives.
https://www.example.com
User-agent: * Allow: / Disallow: /admin/ Disallow: /api/ Sitemap: https://www.example.com/sitemap-index.xml
Common Use Cases
Website SEO Setup
Control which site directories search engines like Google and Bing are permitted to crawl.
Frequently Asked Questions
Where should robots.txt be placed?
The robots.txt file must always be placed at the top-level root directory of your website (e.g. example.com/robots.txt).
Related Tools
.gitignore Generator
Generate curated .gitignore files online for Node.js, Python, Rust, Go, Java, macOS, Windows, and IDEs. Download ready-to-use Git ignore templates.
URL Cleaner
Clean URLs online by stripping UTM tracking tags, analytics parameters (fbclid, gclid), and unnecessary query strings in your browser.
Markdown to HTML
Convert Markdown text and README files to clean HTML markup online with live preview, syntax highlighting, and table support in your browser.
.env Formatter
Format, sort, and organize .env files online. Alphabetize keys, group related variables, and clean up unquoted strings directly in your browser.