Free auditStart free
GlossaryGlossary · On-page SEO

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.

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 withChatGPTClaudePerplexityGoogleAI Mode

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
01Check it

What nosnippet covers

According to Google's robots meta tag documentation, nosnippet applies to text snippets and video previews in web search, Google Images, Discover, AI Overviews, and 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. 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">
03Worth 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.

04Check 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. 01Robots meta tag specifications (Google Search Central)developers.google.com · checked 2026-11-01
Questions

Asked a lot.

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

01Does 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.

Free · 2 minutes

Know the term. Now check your site.

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

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly