
Serve Markdown to AI Agents with Accept Headers
Serve Markdown to AI agents and LLMs via the Accept: text/markdown header. Browsers get HTML, agents get clean Markdown.
Cloudflare's Markdown for Agents converts HTML pages to markdown on-the-fly for AI agents requesting via Accept: text/markdown headers on enabled zones.
This reduces token usage by up to 80%, as markdown provides structured content without non-essential HTML elements like wrappers and scripts. Responses include x-markdown-tokens header and default Content-Signal for AI training, search, and input.