Free SEO tool

Meta Robots Tag Generator

Build meta robots tags or X-Robots-Tag headers with all available directives. See the impact level of each directive and copy the generated tag instantly.

D Directives

max-snippet Medium
Sets maximum text snippet length (in characters). Use -1 for no limit.
max-image-preview Medium
Sets maximum image preview size in search results.
max-video-preview Low
Sets maximum video snippet duration in seconds. Use -1 for no limit.
unavailable_after High Impact
Removes the page from search results after the specified date.

G Generated Tag

! When to Use Each Directive

noindex: Removing pages from search

Use on internal search results, staging pages, thin content, thank-you pages, and login pages. Combining noindex with nofollow is common for pages with zero SEO value. Important: noindex in robots meta is more reliable than Disallow in robots.txt for keeping pages out of the index.

nofollow: Controlling link equity flow

Rarely needed at page level. Use on UGC-heavy pages (forums, comment sections) where you cannot control outbound links. For individual links, use rel="nofollow" or rel="ugc" on the anchor tag instead.

max-snippet: Controlling SERP appearance

Setting max-snippet:0 removes text snippets entirely. Setting max-snippet:160 caps snippet length. This also affects AI Overviews and featured snippets. Use -1 (default) to let Google decide. Restricting snippets may reduce CTR from search results.

max-image-preview: Image display in search

Setting to "none" prevents image thumbnails in search results. "standard" allows small thumbnails. "large" enables full-size images and is required for Google Discover eligibility. Most sites should use "large" for maximum visibility.

unavailable_after: Time-limited content

Perfect for event pages, limited-time offers, or seasonal content. The page is automatically removed from the index after the specified date. More elegant than manually adding noindex after an event ends.