Home/SEO/Meta Robots Tag Generator

Meta Robots Tag Generator

Build meta robots tags with snippet, image and expiry controls — and see exactly which conflicts would make Google ignore what you intended.

Free Browser-based No signup Copy-ready
Generator Settings
A bot-specific tag overrides the generic robots tag for that bot only.
Indexing directives
Snippet & preview controls
Google drops the page from results after this moment. Ideal for events, job listings and limited offers.
Output
Generated Tag ready
<head> snippet

      
Place the tag inside <head>. Tags injected by JavaScript after load are honoured by Google but may be missed by other crawlers — render it server-side when it matters.

How it works

1

Choose a scenario

Start from a preset like “Hide from search” or “News & media”, then adjust individual directives.

2

Check the effect table

See in plain language whether snippets, thumbnails and Discover eligibility survive your combination.

3

Paste into

Copy the tag, or grab the framework snippet for Next.js, WordPress or React.

Meta robots, robots.txt and X-Robots-Tag — which one to reach for

These three mechanisms look interchangeable and are not. Choosing wrong is the single most common cause of “I added noindex and the page is still in Google”.

robots.txt

Controls crawling. It stops a bot fetching the URL — which also stops it seeing any meta tag on that page. A blocked URL can still appear in results as a bare link.

Meta robots

Controls indexing for a single HTML page. Requires the page to be crawlable. This is the correct tool for “keep it off Google but let crawlers walk its links”.

X-Robots-Tag

Same directives as an HTTP response header. The only option for non-HTML files — PDFs, images, feeds — and the easiest way to apply rules across whole directories at the server.

The classic mistake: adding noindex to a page and simultaneously blocking it in robots.txt. Googlebot never fetches the page, never reads the tag, and the URL stays indexed indefinitely. Let it crawl, and let the tag do its job.
max-image-preview:large is not cosmetic — it is a hard requirement for Google Discover and Top Stories. Many publishers lose those surfaces without realising a restrictive default is the cause.

Frequently Asked Questions

View all FAQs
Where does the meta robots tag go?
Place it in the HTML document, normally inside the <head> section.
Does noindex remove a page immediately?
Not necessarily. A search engine must recrawl the page and process the directive before its index can update.
Can a robots.txt disallow replace noindex?
No. They serve different purposes. Robots.txt controls crawling; noindex controls inclusion in search results when the crawler can read the directive.
Should every page have index, follow?
No. It is generally the default behavior and usually does not need to be written explicitly.
Can I use meta robots on a PDF?
Use an X-Robots-Tag HTTP header for non-HTML resources such as PDFs.
Does nosnippet affect Google AI features?
Google states that nosnippet also prevents page content from being used as a direct input for AI Overviews and AI Mode.
Can I generate the tag for free?
Yes. Select the directives above, review the explanation and copy the generated tag into your page.

Meta Robots Tag Generator – Control Indexing and Search Previews

Use the Meta Robots Tag Generator above to create a correct robots meta tag without memorizing every directive. Choose whether a page should be indexed, decide how links and previews should be handled, set snippet limits if needed, then copy the generated HTML into your page.

A robots meta tag gives crawlers page-level instructions about indexing and search presentation, including noindex, nofollow, snippet restrictions, image previews, video previews and expiring pages. A wrong directive can remove an important page from search, so configure it deliberately.

What Is a Meta Robots Tag?

A meta robots tag is an HTML meta element that communicates indexing and serving directives to compatible search crawlers.

Example:

<meta name="robots" content="noindex, nofollow">

The tag is normally placed in the HTML <head>.

The name="robots" value applies the instructions to crawlers that support the robots meta tag.

You can also target supported crawler tokens in specific situations, such as googlebot.

Meta robots rules are different from robots.txt rules. Robots.txt mainly controls crawling. Meta robots directives can control indexing and how a crawled page is presented in search.

How to Use This Meta Robots Tag Generator

Start with the scenario that matches the page.

Choose normal indexing for an ordinary public page that should appear in search.

Choose a noindex scenario for a page that search engines can crawl but should not include in results.

Then configure optional snippet and preview controls.

The tool can generate directives such as:

  • noindex
  • nofollow
  • nosnippet
  • max-snippet
  • max-image-preview
  • max-video-preview
  • noimageindex
  • notranslate
  • unavailable_after

Review the explanation before copying the result.

If the target is a PDF, image, document or another non-HTML resource, use the X-Robots-Tag Generator instead of an HTML meta tag.

Index vs Noindex

index means the page may be indexed.

noindex tells supporting search engines not to show the page in search results.

Example:

<meta name="robots" content="noindex">

You might use noindex for:

  • Internal search-result pages
  • Account or utility pages
  • Certain thin system pages
  • Duplicate pages that cannot be consolidated another way
  • Temporary campaign pages after they are no longer useful in search
  • Staging-like public pages that cannot be access-restricted

Do not use noindex on valuable pages you expect to rank.

Also do not place noindex on a page and then block that page in robots.txt before the crawler can read the tag. If the crawler cannot fetch the page, it may never see the noindex directive.

Follow vs Nofollow

nofollow tells supporting crawlers not to follow links on the page.

