The Cloudflare Blog  logo The Cloudflare Blog
|AI

Introducing Markdown for Agents

2026-02-12
7 min read
4
by Celso Martinho

Endigest AI Core Summary

Cloudflare introduces Markdown for Agents, a feature that automatically converts HTML pages to markdown at the network level for AI crawlers and agents.

  • HTML pages consume 4-5x more tokens than markdown equivalents, making markdown critical for efficient AI processing (e.g., a blog post: 16,180 tokens in HTML vs 3,150 in markdown)
  • Enabled zones can serve markdown via HTTP content negotiation using the Accept: text/markdown header, with Cloudflare converting HTML on the fly before delivery
  • Responses include an x-markdown-tokens header indicating estimated token count, useful for context window sizing and chunking strategies
  • Converted responses carry Content-Signal headers (ai-train=yes, search=yes, ai-input=yes) to communicate content usage permissions
  • Available in Beta at no cost for Pro, Business, and Enterprise plans; Cloudflare Radar now tracks markdown usage across AI bot traffic
Tags:
#AI
#Agents
#Developers
#Developer Platform