What is data-nosnippet?.
"data-nosnippet", an attribute for search engines
Guide contents 4 sections
●Brief01.data-nosnippet02.When to use data-nosnippet?03.data-nosnippet: common problemsWhat the data-nosnippet attribute is, when to use it to keep parts of your text out of Google snippets and which mistakes to avoid so you don’t hide important content.
data-nosnippet
“data-nosnippet” is an attribute you can add to certain HTML elements (span, div and section) to indicate that their content should not be used as a snippet (or preview) in search results.
For example, consider the following HTML:
<span data-nosnippet>Information not to show in the SERP.</span>
The attribute should be seen as a hint rather than a directive for search engines, although Google usually respects it.
When to use data-nosnippet?
The attribute can be useful in several scenarios. Here are the most common:
- To stop your phone number or email address from appearing in search results.
- To stop login forms or other sensitive information from appearing in search results.
- To stop duplicate product descriptions from appearing in search results.
- To stop script-generated text from appearing in search engine results pages (SERPs).
- To stop text that isn’t relevant to the page, such as a copyright notice or a navigation bar, from appearing in the SERPs.
If you’re not sure whether to use the data-nosnippet attribute, proceed with caution.
From an SEO point of view, data-nosnippet can have an impact in these cases:
- Higher CTR: the snippets shown in the SERPs can strongly influence a user’s decision to click. By controlling which parts of your content are shown (or not) with the snippet exclusion attribute, you can potentially influence your pages’ CTR. An appealing snippet can increase CTR, while a poorly chosen or confusing one could reduce it.
- Lower bounce rate: with data-nosnippet you can keep irrelevant or misleading information out of the snippet. This helps ensure that users who click your link find what they expect, improving satisfaction and potentially reducing bounce rates.
- Data protection: in some cases there may be sensitive or private information you don’t want in the search preview but that is still on the page for visitors. data-nosnippet can help keep that information out of search results.
- Brand awareness control.
Although data-nosnippet doesn’t directly affect a page’s ranking, it can change how content is presented in the SERP, which may influence user behaviour and therefore CTR and ROI.
data-nosnippet: common problems
- Incorrect implementation of data-nosnippet
Sometimes the data-nosnippet attribute is applied by mistake to important sections of content, which can leave valuable information out of search snippets. Review your site’s content regularly, especially key landing pages, to make sure the snippet exclusion attribute is only applied where needed.
- Overusing data-nosnippet
Using data-nosnippet too often or too widely can make it hard for search engines to generate meaningful snippets for your content. This can lead to generic or less compelling search previews.
Only use data-nosnippet for content you really don’t want in search snippets. Avoid applying it to large sections or whole pages unless it is absolutely necessary.
Test and monitor your search snippets regularly to make sure they stay relevant and engaging.
- Blocking crucial content by mistake
There may be cases where content marked with data-nosnippet turns out to be essential for search engines to understand the page, with a possible impact on rankings.
Use tools such as Google Search Console to monitor query performance and page rankings. If you see a drop in performance for certain pages, review your use of data-nosnippet and make sure you aren’t unintentionally hiding essential content from search engines.
Given the attribute’s impact, an online tool called SiteChecker can help you validate quickly and efficiently that it has been implemented correctly. This ensures that your search result presentations are optimised for both user experience and content accuracy.
Questions about What is data-nosnippet?
These guides come from real projects. If something in your crawl doesn’t add up, or you want to apply this process to your site, get in touch.

