Byline: Mark Harrop

Google says its Search does not use markdown versions of pages or llms.txt files, and that keeping such files for other services will neither harm nor help a site's rankings. Any case for serving markdown to AI agents rests on the agents themselves: which ones ask for it, and what a lighter page saves them.

That leaves a narrower decision for a head of digital. Markdown can make public pages smaller for a handful of agents to read, and a careless setup can show search engines something your visitors never see. We set out both sides below, with the configuration we would use if you go ahead.

Should we serve markdown to AI agents, and which agents actually ask for it?

Serving markdown to AI agents is only worth it where agents request it, and the documented list of agents that do is short. Anthropic's Claude Code documentation says its WebFetch tool sends an Accept header that "prefers Markdown over HTML so servers that support content negotiation can return Markdown directly".

Cloudflare's February 2026 announcement names OpenCode as well, a claim we have not checked. When we searched OpenAI's crawler documentation and Perplexity's crawler page on 29 October 2026, neither said its agents request markdown. Anthropic's page on ClaudeBot does not mention it either.

John Mueller, a Google Search Advocate, reported a thinner picture still. In a Reddit comment reported by Search Engine Journal on 31 August 2026, he said: "On my test sites the only crawlers who claim to accept markdown are SEO tools." His advice was to log the Accept header and check the figures first.

Cloudflare's markdown feature and the llms.txt proposal

Cloudflare launched Markdown for Agents as a beta on 12 February 2026. A client adds text/markdown to its Accept header, and Cloudflare fetches the HTML from the origin, converts it and returns markdown at the same URL. The developer documentation lists it on Pro, Business and Enterprise plans at no extra cost, converting HTML only and up to 6 MiB per page.

The saving Cloudflare quotes is a measurement of its own announcement: 16,180 tokens as HTML and 3,150 as markdown. That is one page, not a general rate.

llms.txt is a proposal by Jeremy Howard, first published on 3 September 2024 and now at version 2. It suggests a markdown file at the site root that describes the site for language models, plus a markdown copy of each useful page at the same address with .md added. Chrome's Lighthouse checks for the file in its agentic browsing audits, and marks a missing file as not applicable because "providing the file is optional at the moment". We found no standards body that has adopted it.

Google says Search ignores markdown, and its staff go further

Google's guide to optimising for generative AI features, updated on 10 July 2026, is direct: "You don't need to create new machine readable files, AI text files, markup, or Markdown to appear in Google Search (including its generative AI capabilities), as Google Search itself doesn't use them." Its AI features page says AI Overviews and AI Mode have no additional requirements.

Mueller gave his own view on Bluesky on 23 November 2025, replying to Lily Ray about separate markdown pages for language models: "Why would they want to see a page that no user sees? And, if they check for equivalence, why not use HTML?" On 3 February 2026 he replied to Jono Alderson's post "Stop turning your website into markdown." with: "Converting pages to markdown is such a stupid idea. Did you know LLMs can read images? WHY NOT TURN YOUR WHOLE SITE INTO AN IMAGE?" That was a social media reply, and it is not Google policy.

A more measured version came on Google's Search Off the Record podcast on 15 June 2026. The episode page warns that a separate markdown version of a site can bring "the same maintenance nightmares as dynamic rendering". It names developer documentation as a case where markdown makes sense and a shoe catalogue as one where it is unnecessary.

Does giving AI crawlers a different version of a page count as cloaking?

Google's cloaking policy does not mention markdown, so the test is the policy's own wording. Google's spam policies define cloaking as "presenting different content to users and search engines with the intent to manipulate search rankings and mislead users".

Google's example is "Inserting text or keywords into a page only when the user agent that is requesting the page is a search engine, not a human visitor".

The closest precedent is dynamic rendering, where a site gives crawlers a pre-rendered page. Google says "Googlebot generally doesn't consider dynamic rendering as cloaking" provided it "produces similar content", and that serving completely different content "can be considered cloaking". It also calls dynamic rendering "a workaround and not a recommended solution".

Our reading is that a faithful markdown conversion of the same page sits nearer that precedent than cloaking, and that the exposure grows if Googlebot receives the markdown or the markdown says something the page does not. Google has said neither thing about markdown, so treat this as reasoning rather than a ruling.

A markdown setup that keeps Google on the HTML page

