For the complete documentation index, see llms.txt. Every page on this site is also served as Markdown: append `.md` to any URL, or send `Accept: text/markdown`.
Skip to content

Free tool

Page token inspector

The page token inspector counts a page's tokens section by section, the way a retriever sees it once the navigation and scripts are gone. It shows where a cut at the first N tokens would land, so you can see which of your answers a model that reads only the top of the page never reaches. Free, no sign-up.

Check a page

Seconds, on our server · Free, no sign-up

The cut line is a number you choose, not one we measured. No answer engine publishes how much of a page it keeps, and the real figure moves with the product, the model and the query. We start you at 2,000 tokens as a reference point; change it to whatever budget you want to test against.

Give it a page and it extracts the visible text, splits it on headings, and estimates the tokens each section costs at about 4 characters per token. Then it draws the line where a retriever keeping only the first N tokens would stop reading, and tells you which sections sit below it.

The one thing it usually shows first: how far down the page your own content starts, once the nav, the banner and the cookie notice have taken their share.

Your result appears here

Page
Navigation and chrome
First heading
Inside 2,000 tokens
Cut lands in
FAQ starts at

See our own run

Share
Our runattensira.com

Inputattensira.com/guides/ai-search-visibility-guide/passages-that-survive-extraction

Page
about 4,050 tokens, 2,549 words with the navigation
Navigation and chrome
239 tokens, removed
First heading
at token 92
✓ Passes
Inside 2,000 tokens
10 of 15 sections
Cut lands in
“A revision pass you can actually run”
◐ Weak
FAQ starts at
token 2,722, past the cut
◐ Weak
Page token inspector, production, n=1 run ·

What does it count?

  1. Visible text, section by section

    The text a reader sees, split at every heading, in document order. Everything before the first heading is the preamble.

  2. Furniture

    Text inside nav, header, footer and aside, counted separately, because it repeats on every page.

  3. Tokens

    Estimated at about 4 characters per token: the shape of the page, not any one model's tokenizer.

Where does the cut land on one of our own guides?

We ran it on attensira.com/guides/ai-search-visibility-guide/passages-that-survive-extraction with the default 2,000-token reference window.

The answer the page exists for is in its first 290 tokens, so a reader that keeps only the top still gets it. The FAQ, which holds the shortest answers on the page, starts 722 tokens past a 2,000-token cut.

Tokens here are estimated at about four characters each, and 2,000 is a reference point we chose, not a published limit. Change the window and see whether your conclusion changes. If it does, it was not a conclusion.

The run is the result panel at the top of this page. Read on 4 Oct 2026.

How is the token count produced?

The page is fetched once, server-side. Everything inside script, style, noscript, svg, template, head, iframe and canvas is discarded, HTML entities are decoded, and runs of whitespace are collapsed. What survives is the visible text, in document order.

That text is split at every h1 to h6. Everything before the first heading becomes the preamble. On our own pages that is the navigation and whatever sits above the H1, whether or not any of it is inside a nav element. Text that is inside nav, header, footer or aside is counted separately so you can see how much of the budget is spent on furniture that repeats on every page.

Tokens are then estimated at about 4 characters per token, applied to each block of text and summed. That ratio is the common rule of thumb for English prose in byte-pair vocabularies. It is not a measurement of any specific tokenizer, and this tool does not run one.

So these are approximations, and we will not dress them up as anything else. A real tokenizer would give you a precise number for one model and the wrong number for the next. What does not change between tokenizers is the shape: which sections are expensive, how much of the page is furniture, and how far down your answer sits. That shape is what this tool is for. Where the ratio is least fair (text outside the Latin alphabet, which it under-counts) the result says so instead of quietly reporting a low number.

What is the cut line, and what is it not?

The cut line is the number you typed. It is a chosen reference point, not a measured constant, and it is worth being blunt about why: no answer engine publishes how many tokens of a fetched page it keeps before answering. Retrieval budgets differ by product, by model, by query and by how many other documents are competing for the same context. No engine publishes one.