It does not mean the page itself is noindexed.

Example:

<meta name="robots" content="nofollow">

Most normal pages do not need page-wide nofollow. If only specific links need qualification, handle those links individually.

A common combination is:

noindex, nofollow

But do not apply that combination automatically. A noindexed page can still contain links that you may want crawlers to discover.

Choose each instruction based on the actual purpose of the page.

What Does nosnippet Do?

nosnippet tells Google not to show a text snippet or video preview for the page in search results.

A static image thumbnail may still be possible in some contexts.

This is a strong restriction.

Google also applies nosnippet to direct use of that page’s content as input for AI Overviews and AI Mode.

That makes nosnippet more significant than simply shortening a traditional blue-link description.

Use it only when you genuinely do not want content from the page presented as a search snippet.

What Is max-snippet?

max-snippet lets you set the maximum number of characters Google may use for a textual snippet.

Example:

max-snippet:160

Special values include:

  • 0 – equivalent to nosnippet
  • -1 – no explicit character limit; Google can choose an appropriate snippet length

Do not confuse max-snippet with your meta description length.

A meta description is a potential source for the search snippet. Google can also generate snippets from visible page content.

Max-snippet is an instruction about the amount of text that may be shown or directly used in supported search features.

What Is max-image-preview?

max-image-preview controls the maximum image preview size that may be shown for a page.

Supported values include:

  • none
  • standard
  • large

Allowing large previews can be useful for content where strong imagery improves discovery, such as articles, recipes, travel pages or visual guides.

Choose a more restrictive value only when you have a reason to limit image previews.

This directive is about search presentation. It is not an image copyright or download-control system.

What Is max-video-preview?

max-video-preview limits the number of seconds that may be shown as a video preview.

A value of 0 can limit the result to a static image where permitted.

A value of -1 means there is no specified maximum.

This control is useful for pages where video content is important but you want to influence how much preview material can appear directly in search.

It does not prevent the video file itself from being accessed if it is otherwise public.

What Does noimageindex Do?

noimageindex tells Google not to index images on the page.

Use it carefully.

If your images are important for Google Images or visual discovery, applying this directive can work against that goal.

Also distinguish between preventing a specific page’s images from being indexed and controlling indexing for a standalone image resource.

For response-level control of non-HTML files, X-Robots-Tag may be the better tool.

What Is unavailable_after?

unavailable_after tells Google not to show a page in search results after a specified date and time.

It can be useful for content with a clear expiration point, such as:

  • Job openings
  • Limited-time offers
  • Temporary event pages
  • Registration pages
  • Short-lived announcements

The date must be valid and correctly formatted.

Do not use unavailable_after simply because an article is old. Evergreen content can continue to rank and serve users for years.

This directive is for content that should stop appearing after a genuine deadline.

Meta Robots vs Robots.txt

These are not interchangeable.

Robots.txt answers a crawling question:

“May this crawler request this URL?”

Meta robots answers indexing and presentation questions after a crawler accesses the page:

“May this page appear in search, and how may its content be shown?”

If a page is blocked by robots.txt, a crawler may not be able to read the meta robots tag.

That is why blocking a page in robots.txt while also adding noindex can be counterproductive when your goal is deindexing.

Use the AI Crawler Robots.txt Generator for crawler-access rules and this tool for page-level indexing directives.

Meta Robots vs Canonical Tag

Canonical and noindex solve different problems. Use canonical for duplicate or very similar accessible URLs when you want to signal a preferred version. Use noindex when a page should not appear in search results.

Do not routinely noindex every duplicate page when canonicalization would better preserve the content relationship and consolidate signals.

The Canonical Tag Generator can help create the correct canonical element. For language and region variants, see the Hreflang Tag Generator.

Meta Robots vs X-Robots-Tag

Meta robots is embedded in HTML.

X-Robots-Tag is sent in an HTTP response header.

The header is especially useful for non-HTML resources such as:

  • PDF files
  • Images
  • Video files
  • Documents
  • Generated downloads

Choose the mechanism that matches the resource you control.

Conflicting Robots Directives

When multiple supported robots rules conflict, Google generally applies the more restrictive outcome.

For example, if one instruction allows a snippet but another says nosnippet, the restrictive rule wins.

Conflicts can come from:

  • Duplicate meta tags
  • CMS settings
  • SEO plugins
  • Framework metadata
  • HTTP X-Robots-Tag headers
  • Template code

If a page behaves unexpectedly, inspect both the rendered HTML and HTTP headers.

Common Meta Robots Mistakes

The most damaging mistake is accidentally placing noindex on an important page.

Other common problems include blocking a noindexed page in robots.txt, using nofollow site-wide, setting conflicting directives, forgetting an old unavailable_after date and applying noimageindex to image-driven content.

Another mistake is using noindex instead of fixing canonicalization, faceted navigation or poor site architecture.

The tag should support a clear indexing strategy, not hide technical problems.

Related searches

meta robots tag generatornoindex nofollowmeta robots noindexmeta name robots contentmax-snippetmax-image-previewmax-video-previewunavailable_afternosnippet ai overviewsmeta robots vs robots.txtnoimageindexstop page being indexed