If your logs show demand, these are the five controls we would put in place.

  • Google's crawlers stay on HTML: Exclude every Google crawler and fetcher from the markdown path. Identify them by Google's published IP ranges or a reverse and forward DNS lookup, because anyone can send Google's user agent string.
  • Equivalent content: Generate the markdown from the HTML the page already serves, with no summaries, keywords or text a visitor cannot see.
  • Content negotiation at the same URL: Return markdown when the request's Accept header asks for text/markdown, the media type registered in RFC 7763. This is content negotiation as RFC 9110 defines it, and the agent asks for markdown itself.
  • Vary: Accept: Send Vary: Accept so caches hold the two versions apart. RFC 9110 says a cache "MUST NOT" reuse such a response for a later request unless the listed header values match.
  • noindex on any separate URL: If markdown also lives at its own address, such as /page.md, send X-Robots-Tag: noindex and a canonical link to the HTML page, so it cannot be indexed as a parallel page.

RFC 9110 notes that negotiation "limits the reusability of responses for shared caching", and Cloudflare drops ETag and Last-Modified from converted responses.

Public bodies: Cloudflare's default permits AI training

Cloudflare's markdown responses carry a content signal, and its default allows AI training. The documentation says that where the origin sends no content-signal header, the feature adds Content-Signal: ai-train=yes, search=yes, ai-input=yes. Where the origin already sets one, Cloudflare keeps it.

A public body that switches the feature on without setting that header is signalling consent to training that nobody in the organisation agreed. Decide the position first and set the header at the origin. The difference between crawling for training and fetching a page to cite it is set out in what bot traffic costs you.

Is llms.txt worth publishing on a public sector website?

Publishing llms.txt on a public sector website costs little and will not change how Google Search treats the site, because Google says Search ignores the file. Its value depends on whether agents already working on your site read it.

Mueller made a similar point on the June podcast, as quoted by Search Engine Journal: "If someone is already on your website, maybe some kind of automated system is helpful." He also said a language model "by design, can't trust what is here as a way of differentiating between different websites".

What to ask a supplier before enabling markdown delivery

Put these questions to any hosting or CDN supplier offering markdown delivery, or write them into the requirement.

Ask A strong answer A weak answer
How are Google's crawlers kept off the markdown? Verified against Google's published IP ranges and excluded before routing Matched on user agent, or "Google won't mind"
Where does the markdown come from? Converted from the same HTML the page serves, nothing added Generated summaries or extra text for AI
How do agents receive it? At the page's own URL on request, with Vary: Accept, and noindex on any separate URL Separate indexable URLs with no canonical
What content signal do responses carry? Whatever you set at the origin, with the default documented Unknown, or the platform default
Can we see who received markdown? Logged per request, with the reason it qualified No reporting

Axistwelve BotShield Edge, the managed bot control our hosting team runs at the edge, includes markdown delivery as an option that each site owner chooses to switch on. It is set up so that approved AI agents receive a markdown conversion of the same public page, while browsers and Google's crawlers keep the normal HTML site. It is a delivery option, so it grants no access and makes nothing private public. The product page has the detail.

Before you serve markdown to AI agents

Log the Accept header on your public pages for a month, and count the requests asking for text/markdown and who sent them. That figure tells you whether there is an audience at all.

Agree your organisation's position on AI training and set the content-signal header at the origin, whatever you decide about markdown. If the numbers justify going ahead, start with documentation-style pages, the case Google's podcast named, and put the five controls above in place before anything goes live. We can help read the logs if you get in touch.

Frequently asked questions

Does Cloudflare's markdown for agents feature send a token count?

Cloudflare's February 2026 announcement described an x-markdown-tokens header giving an estimated token count for the converted page. The current developer documentation, updated in October 2026, does not mention that header. Check a live response before building anything that depends on it.

How does llms.txt point agents to a page's markdown version?

Version 2 of the llms.txt proposal adds discovery by link: a rel="alternate" type="text/markdown" link points to the markdown version of a page. Like the rest of llms.txt, this is part of a proposal by one author, and we found no standards body that has adopted it.

Is text/markdown a recognised format?

Yes. text/markdown is a registered media type, defined in RFC 7763 in March 2016 as an informational specification. A client can name it in an Accept header, and a server can label its response with it.