A meta robots tag generator converts a crawler policy into a page-level HTML meta robots element or an equivalent X-Robots-Tag response header.
The Meta Robots Generator lets you choose crawler scope, indexing, link-following, snippet and preview restrictions, then generates both formats from one validated set of choices. Generation is entirely local, so the output can be copied without contacting a search service.
The tool supplies the syntax; it does not decide whether the resource should appear in search results. You still need to define the policy, deploy the directive in the correct layer and verify the delivered response.

Define the rule before opening the generator
Begin with the intended result rather than a familiar directive. Decide whether the resource should be indexed, whether its links should be followed and which snippet, image, video, translation or image-indexing limits genuinely apply.
- Should the selected crawler be allowed to include this resource in search results?
- Should crawlers follow links found on the resource?
- Do you need to constrain previews, translation or image indexing for a specific reason?
Write one policy sentence before opening the form. For example: “Google should not index this page, links may still be followed, and other crawlers can treat it normally.” That maps to the Googlebot target with noindex and follow. Remove every restriction that does not serve the policy.
Choose the crawler scope
The generator exposes three crawler targets, and each one changes both the meta name and the HTTP header value:
- General search crawlers: produces a meta element named robots and an unqualified X-Robots-Tag header.
- Googlebot for text results: uses googlebot as the meta name and prefixes that user agent in the HTTP header value.
- Googlebot News: uses googlebot-news as the meta name and prefixes that user agent in the HTTP header value.
These are the complete crawler-target choices in this focused interface; arbitrary vendor-specific crawler names are outside its scope. Other engines may interpret Google-specific choices differently. For a closer comparison of the three names, see Robots Meta Tag Names: Pick the Right Crawler Target.
Map the policy to supported controls
Select only the controls required by the policy. The available options cover indexing, link following and presentation limits:
| Control | Supported choice | Meaning |
|---|---|---|
| Indexing | index or noindex | Requests that the page or resource may appear in search results or asks that it not appear. |
| Link following | follow or nofollow | Requests that crawlers follow or do not follow links found on the page. |
| Text snippet | nosnippet or max-snippet | nosnippet requests no text snippet or video preview; max-snippet limits textual snippet characters and accepts only -1 or a non-negative whole number. Google treats 0 as equivalent to no snippet and -1 as allowing it to choose an effective length. The two cannot be combined. |
| Video preview | max-video-preview | Accepts -1 for no duration limit, zero for at most a static image under the image rule, or a nonnegative whole number of seconds. |
| Image preview | none, standard or large | none requests no image preview, standard permits a default preview and large permits a larger preview up to viewport width. |
| Translation | notranslate | Asks Google not to offer a translated title and snippet. |
| Image indexing | noimageindex | Asks Google not to index images on the page. |
| Embedded indexing | indexifembedded | Allows content to be indexed when embedded through an iframe or similar element despite noindex, but only when noindex is also present. |
Dependency validation prevents misleading output. The generator will not emit nosnippet together with max-snippet, because the more restrictive nosnippet rule would make the numeric choice misleading. It also requires noindex before allowing indexifembedded. Malformed numbers and values below the documented minimum are rejected instead of being copied into a rule.
Google’s robots meta tag specifications also note that nosnippet prevents page content from being used as direct input for AI Overviews and AI Mode, although a static image thumbnail may still appear. The interface deliberately omits noarchive, which Google lists as historical and ignored, and unavailable_after, which requires date-time formatting, time-zone and publication-workflow decisions that a generic form should not guess.
Generate and deploy the directive
- Identify the governed resource. Determine whether it is an HTML page, PDF, image, video or another resource that will receive a server response header.
- Select the crawler target. Choose general crawlers, Googlebot for text results or Googlebot News according to the policy you defined.
- Set the restrictions. Choose the indexing and link-following behavior, then add preview, translation or image controls only when they are required.
- Generate and copy the output. The validated choices are serialized into both an HTML meta element and an equivalent X-Robots-Tag header. Copy the form that matches your deployment method.
- Deploy it at the controlled layer. Add the meta element to controlled HTML markup, or configure the header through the web server, application or CDN. A header line pasted into visible page content has no effect.
- Allow crawling and inspect the public resource. Fetch the public URL as the intended crawler can access it, review the delivered source and headers and resolve contradictory declarations before the next recrawl.
For example, a general noindex, nofollow choice uses this format:
<meta name="robots" content="noindex, nofollow">X-Robots-Tag: "noindex, nofollow"
A Google-specific noindex choice changes both outputs to identify the crawler:
<meta name="googlebot" content="noindex">X-Robots-Tag: googlebot: "noindex"
The final string depends on the controls selected in the generator rather than these illustrative combinations alone.
Choose the output channel
The two generated formats express the same chosen rules, but each has a different practical use:
| Delivery method | Best fit | Deployment check |
|---|---|---|
| HTML meta element | HTML pages where you control the markup | Confirm the generated element appears in the served page metadata and inspect the page source. |
| X-Robots-Tag header | Non-HTML resources such as PDFs, images or video, or deployments where header management is more reliable | Confirm the web server, application or CDN sends the directive in the actual response headers. |
Use the HTML form for ordinary pages under markup control. The WHATWG meta element definition provides the relevant HTML reference for placing the element in page metadata. If the same policy is deliberately supplied through both channels, make sure the values agree and inspect how the combined rules are interpreted.
Check the deployed resource for conflicts
Inventory existing output before adding another directive. A CMS, SEO plugin, reverse proxy or CDN can each add robots instructions, so the editor setting alone may not represent what visitors and crawlers receive.
Google combines conflicting meta tags, HTTP headers and crawler-specific declarations, and the more restrictive rule applies. Inspect the delivered HTML and actual response headers for duplicate or contradictory declarations, including a general robots rule alongside a crawler-specific one. Remove or align rules that express different policies.
Fetch the public URL as the intended crawler can access it, then inspect both the source and headers until a recrawl occurs. Search engines process changes on their own schedule, so immediate removal cannot be assumed. For a repeatable inspection sequence, see How to Check Meta Robots Generator Results After Deploying.
Understand the limits that affect results
Crawl access comes first
A crawler must be allowed to fetch the resource before it can read either metadata form. If robots.txt disallows crawling, Google may never see a noindex rule, and the URL can remain known from external links without the page content being processed. To remove an accessible page from results, permit crawling and serve the directive until the search engine processes it.
Robots metadata is not access control
Noindex and nofollow are crawler directives, not authentication. Anyone who knows the URL can still request the content, and a crawler that ignores the directive can still process it. Sensitive information must be protected with real authentication and authorization.
Preview and timing conditions remain
Preview limits are not universal content-use switches. Specific permission granted through structured data, AMP relationships or licensing can supersede them. Google-specific directives may also be interpreted differently by other engines. The generator produces exact syntax, but it cannot guarantee deindexing, processing time or a particular search-result presentation.