architecture6 min read

Introducing Markdown for Agents: Real-Time HTML to Markdown Conversion for AI

2 similar posts
  • Cloudflare
  • Claude Code
  • OpenCode
  • Cloudflare Radar

AI Summary

Cloudflare introduces Markdown for Agents, a feature that automatically converts HTML pages to markdown at the network edge when clients send an Accept: text/markdown header. This approach reduces token usage by up to 80 percent, speeds up AI parsing, and includes Content Signals headers to manage usage policies.

Key Takeaways

  • Translates HTML to markdown on the fly via content negotiation using the Accept header.
  • Cites an 80% reduction in token count compared to raw HTML equivalents.
  • Integrates with Content Signals headers to communicate policies for AI training and search usage.

Why it matters

As AI crawlers and autonomous agents handle more web traffic, serving raw HTML creates massive token waste and processing overhead. Edge-level markdown conversion optimizes context windows, reduces computation costs, and gives site owners explicit control over how their data is consumed by AI systems.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.