SEO Tools
Meta Robots Tag Generator
Build a robots meta tag or X-Robots-Tag header with noindex, nofollow, max-snippet, max-image-preview and unavailable_after, plus Nginx and Apache rules.
How to use Meta Robots Tag Generator
Choose indexing and link settings, the crawler and the output format, then add any snippet, preview or date directives. The tag or server config updates as you change options, with notes on what it does.
- Set indexing and linksChoose index or noindex, follow or nofollow, and the crawler: all robots, Googlebot, Googlebot-News, Bingbot or Baiduspider.
- Add extra directivesOptionally set max-snippet, max-image-preview, max-video-preview, unavailable_after, noarchive, nosnippet and others.
- Pick the output and copyCopy a meta tag for HTML pages, or an X-Robots-Tag header, Nginx or Apache rule for PDFs and other files.
Meta tag or X-Robots-Tag header?
The robots meta tag goes in the head of an HTML page, for example meta name="robots" content="noindex, follow". PDFs, images and other non-HTML files cannot carry a meta tag, so they need the X-Robots-Tag HTTP header instead. Choose Nginx or Apache output and list file types to limit the header to them: entering pdf, docx produces a location block for .pdf and .docx files that adds X-Robots-Tag "noindex, follow". Choosing a specific crawler such as Googlebot puts its name in the tag or before the header value, so only that crawler is affected.
Common noindex mistakes
noindex only works if crawlers can fetch the page. If the same URL is blocked in robots.txt, the crawler never sees the tag and the URL can still appear in results without a snippet. Snippet and preview directives do nothing on a noindex page, and indexifembedded only has an effect together with noindex. If both nosnippet and max-snippet are set, the stricter nosnippet wins, and max-snippet:0 equals nosnippet. Google no longer shows cached pages, so noarchive matters mainly for Bing and others. Baidu documents support only for nofollow and noarchive.
Accuracy and data handling
Generated tags and rules must match the real page content and the site's deployment environment. The calculation runs in your current browser; the tool code does not send the input to a processing API.
FAQ
What does noindex, follow mean?
The page is kept out of search results while crawlers may still follow its links. It is the generator's default and a common choice for pages such as internal search results or thank-you pages.
Do I need an index, follow tag?
No. index, follow is the default behaviour, so leaving the tag out has the same effect. The generator points this out when you select it without any other directives.
How do I noindex a PDF?
Use the X-Robots-Tag header. Choose Nginx or Apache output, set Indexing to noindex and enter pdf under file types; the rule adds the header to every .pdf response.
When should I use unavailable_after?
For pages that should drop out of Google after a set date, such as a time-limited offer. Pick the date and the directive is added as unavailable_after: YYYY-MM-DD; a date in the past triggers a warning.
More SEO Tools
Related toolsBuild validated hreflang tags, headers or XML sitemap entries with x-default
Normalise URLs and generate rel=canonical link tags or HTTP Link headers
Build schema.org JSON-LD for nine common types with required-field checks
Convert Q&A text into FAQPage JSON-LD and matching on-page FAQ HTML
Build BreadcrumbList JSON-LD or breadcrumb HTML from a list or a single URL
Bulk-convert old and new URL pairs into Nginx, Apache, Cloudflare and Netlify redirects