Free robots.txt generator
Build a robots.txt file
in seconds
Add allow and disallow rules, set your sitemap URL, and download the finished file. No configuration needed.
Configure your rules
robots.txt
User-agent: * Disallow: /admin/ Disallow: /api/
How to add robots.txt to your website
Drop the file in your site's root directory — the same folder as your index.html or homepage. It must be accessible at yourdomain.com/robots.txt.
Next.js
Place robots.txt in the /public folder. It will be served at the root automatically.
WordPress
Use a plugin like Yoast SEO which manages robots.txt for you, or upload via FTP to the root.
Shopify
Shopify generates robots.txt automatically. You can customize it via the theme's robots.txt.liquid template.
Frequently asked questions
Need a logo for your site?
Generate a professional logo in about 30 seconds.