Meta Robots Tag Generator

Draft a robots meta tag or X-Robots-Tag from selected indexing and snippet rules.

Inputs stay on your device No sign-up Free to use
How this works

The tool runs in this browser. Your file or text is not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Privacy details

Build robots tags controls

More options

Used only when Text snippet is set to a maximum length.

Processed in your browser. Your inputs stay on this device.

Showing a generated example. Generate again for a new result.

How to use Meta Robots Tag Generator

  1. Choose whether indexing or following links should be restricted. The defaults need no tag.
  2. Pick a text-snippet rule and set a maximum only when that rule is selected.
  3. Choose all search crawlers or Googlebot, then choose HTML meta tag or X-Robots-Tag header.
  4. Copy the code into the page head or server response and inspect the published response.

Example: Meta Robots Tag Generator

Request that a public draft page stay out of search results.

You add
Search indexing: Request noindex; Following page links: Allow following; Text snippet: Search engine default; Crawler: All search crawlers; Output: HTML meta tag.
You get
<meta name="robots" content="noindex"> and a reminder that crawlers need access to read it.

Supported inputs and limits

This builder supports noindex, nofollow, nosnippet and max-snippet from 0 to 1,000 characters, targeted to robots or Googlebot. It does not inspect your website or guarantee how every crawler will interpret the directive. A robots.txt Disallow can prevent a crawler from seeing a noindex tag. The X-Robots-Tag must be configured on the HTTP response; copying a header line into page HTML does not work.

Where your input is processed

This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Place the rule where a crawler can read it

A robots meta tag belongs in an HTML response, while an X-Robots-Tag belongs in an HTTP response header. Google documents both forms and notes that restrictive rules only work after its crawler can reach the URL. Search engines can differ, so check the published response and the crawler-specific documentation when a rule is important.

Google Search Central: Robots meta and X-Robots-Tag specifications

Questions about Meta Robots Tag Generator

Do I need an index, follow tag?

No. Those are the usual default behaviors; the tool says no tag is needed when no restriction is selected.

Will noindex work on a page blocked by robots.txt?

A crawler must fetch the page to read the directive. Allow crawling and put noindex in the page or response if indexing is what you need to control.

When should I use X-Robots-Tag?

Use the response header when you need a robots rule for a non-HTML resource, such as a PDF, or when your server manages rules centrally.

Does Googlebot-only affect all search engines?

No. It targets Googlebot. Choose the general robots name when you want to address search crawlers more broadly, then test your actual setup.

Project manager: Tony Hines · Content updated 29 September 2026 · Report a problem