Robots Meta Tag Generator

Generate correct robots meta tags with indexing, follow and snippet controls.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

The Robots Meta Tag Generator builds the correct <meta name="robots"> tag — and optional per-bot variants — for any page. Instead of memorising directive names and worrying about syntax, you pick the settings you want and copy the finished HTML directly into your page head. The effect summary panel shows you at a glance what each configuration means for indexing, link-following, cached copies, snippets, image previews and translation.

How it works

A robots meta tag is read by every major crawler after it fetches a page. The tag is a comma-separated list of directives inside a content attribute:

<meta name="robots" content="index, follow" />

This generator assembles the directive list from your selections and escapes every value correctly — no risk of unquoted characters breaking your markup.

The primary robots tag applies to all crawlers. If you need a specific crawler (say googlebot) to behave differently, you add a per-bot tag with the bot name as the name attribute; the more-specific rule takes precedence for that crawler while all others still follow the generic tag.

Directive reference

DirectiveEffect
index / noindexWhether to list the page in search results
follow / nofollowWhether to crawl the links on the page
noarchiveSuppress the cached-copy link in results
nosnippetShow no text or video snippet in results
max-snippet:NCap snippet length at N characters (-1 = unlimited, 0 = none)
max-image-preview:SIZELimit thumbnail size (none / standard / large)
max-video-preview:NCap video preview length in seconds (-1 = unlimited)
notranslateSuppress Google’s offer to translate the page
noodpDo not use ODP/DMOZ description (legacy, mostly obsolete)
unavailable_after: DATETreat page as noindex after the given ISO 8601 datetime

Worked example

Suppose you run a legal-terms page that must be crawlable (so links work) but should never appear as a search result and must not be cached:

  1. Set indexing to noindex
  2. Set following to follow (links on the page may still pass PageRank)
  3. Tick noarchive

The generator produces:

<meta name="robots" content="noindex, follow, noarchive" />

Or imagine a news article you want fully indexed with the largest possible Google snippet and a large image preview:

  1. Keep indexing as index, following as follow
  2. Set text snippet to max-snippet:-1
  3. Set image preview to max-image-preview:large

Result:

<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large" />

Formula note

There is no mathematical formula here — the tag is purely declarative. The generator’s job is accurate syntax and completeness. Every value is HTML-escaped so characters like &, ", < and > cannot break the surrounding markup, and the effect-summary badges give you an instant human-readable confirmation of what you have configured before you copy.

FAQs

See the six questions below for common situations including the difference between robots.txt and the meta tag, how to use nofollow correctly, what max-snippet does, and when per-bot directives are worth adding.

Ad placeholder (rectangle)