Dev.to AI πŸ€– Ai πŸ‘ 3 πŸ“– 7 min read

I Asked 298 AI Tool Homepages for Markdown. 27 Sent It, 35 Sent an Error (Dec 2026)

Key finding: On December 1, 2026, I asked 298 AI tool homepages for Markdown with the header Accept: text/markdown. 27 sent Markdown, 229 sent their usual HTML, and 35 sent an error, 21 of them a 500. Thirty-three of tho

Key finding: On December 1, 2026, I asked 298 AI tool homepages for Markdown with the header Accept: text/markdown. 27 sent Markdown, 229 sent their usual HTML, and 35 sent an error, 21 of them a 500. Thirty-three of those 35 publish a valid-looking llms.txt, so the sites that prepared for AI agents in one file break when an agent asks for their homepage in the format that file promotes.

I run aiagentsinfo.com, the research lab and directory for AI agents. Most advice on making a site usable by agents stops at robots.txt and llms.txt. This test looks at the next layer: what happens when a client tells your server, through ordinary HTTP content negotiation, that it would rather read Markdown than HTML.

Research question: how many AI tool sites and developer documentation sites answer Accept: text/markdown with Markdown today, how much smaller is the answer, and what do the rest return?

How did I run the test?

Two GET requests per URL, identical except for the Accept header, from one network on December 1 between 8:39 and 8:42 AM ET.

  • AI tool homepages (298): a seeded random sample (random.seed(12011900)) of 300 of the 918 listing URLs in the sitemap of the AI agent directory, which lists 1,316 tools today. Two listings had no official link, leaving 298.
  • Docs sites (26): a fixed list I wrote before fetching: AI vendors (Anthropic, OpenAI, Google, Perplexity, Mistral, Cohere), agent frameworks (LangChain, CrewAI, MCP), and general developer docs (Stripe, GitHub, Vercel, MDN, Python and others).
  • Requests: Accept: text/markdown and a browser-style Accept: text/html,..., both with the same honest research user agent. I counted tokens with tiktoken's o200k_base encoding.
  • Rechecks: every error was re-requested with four other Accept values a minute later. Separately, I fetched /llms.txt from each host with the same Accept header the site's llms.txt checker sends, and counted a file as basic-valid if it returned 200, a text or Markdown content type, and a first line starting with #.

Limitations: this is one snapshot of homepages only, and deeper pages may behave differently. The docs list is hand-picked, not random. My basic llms.txt rule is the validator's first check, not the full check. Docs sites that keep llms.txt under a subpath such as /docs/llms.txt can fail it at the host root.

How many sites answer an agent's request for Markdown?

Twenty of 26 documentation sites do. Among AI tool homepages, 27 of 298 do.

Accept: text/markdown result (Dec 1, 2026, 8:39–8:42 AM ET) AI tool homepages Docs sites
Sent text/markdown 27 (9.1%) 20 (76.9%)
Sent the same HTML as a browser gets 229 6
Sent 500, while HTML request got 200 21 0
Sent 406, while HTML request got 200 14 0
403 bot wall to both requests 4 0
TLS error on the Markdown request 2 (1 recovered on recheck) 0
202 with an empty body to both (amazon.com) 1 0
Total 298 26

The six docs sites that ignored the header were Mistral, Hugging Face, Supabase, MDN, Astro and the Python docs. The 20 that answered include Anthropic, OpenAI's developer docs, Google's Gemini API docs, Stripe, GitHub, Vercel, Next.js, LangChain, CrewAI, the Model Context Protocol site, Microsoft Learn and AWS. My own site is in the HTML column: both aiagentsinfo.com pages I tested returned the same HTML either way.

How much smaller is the Markdown?

Usually 94% to 99% smaller in tokens, which is the whole argument for serving it.

Median, sites that served Markdown Markdown tokens HTML tokens Median per-site ratio
Docs sites (20) 1,415 83,419 1.5%
AI tool homepages (27) 3,724 78,137 6.0%

Across the 20 docs pages, the Markdown totaled 53,945 tokens and the HTML 2,114,957. One homepage went the other way: its HTML was a 1,128-token shell, and the Markdown version, at 4,678 tokens, carried the actual content.

Two header details matter if you put a CDN in front of this. Vary: Accept stops a shared cache from handing the Markdown version to a browser, and 4 of the 47 Markdown responses didn't send it: the Perplexity docs, the MCP site, a Microsoft Learn page and one homepage. Seven homepages also sent an x-markdown-tokens header with a token estimate. Seventeen of the 27 homepages answered through Cloudflare, whose Markdown for Agents documentation describes converting HTML at the edge when a request asks for text/markdown (Pro plans and above, per the page as last updated November 25, 2026).

