Presets, groups and rules.
Start from a preset: Allow everything, Block everything, WordPress, WooCommerce, a Shopify-style store, Blogger, Joomla, Drupal, Magento or OpenCart. Each fills the User-agent: * group with the usual rules for that platform. To change an existing file instead, type a domain under Or edit a live robots.txt and press Load, and its groups, rules and sitemaps are rebuilt in the editor.
Each rule is an Allow or a Disallow for a path such as /cart/ or /*?sort=, and the arrows reorder them. Press Add a group for another crawler to give a bot such as Bingbot its own rules and its own Crawl-delay. Bingbot reads a crawl delay and Googlebot ignores it, so leave it empty unless a bot is overloading your server.
Add every sitemap URL you have, one per line. A relative path is flagged and left out. Warnings above the output also point out conflicting Allow and Disallow rules on the same path and a site-wide block.