Markdown for Agents
Cloudflare will now convert any page it fronts from HTML into clean Markdown at the network edge, on request, cutting the tokens an AI agent spends reading it by roughly four-fifths.
An AI agent reaching a web page has to wade through the same navigation, scripts, and markup a browser paints for a human, and pay for every token of it. Cloudflare's new feature lets an agent skip that. Send the 27-year-old HTTP header that says "I'd prefer Markdown," and for any site behind Cloudflare with the toggle flipped, the edge fetches the origin HTML, strips it to structured Markdown on the fly, and hands that back instead. On Cloudflare's own blog post the demo page dropped from about 16,000 tokens as HTML to roughly 3,000 as Markdown, an 80% cut by the company's own measurement, with the saving reported in a response header before the agent reads a word.
The same header that saves an agent 80% of its tokens is a reliable way for a site to know it is talking to a machine, and answer differently.
The conversion itself is old: llms.txt files, per-site content negotiation, and Cloudflare's own developer-invoked tool have all done a version of this. What changed is the cost. It drops to zero, and the reach jumps to a fifth of the web. No per-page publishing, no code: one dashboard button on a Pro-or-higher plan, and every page in the zone becomes machine-legible. Tens of millions of sites are one click from serving a parallel, agent-shaped copy of themselves.
That parallel copy is where the sharp problem sits: a site can now answer robots with content no human will ever see. The request header is forwarded to the origin server, and Cloudflare caches the Markdown separately from the human HTML. So a site can now tell, reliably, when a robot is asking. An efficiency knob doubles as a clean machine-detection signal, and the same plumbing that saves tokens is the plumbing an adversary would use to feed agents a doctored version of a page. Google's John Mueller had already called the whole pattern "such a stupid idea" before this shipped; the token math is real, but the web that agents read is quietly forking from the one people do.
The lenses
The facts
Concepts
How this connects
Tap a node to open it