What did the 35 failing sites send back?

The same 49-byte JSON body, from every one of them: {"error":"Only HTML requests are supported here"}.

The servers varied (Cloudflare, nginx, Vercel), so this is application code, not a CDN rule. Six of the 35 send x-powered-by: ShipAny, the header of a starter framework whose homepage calls it "agent-native." The rest don't name their stack, so I can't attribute all 35 to one template. 33 of the 35 sit in the video, image and voice categories, the same cluster of fast-launched generator sites that fills the video category of the directory.

The recheck shows exactly what trips it:

Accept header sent to the 35 failing homepages (8:41–8:42 AM ET) Got 200 HTML
text/markdown 0 of 35 (one TLS error on recheck)
text/plain 0 of 35
text/markdown, text/html;q=0.9, */*;q=0.8 35 of 35
*/* 35 of 35
No Accept header 34 of 35 (one TLS error)

So any client that lists HTML or */* as a fallback still gets the page. A client that asks only for Markdown or plain text gets an error. That strict form isn't exotic: Cloudflare's own documentation uses a bare Accept: text/markdown in both its curl and its Workers example.

You can reproduce one pair in two lines:

curl -s -o /dev/null -w '%{http_code}\n' -H 'Accept: text/markdown' https://vidlantern.com/
# 406
curl -s -o /dev/null -w '%{http_code}\n' -H 'Accept: text/markdown, text/html;q=0.9' https://vidlantern.com/
# 200

The status codes matter too. RFC 9110, section 12.5.1 lets a server that can't satisfy Accept either send 406 or ignore the header and send its default representation. The 14 sites that return 406 are within the spec, if unhelpful. The 21 that return 500 are reporting a server failure for a request the spec says they could simply have answered with HTML. Monitoring that counts 5xx will treat every Markdown-preferring agent visit as an outage.

Which AI clients are you actually negotiating with?

The official crawler docs split them by purpose, and the IP lists that let you verify them differ by an order of magnitude in size.

Token Purpose (vendor docs, read Dec 1) robots.txt, per the vendor Published list, IPv4 prefixes on Dec 1, 8:34 AM ET
GPTBot Model training Honored gptbot.json: 18
OAI-SearchBot ChatGPT search index Honored searchbot.json: 39
ChatGPT-User Fetch on a user's request "robots.txt rules may not apply" chatgpt-user.json: 367
ClaudeBot / Claude-User Training / user request Honored; disallowing Claude-User blocks user fetches claude.com bots.json: 14 (shared)
PerplexityBot Search index Honored perplexitybot.json: 21
Perplexity-User Fetch on a user's request "generally ignores robots.txt rules" perplexity-user.json: 10
Google-Agent Agents acting on a user's request User-triggered fetchers "generally ignore robots.txt rules" user-triggered-agents.json: 12 (plus 8 IPv6)

Sources: OpenAI's crawler overview, Anthropic's help article on its bots, Perplexity's bot guide and Google's page on user-triggered fetchers.

The practical point is that the clients most likely to ask for a page in a format they can read are the user-triggered ones, and they're the ones robots.txt governs least. Content negotiation and IP verification are your controls for them, and a verifier is only as good as the lists you load. In archived data from my site's own bot tracker (November 23, 7:09 AM to November 25, 11:11 AM ET, since retired), 189 of 192 ChatGPT-User sessions matched OpenAI's list, but 0 of 22 Google-Agent sessions did, because the tracker only loaded googlebot.json and never the user-triggered-agents file. Those 22 were unverified by my code, not proven fake.

What should you change on your own site?

Never answer an unsupported Accept with a 5xx, then decide whether to serve Markdown at all.

  1. Run the two curl commands above against your homepage. If the first returns 500 or 406, change the handler to fall back to HTML. That's one condition in middleware, and RFC 9110 explicitly allows it.
  2. If you serve Markdown, send Vary: Accept so caches keep the two versions apart. Four of the 47 sites that served Markdown here didn't.
  3. Keep llms.txt and content negotiation consistent. Thirty-three of the failing sites point agents at their content through llms.txt, then refuse a plain Markdown request for the homepage. Of the 27 that serve Markdown, 24 have a basic-valid llms.txt too. Across the full sample, 213 of 298 do.
  4. Check robots.txt per token rather than per vendor. The robots.txt checker for AI crawlers shows which rule wins for each documented agent, and the rest of the free tools for agent builders are on one page.

I'll re-run the same 298 homepages and 26 docs URLs in a month to see whether the Markdown share moves.

Sarath is the founder of aiagentsinfo.com, the research lab and directory for AI agents.

Written with AI assistance and reviewed for accuracy.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.