Skip to content
ARGBE.TECH
News archive, 1 min readBy argbe.tech - news

Cloudflare’s Markdown for Agents Defines an Agent-Indexable Request Pattern

Cloudflare introduced Markdown for Agents, converting HTML pages into semantic Markdown when requested by clients. The company reports large token-count savings that can make agent ingestion and citation workflows more efficient.

Dark diagram of an agent request passing through a content layer that converts HTML source into agent-indexable Markdown, highlighted in red, which feeds a knowledge graph and citation index.

Cloudflare introduced Markdown for Agents, a network-side HTML-to-Markdown response mode designed for agentic indexing that it reports can cut token overhead by about 80%.

  • Clients opt in by sending Accept: text/markdown, triggering real-time conversion of HTML into Markdown on Cloudflare’s network.
  • In one measured example, a typical blog post dropped from 16,180 tokens in HTML to 3,150 tokens in Markdown.
  • Responses include an x-markdown-tokens header to expose an estimated token count for the generated Markdown.
  • The format shift is especially pronounced for structure: Markdown headings were estimated at ~3 tokens versus ~12–15 tokens for comparable HTML tags.
  • AI agents such as Claude Code and OpenCode already request structured content using the Accept: text/markdown header.