Correct meta robots output comes from matching a conflict-free directive set to the resource, delivering it through the correct channel, and verifying what the crawler can actually fetch. Valid syntax alone does not confirm the intended indexing behavior.
When using a meta robots tag generator, start with the resource policy rather than the available toggles. Decide which crawler should receive the rule, whether the resource should be indexed, how its links should be handled, and which preview limits apply. The Meta Robots Generator creates a page-level HTML meta element and an equivalent X-Robots-Tag response header from one validated choice set. Generation is entirely local, so the output can be copied without contacting a search service.
Correct deployment also requires crawl access. A crawler must fetch the resource before it can read either form. If robots.txt disallows the crawl, Google may never see a noindex rule; the URL can remain known from external links without the page content being processed. Google’s robots meta tag specifications explain how these directives are interpreted.

What makes a robots directive correct
Treat correctness as a chain of checks rather than one generated string:
- Scope: The rule reaches the intended crawler without relying on unsupported crawler names.
- Intent: Every selected directive represents a deliberate indexing, following, or presentation decision.
- Validation: Conflicting choices and unsupported numeric values are resolved before deployment.
- Delivery: The rule appears in the response channel the intended crawler can read.
| Directive or control | What it requests | Important limitation |
|---|---|---|
| index and follow | Normal indexing and link following. | They do not guarantee a particular result or presentation. |
| noindex | The page or resource should not appear in search results. | The resource must remain crawlable so Google can read the directive. |
| nofollow | Links on the page should not be followed. | It is a crawler instruction, not an access-control mechanism. |
| nosnippet | Google should not show a text snippet or video preview. | It also prevents page content from serving as direct input for AI Overviews and AI Mode, although a static image thumbnail may still appear. |
| max-snippet | A numerical limit on textual snippet characters. | Only -1 or a non-negative whole number is accepted. Zero is equivalent to no snippet; -1 lets Google choose an effective length. It cannot be combined with nosnippet. |
| max-video-preview | A preview duration measured in seconds. | Zero permits at most a static image under the image rule, while -1 sets no duration limit. Non-integers and values below -1 are rejected. |
| max-image-preview | Controls image preview behavior. | The supported settings are none, standard, and large. Large permits a larger preview up to viewport width. |
| notranslate | Google should not offer a translated title and snippet. | Other engines may interpret the request differently. |
| noimageindex | Images on the page should not be indexed. | It concerns image indexing rather than the page’s general index status. |
| indexifembedded | Content may be indexed when embedded through an iframe or similar element despite noindex. | It has an effect only when accompanied by noindex. |
Do not assume every familiar robots directive remains useful. The generator deliberately omits noarchive because Google lists it as historical and unused after the cached-link feature disappeared. It also omits unavailable_after because correct date-time formatting, time zones, and publication workflows require more context than a generic form should guess.
Select the crawler and resource policy
The generator supports three target choices, and each one changes the exact output:
- General search crawlers: The HTML element uses the name robots, and the X-Robots-Tag header is unqualified.
- Googlebot for text results: The HTML element uses the name googlebot, and the HTTP header value is prefixed with googlebot:.
- Googlebot News: The HTML element uses the name googlebot-news, and the HTTP header value is prefixed with googlebot-news:.
Other crawler names and vendor-specific behavior fall outside this focused interface. Choose the narrowest target required by the policy, and account for existing declarations when a page already contains crawler-specific rules. Multiple meta tags, response headers, or crawler-specific declarations are interpreted as combined restrictions, with the more restrictive rule applying.
Generate and deploy a validated rule
Use this workflow to move from policy to a rule that can be reviewed at every stage:
- Define the intended outcome. Write down the crawler, indexing choice, link-following choice, and preview requirements for that specific resource. If the goal is to remove an accessible page from results, plan to allow crawling and serve noindex rather than blocking the crawler.
- Choose the crawler target. Select general crawlers, Googlebot text results, or Googlebot News. Confirm that this target matches the pages or resources affected by the policy instead of selecting a broader target by habit.
- Add only relevant restrictions. Choose index or noindex, follow or nofollow, and any required snippet, video, image, translation, image-indexing, or embedded-content controls. Leave out options that do not represent an intended requirement.
- Resolve validation conditions. The generator refuses to emit nosnippet together with max-snippet. It also requires noindex before showing output for indexifembedded. Numeric snippet and video-preview limits accept -1 or a non-negative whole number, while malformed values are rejected rather than copied into a rule that Google would ignore.
- Generate and copy the exact output. The selected options are serialized in a stable order as HTML metadata and an optional crawler-qualified HTTP header. Copy the generated syntax rather than hand-editing it or adding unrelated directives.
- Deploy it through the correct channel. Put the meta element in the document head of an HTML page you control. Configure the X-Robots-Tag header in the web server, application, or CDN for a response header. Pasting displayed header text into page content has no effect.
- Inventory existing directives. A CMS, SEO plugin, reverse proxy, or CDN can each add robots rules. Compare the new output with every delivered tag and header, and account for duplicate or conflicting declarations under the more-restrictive-rule rule.
- Keep the URL fetchable and verify it. Fetch the public URL as the intended crawler can access it, inspect the public source or actual response headers, and confirm that the directive is present without a contradictory declaration. Recheck after recrawling occurs.
Match the output to the resource
The correct delivery method depends on the resource and which part of the publishing stack you control:
| Resource or deployment context | Appropriate format | Reason |
|---|---|---|
| HTML page with editable head markup | HTML meta element | The directive can travel with the page and be inspected in its public source. |
| PDF, image, video, or another non-HTML resource | X-Robots-Tag header | The response header carries the rule when an HTML meta element is unsuitable. |
| Application with a central response policy | X-Robots-Tag header | Header management can apply the rule reliably across responses. |
| Server, reverse proxy, or CDN-managed delivery | X-Robots-Tag header | The directive must be present in the response path that serves the public resource. |
An X-Robots-Tag value must be configured as an HTTP response header by the web server, application, or CDN; visible text inside a page does not create that header. For HTML markup, the WHATWG meta element specification defines the structural requirements for the element itself.
Audit the delivered source and headers
Most deployment errors appear only when the complete public response is inspected. Use this audit after publishing:
- Fetch the public URL under crawler-accessible conditions. If robots.txt blocks the resource, correct that access problem so Google can discover the noindex directive.
- Inspect the public source for meta elements. Look for duplicate robots, googlebot, or googlebot-news declarations and check whether another rule changes the intended restriction.
- Inspect the actual response headers. Do not rely only on a CMS field or editor preview; verify the headers delivered by the production server or CDN.
- Trace every rule source. Account for CMS templates, SEO plugins, reverse proxies, CDNs, and other middleware that may inject directives.
- Compare the combined rules. Conflicting restrictions are not resolved by whichever declaration appears last. The more restrictive rule applies.
- Check again after recrawling. Search engines process changes on their own schedule, so the deployed response can be correct before the search results change.
A repeatable post-deployment verification checklist can help separate markup delivery, header delivery, crawl access, and directive conflicts.
Understand the limits of generated rules
Robots metadata controls crawler behavior; it does not control access to a resource. Anyone who knows the URL can still request an accessible page, and a crawler that ignores the directive can still process it. Sensitive information requires authentication and authorization rather than noindex.
Preview controls are also not universal content-use switches. Separately granted permission through structured data, AMP relationships, or licensing can supersede a generated limit. The generator can express the selected request, but it cannot override every broader content permission.
Most importantly, the tool produces exact syntax, not a guarantee of deindexing, processing time, or a particular search-result presentation. Google-specific directives may also be interpreted differently by other engines. The reliable standard is therefore simple: choose a supported target, use a conflict-free policy, deliver the rule where the crawler can read it, and verify the live response.
For a deeper look, see Can I Disable Mobile Zoom With a Viewport Meta Tag?.