# nosnippet

> The nosnippet rule stops Google showing a text snippet or video preview for a page. What it covers, how it differs from data-nosnippet and max-snippet, plus a check.

Canonical: https://scaplet.com/glossary/nosnippet

Glossary Glossary · On-page SEO

The nosnippet rule stops Google showing a text snippet or video preview for a page. What it covers, how it differs from data-nosnippet and max-snippet, plus a check.

2 min

read

1

sources

Nov 1, 2026

updated

Scaplet Editorial Team

author

In one line

nosnippet is a robots rule that tells Google not to show a text snippet or video preview for a page in search results. A static image thumbnail can still appear if it improves the experience. To exclude only parts of a page, use the data-nosnippet attribute instead.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fnosnippet%20(%22nosnippet%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fnosnippet%20(%22nosnippet%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fnosnippet%20(%22nosnippet%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fnosnippet%20(%22nosnippet%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

## At a glance

4 facts from the sources below

Whole page

Scope

Meta tag or X-Robots-Tag header

Set as

data-nosnippet attribute

Partial version

A static image thumbnail

Still allowed

_01_Check it

## What nosnippet covers

According to Google's [robots meta tag](/glossary/robots-meta-tag) documentation, `nosnippet` applies to text snippets and video previews in web search, Google Images, Discover, [AI Overviews](/glossary/ai-overviews), and [AI Mode](/glossary/ai-mode). It also stops the page's content from being used as direct input for AI Overviews and AI Mode. Without a rule, Google may generate its own snippet and video preview.

The same rule works as an HTTP response header, which is how you apply it to PDFs and other non-HTML files. See [X-Robots-Tag](/glossary/x-robots-tag). The page stays indexable: `nosnippet` doesn't remove it from results, it changes what the result shows.

Page-level, in the head

```
<meta name="robots" content="nosnippet">
```

_02_At a glance

## Pick the right snippet control

Control

### `nosnippet`

Scope

Whole page

Effect

No text snippet or video preview

Control

### `data-nosnippet`

Scope

One `span`, `div` or `section`

Effect

That text is left out of snippets, the rest can be used

Control

### `max-snippet:[number]`

Scope

Whole page

Effect

Caps the snippet length instead of removing it. See [max-snippet](/glossary/max-snippet)

Control

### `noindex`

Scope

Whole page

Effect

Page is kept out of results entirely

Hide one block, keep the page snippet

```
<p>This sentence can appear in a snippet.</p> <div data-nosnippet>Pricing details we don't want excerpted.</div>
```

_03_Worth knowing

## Gotchas with data-nosnippet

### Valid elements only

It works on `span`, `div` and `section`. Custom or other elements aren't valid for it.

### It's boolean

Any value is ignored, so `data-nosnippet="false"` still excludes the content.

### Close your tags

The HTML must be valid. An unclosed element can cause all following content to be excluded.

### Don't toggle it with JavaScript

Google may extract content before or after rendering, so include the attribute when you first insert dynamic elements.

### Structured data survives

Structured data inside a `data-nosnippet` element remains usable for search results.

**A blocked snippet can cost clicks**A result with no snippet gives searchers less to judge, so use `nosnippet` where excerpting is a real problem, such as paywalled or licensed text. If you only want a shorter excerpt, a `max-snippet` value is the narrower tool.

_04_Check it

## Check it in 2 minutes

Swap in your own URL. The first command prints any `robots` meta tags, and the second prints the header form. Check both, because a rule can sit in either place. In Search Console, the URL Inspection tool shows the rendered page Google used.

Find robots rules in the HTML and headers

```
U=https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag curl -s $U | grep -o -i 'name="robots" content="[a-z:0-9-]*"' | sort -u curl -sI $U | grep -i '^x-robots-tag' || echo 'no X-Robots-Tag header'
```

Sources · 1

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com

1. 01 [Robots meta tag specifications (Google Search Central)](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag) developers.google.com · checked 2026-11-01

Questions

## Asked a lot.

1 questions people ask next, answered from the sources on this page.

_01_ Does nosnippet also remove my page from AI Overviews?

Google's documentation says nosnippet stops text snippets and video previews in AI Overviews and AI Mode and stops the content being used as direct input for them. It doesn't deindex the page. Use noindex if you want the page out of results.

## Keep learning

[All glossary](/glossary)

[Learn max-snippet On-page SEO](/glossary/max-snippet) [Related AI Overviews AI search](/glossary/ai-overviews) [Read next Robots meta tag Crawling and indexing](/glossary/robots-meta-tag) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Non-branded search](/glossary/non-branded-search) [North star metric](/glossary/north-star-metric) [Net Promoter Score (NPS)](/glossary/nps) [Off-page SEO](/glossary/off-page-seo)

More in On-page SEO
[H1 tag](/glossary/h1-tag) [Heading tags](/glossary/heading-tags) [Image SEO](/glossary/image-seo) [Image sitemap](/glossary/image-sitemap) [Internal links](/glossary/internal-links) [Keyword density](/glossary/keyword-density) [Keyword stuffing](/glossary/keyword-stuffing) [Knowledge Panel](/glossary/knowledge-panel) [max-snippet](/glossary/max-snippet) [Mega menu](/glossary/mega-menu) [Meta description](/glossary/meta-description) [Meta keywords](/glossary/meta-keywords) [nosnippet](/glossary/nosnippet) [OG image (og:image)](/glossary/og-image) [On-page SEO](/glossary/on-page-seo) [Open Graph](/glossary/open-graph) [People Also Ask](/glossary/people-also-ask) [Rich results](/glossary/rich-results) [Search snippet](/glossary/snippet) [Semantic HTML](/glossary/semantic-html) [SERP](/glossary/serp) [SERP features](/glossary/serp-features) [Sitelinks](/glossary/sitelinks) [Thin content](/glossary/thin-content)

Terms on this page
[Robots meta tag](/glossary/robots-meta-tag) [AI Overviews](/glossary/ai-overviews) [AI Mode](/glossary/ai-mode) [X-Robots-Tag](/glossary/x-robots-tag) [max-snippet](/glossary/max-snippet)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
