Start a project

Tool 14 of 194 · AI visibility

Snippet & AI Preview Control Tester

Check which parts of a page Google may quote in snippets and AI Overviews, which it may not, and get the exact tags for the controls you want.

Snippet & AI Preview Control Tester at a glanceIllustration: 1, Robots tags; 2, processed in your browser; 3, What can be quoted.Snippet & AI Preview Control Tester</>1Robots tags3What can be quoted2In yourbrowser
1 Robots tags 2 processed on your device 3 What can be quoted

Snippet & AI Preview Control Tester

Your page

Fetch sends this address to leej.uk, which reads the page and its headers once as LeejTools/1.0 and keeps only a count. Or paste below: pasted text never leaves your device.

What Google may quote

Directives

DirectiverobotsgooglebotbingbotGoogle appliesBing applies

    Want the AI crawler view of your whole site? Run PingAI, which scores how well ChatGPT, Claude, Perplexity, Gemini and Copilot can reach and read it.

    Based on Google's robots meta tag documentation and Bing's webmaster guidelines. Other engines and AI crawlers may treat these differently.

    Plan your controls

    Meta tag
    Or as a header

    01

    What it does

    Reads robots meta tags, X-Robots-Tag headers and data-nosnippet sections per crawler, strikes out what Google won't quote and writes the tags you want.

    • robots, googlebot and bingbot meta tags and X-Robots-Tag headers
    • Most restrictive rule applied, as Google documents
    • data-nosnippet: span, div and section only
    • Quotable vs excluded characters

    02

    Private by design

    Everything you paste or upload stays in your browser. Only when you press Fetch does leej.uk read the address you give, once, as LeejTools/1.0, keeping nothing but a daily count.

    03

    What you get

    Highlighted text, a directive table and tags, with a Copy and a Download button on every result.

    • Snippets
    • AI Overviews
    • Robots meta
    • data-nosnippet

    Why it matters

    Publishers increasingly want control over how much of a page search engines quote, in classic snippets and in AI answers. Google documents a set of controls for this: nosnippet, max-snippet, max-image-preview, max-video-preview and the data-nosnippet attribute, and says nosnippet and max-snippet also govern how much content can be used directly as input for AI Overviews and AI Mode. They combine in ways that are easy to get wrong, and data-nosnippet is ignored on most elements.

    This tester reads every directive on the page and in the headers, for each crawler, applies the most restrictive as Google does, and shows the page text with what can't be quoted struck through. It sticks to what Google and Bing document; it makes no claims about other engines or AI crawlers. When you've decided what you want, the planner writes the tag.

    How it works

    1. InputPage HTML and response headers
    2. In your browserRobots meta, X-Robots-Tag and data-nosnippet combined
    3. OutputWhat Google and Bing may show, and the tags to change it

    Where it fits in a designer's workflow

    1. Plan
    2. Design
    3. Build
    4. Test
    5. Launch
    Controlling snippets and AI previews.

    By the numbers

    How the sample's directives limit what can be quotedVisible text on the sample page: 241 characters; Inside data-nosnippet: 93 characters; Text Google may quote: 148 characters; Longest single snippet (max-snippet): 120 charactersVisible text on the sample page241 charactersInside data-nosnippet93 charactersText Google may quote148 charactersLongest single snippet (max-snippet)120 characters
    Measured by this tool on its sample page. Where robots and googlebot meta tags disagree, Google applies the more restrictive value, so max-snippet:120 wins over 160. Source: Google: robots meta tag.
    Show the numbers as a table
    MeasureCharacters
    Visible text on the sample page241
    Inside data-nosnippet93
    Text Google may quote148
    Longest single snippet (max-snippet)120

    How to use it

    1. Paste the page HTML and headers, or fetch a live page.
    2. Read the highlighted text: struck-through text won't be quoted by Google.
    3. Check the directive table and conflicts.
    4. Use the planner to write the tag you want, and test again.

    FAQ

    Does nosnippet keep my content out of AI Overviews?

    Google's documentation says nosnippet prevents the content being used as a direct input for AI Overviews and AI Mode, and max-snippet limits how much can be. It doesn't remove the page from search.

    Why isn't my data-nosnippet working?

    Google only honours it on span, div and section elements. On a p or li it's ignored. The tester flags those.

    What's the difference between max-snippet:0 and nosnippet?

    None for text: Google treats max-snippet:0 as nosnippet. -1 means no limit.

    Does it apply to ChatGPT or Perplexity?

    Their crawlers aren't covered by these documented controls. Use robots.txt to control them; the robots.txt Tester and PingAI help with that.

    Is anything uploaded?

    Only if you press Fetch: the address, which leej.uk reads once as LeejTools/1.0. Pasted HTML stays on your device.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk