
Jawuil PinedaWe're still obsessed with Core Web Vitals and traditional human SEO. But there's an uncomfortable...
We're still obsessed with Core Web Vitals and traditional human SEO. But there's an uncomfortable reality growing in web traffic: AI Agents.
Unlike users, AI agents (like those from OpenAI, Anthropic, or Perplexity) don't care about your CSS or animations. They care about structured data. And unfortunately, we're feeding them that data in the worst possible format: heavy, messy HTML.
Cloudflare just launched Markdown for Agents, a solution that promises to be a game-changer for "AI SEO." Here's what it is, why you should enable it, and how it impacts your LLM costs.
Feeding a language model with raw HTML is inefficient. A <nav> tag, dozens of nested divs, and tracking scripts have no semantic value for a bot. It's noise.
According to data published by Cloudflare, an average blog post weighs 16,180 tokens in HTML. That same content, converted to Markdown, weighs only 3,150 tokens.
We're talking about an 80% reduction in token usage.
If you're building AI applications or want your content to be cited by them, this metric is worth its weight in gold. Fewer tokens mean faster responses and less computational cost.
It's a new feature that enables real-time content conversion at the edge.
Instead of forcing the agent developer to scrape and clean your HTML (using their own resources), the Cloudflare network detects the request and transforms your HTML into clean Markdown before sending it.
The result is an optimized document, free of the "dead weight" of web design, ready to be consumed by an LLM.
The implementation is based on standard content negotiation. You don't have to install anything on your server; everything happens in the Cloudflare layer.
The AI agent (or you, if you're testing) must include a specific header in the HTTP request:
Accept: text/markdown
Cloudflare intercepts this header. If the functionality is enabled in your region, it will retrieve the HTML from your source, convert it, and return Markdown.
You can try it right now with this command in your terminal against the Cloudflare documentation:
curl [https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/](https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/) \
-H "Accept: text/markdown"
The response also includes an x-markdown-tokens header that tells you the estimated number of tokens in the document, ideal for managing context windows in your applications.
Here's the important detail for indie hackers and developers. Although the tool is powerful, it's not available for all plans at the moment.
Status: Open Beta.
Supported Plans: Pro, Business, and Enterprise.
SaaS: Also included if you're an SSL for SaaS customer.
Free Plan: Currently not included in the free plan.
To activate it, go to your Cloudflare dashboard, select your zone, and find the toggle under "Quick Actions."
If you have a SaaS project, technical documentation, or a blog and already pay for a Cloudflare plan, activate it today.
Markdown for AI tools (LLM Optimization) is the next big battle for traffic. If your content is easier for an agent to read than your competitors', you have a huge competitive advantage.
It's not just about code; it's about distribution. In 2026, making life easier for bots is a smart business strategy.