Markdown twin
Read A Markdown twin is a clean text/markdown representation of an HTML web page served either at a deterministic sibling URL (such as /docs/page.html.md or /path/index.md) or dynamically on the canonical URL via HTTP content negotiation (Accept: text/markdown).
Overview
HTML pages routinely spend 70–90% of their byte payload on navigation chrome, inline scripts, SVG icons, and CSS classes that burn LLM context tokens without adding factual signal. Both llms.txt (which links .md sibling URLs) and Cloudflare Markdown for Agents (which converts origin HTML to Markdown at the edge when Accept: text/markdown is sent, reaching General Availability on 9 November 2026) standardize how agents fetch the twin directly.
Wire negotiation example
```http GET /fundamentals/reference/markdown-for-agents/ HTTP/1.1 Host: developers.cloudflare.com Accept: text/markdown, text/html;q=0.8
HTTP/1.1 200 OK Content-Type: text/markdown; charset=utf-8 Vary: Accept Content-Signal: ai-train=yes, search=yes, ai-input=yes ```
Protocol contrast: Sibling .md URLs work on any static file host without custom headers, whereas Accept: text/markdown content negotiation preserves a single canonical URL and returns Vary: Accept alongside Content-Signal permissions (note that Cloudflare removed its beta x-markdown-tokens, x-original-tokens, and Content-Length response headers on 9 October 2026 when switching to streaming edge conversion up to 6 MiB).
Instances
See also
References
- https://llmstxt.org (2026-11-11) VERIFIED
- https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/ (2026-11-12) VERIFIED
- https://developers.cloudflare.com/changelog/post/2026-10-09-markdown-for-agents-in-process-conversion/ (2026-10-09) VERIFIED
Frequently asked questions
- What is Markdown twin?
- A Markdown twin is a clean text/markdown representation of an HTML web page served either at a deterministic sibling URL (such as /docs/page.html.md or /path/index.md) or dynamically on the canonical URL via HTTP content negotiation (Accept: text/markdown). In the agentic web (Step 4, Read), also known as Markdown for agents, it is implemented or referenced by llms.txt, Markdown for Agents.
- Which agentic web standards use Markdown twin?
- Markdown twin is used or referenced by llms.txt, Markdown for Agents. See https://agenticweb.wiki/terms/markdown-twin/ for sourced definitions and protocol contrasts.
- How is Markdown twin verified on agenticweb.wiki?
- This glossary definition was last reviewed on 2026-11-12. The Markdown twin record cites 3 primary specification or implementation sources.