Meta Robots Generator
Build robots meta tags and X-Robots-Tag headers
Directives
About the Meta Robots Generator
The Meta Robots Generator writes indexing directives for a single page. Combine noindex, nofollow, and preview limits, then copy either a meta tag or an HTTP header for non-HTML files.
Test indexing changes on a staging URL before touching production, because a wrong noindex can remove pages from results for weeks. Check the rendered head, not just the template.
- ✓Common robots directives
- ✓Snippet and preview limits
- ✓Meta tag and header output
How to use the Meta Robots Generator
- 1
Select the directives you need.
- 2
Set optional snippet, image, and video limits.
- 3
Copy the meta tag or header.
Frequently asked questions
Is a meta robots tag better than robots.txt?+
They do different jobs. robots.txt controls crawling, while a noindex tag controls indexing. To remove a page from results, allow crawling and use noindex.
When do I need the HTTP header instead?+
Use X-Robots-Tag for PDFs, images, and other files that cannot contain HTML markup, or when a server or CDN must set the rule centrally.
Save Meta Robots Generator to your favorites, or keep browsing seo tools.
Browse all 26 seo tools →