For search snippets and AI answers, Bing supports data-nosnippet.
Bing now supports the data-nosnippet HTML attribute. This lets websites keep certain parts of their pages from showing up in Bing’s search snippets and AI-generated answers.
Highlights
- Websites can choose which parts of Bing Search snippets and Copilot answers to leave out. Tagged content stays indexed and can still rank, but it won’t show up in previews.
- Good for paywalled content, moderating user-generated content, and controlling what AI summaries show
Bing now supports the data-nosnippet HTML attribute, which gives websites more control over what shows up in AI-generated answers and search snippets.
You can use the attribute to keep the page indexed while excluding certain parts of it from Bing Search results and Copilot.
Content marked with data-nosnippet can still rank, but it won’t show up in previews.
What’s New
Data-nosnippet can be used on any HTML element you want to keep from being shown in previews.
When Bing crawls your site, it can find marked sections, but they won’t be in snippet text or AI summaries.
Bing shows some common use cases:
- Don’t show previews of paywalled or premium content.
- Limit how much user comments or reviews show up in AI answers
- Hide legal boilerplate, disclaimers, and cookie notices.
- Stop showing old notices and promotions that have already ended.
- Don’t include sponsored blurbs or affiliate disclaimers in neutral previews.
- To avoid noise in A/B tests, hide the different versions of the copy during the tests.
- Put the most important content in front of the click and keep the sensitive parts behind it.
Putting it into action is easy. Add the property to any item:
<div data-nosnippet>
<h3>Subscriber Content</h3>
<p>This section will not appear in Bing Search or Copilot answers.</p>
</div>
You can check for changes in Bing Webmaster Tools after you add it by using URL inspection. Updates may show up in seconds or take up to a week, depending on when the crawl happens.
How It Stacks Up Against Other Directives
Page-level directives work with data-nosnippet.
- Noindex takes a page out of the index.
- nosnippet stops all text and preview images from showing up.
- max-snippet, max-image-preview, and max-video-preview set the maximum size or length of a preview.
Data-nosnippet, on the other hand, lets you control specific parts of a page instead of the whole thing.
Why is this important?
You can keep subscriber-only sections out of previews if you run a subscription site and still have them indexed.
You can keep comments or reviews from showing up in AI summaries for pages with user-generated content while still showing your own writing.
In short, it lets websites keep their ranking potential by leaving out certain parts of search snippets.
Looking Forward
The attribute is now available. Think about adding it to pages where preview control is most important, and then check the behavior in Bing Webmaster Tools.