What the tool does with your number is arithmetic, and the arithmetic is honest: it walks the sections in document order, accumulates the estimated tokens, and reports where your number falls. Move the line and everything moves with it. Testing the same page at 800, 2,000 and 8,000 tokens tells you how sensitive the page is to a budget you cannot control, which is more useful than pretending to know the budget.

It also does not know which sentence answers your reader. It reports where the page's content starts and which sections fall below the line. Whether the section that got cut was the one that mattered is a judgement only you can make, so the tool declines to make it for you.

What would the crew move above the cut?

Inside Attensira, pages are drafted answer first: the answer to the question a page is tracked for sits at the top, and the depth follows. Changes reach your site as a pull request or a CMS draft for you to approve. CMS delivery.

CMS draftDraft in your CMS

Move the shortest answers above the first 2,000 tokens

draftwaits for your approval

CMS · guides/…/passages-that-survive-extraction

  1. unchanged: The answer, tokens 0–290: unchanged
  2. added: The three shortest FAQ answers, under the answer
  3. removed: The same three answers at token 2,722, past a 2,000-token cut
Writer agentWriter · would hand you a cms draft like thisExample · the kind of change this finding calls for, not one that shipped

What if your answer is below the line?

  • Move the answer up, before you cut anything. A page that states its answer in the first paragraph survives every budget. Try changing the order before you delete anything.
  • Count what the preamble costs. A mega-menu, an announcement bar and a cookie notice can eat several hundred tokens before the first heading. When they repeat on every page, every page pays for them.
  • Put the furniture in nav, header, footer and aside. Semantic regions are how anything downstream can tell your boilerplate from your body copy. This tool uses exactly that signal.
  • Break long sections with real headings. A 4,000-token section is one indivisible lump: a retriever that cannot fit it either takes an arbitrary prefix or drops it. Headings give it seams to cut along.
  • Check the section the cut lands inside. A section split in half is the one to look at first, because half of it is being read out of context.

Does the token budget matter for being cited?

A model does not read your page the way a person does. Something fetches it, strips it, and hands a bounded slice of the text to the model along with the question. What is in that slice is what can be quoted, summarised or cited. What is outside it may as well not exist for that answer.

That is why the ordering of a page turns out to matter more than its length. A 12,000-token page whose answer is in the first 300 tokens is in better shape than a 2,000-token page that spends 900 tokens on navigation before it says anything. Length is not the problem; spending the beginning of the budget on furniture is.

Questions people ask about token budgets

Is this the same count I get from tiktoken?

No, and it does not try to be. This is a characters-per-token estimate at a ratio of about 4:1, stated on every number it produces. A real byte-pair tokenizer would be exact for one vocabulary and wrong for the next one, and there is no single vocabulary in use across ChatGPT, Claude, Gemini and Perplexity. Expect the right order of magnitude and reliable ratios between sections, not a figure to quote to three digits.

Where does the default cut of 2,000 tokens come from?

From us, as a starting point, and nowhere else. It is not a measured property of any assistant and we are not going to imply otherwise. It exists so the line has somewhere to sit before you move it. If you have your own evidence about the budget your pages face, type that number in instead.

Do you see what ChatGPT or Claude fetched from me?

No. Nothing here observes traffic from any assistant. This tool fetches your page once, itself, because you asked it to. The only record of what crawlers actually requested from your site is your own server logs, which is a different question with a different answer.

The report says my page has almost no tokens. Is it broken?

Probably not. It usually means the page builds its body in the browser with JavaScript, which we do not execute. That is worth knowing rather than working around: a crawler taking the raw HTML sees the same near-empty document. If the content matters for being cited, it needs to be in the HTML that is served.

Should I just make my pages shorter?

Not on this evidence alone. Length is not what this measures; position is. A long page whose answer sits near the top is fine. Cutting a page in half without moving the answer up changes the total and not the problem. Look at where the first heading starts and what falls below the line before deleting anything.

Do you store the pages I inspect?

Not against you. The result is held for about an hour in a shared cache keyed by the URL, so the same URL run again inside that hour is not fetched again. There is no account, no email field and no saved history.

This counts the tokens. Attensira's crew moves the answers up.

7 days free · card required