---
type: Agentic Web Standard
title: "Markdown for Agents"
description: "Markdown for Agents is a Cloudflare edge content-negotiation feature that converts origin HTML pages into structured Markdown on the fly when an HTTP client requests Accept..."
resource: "https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/"
tags: ["read", "http-header", "single-vendor", "serve-content-to-agents"]
status: stable
generated: { by: agenticweb-builder/1.0, at: 2026-11-29T00:00:00Z }
verified: { by: process:agenticweb-engine, at: 2026-11-12T00:00:00Z }
stale_after: 2026-12-12T00:00:00Z
sources:
  - id: ref-1
    resource: "https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/"
    title: "Cloudflare, Markdown for Agents, modified 2026-10-09; fetched 2026-11-04"
  - id: ref-2
    resource: "https://blog.cloudflare.com/markdown-for-agents/"
    title: "Celso Martinho and Will Allen (Cloudflare), Introducing Markdown for Agents, published 2026-02-12; modified 2026-07-15; fetched 2026-11-04"
  - id: ref-3
    resource: "https://developers.cloudflare.com/changelog/post/2026-11-09-markdown-for-agents-observability/"
    title: "Cloudflare, Markdown for Agents analytics and tracing, published 2026-11-09"
  - id: ref-4
    resource: "https://developers.cloudflare.com/changelog/post/2026-10-09-markdown-for-agents-in-process-conversion/"
    title: "Cloudflare, More efficient Markdown for Agents conversion, published 2026-10-09"
---

# Markdown for Agents

Markdown for Agents is an agentic-web standard (HTTP header — Accept: text/markdown) at step 4, Read, governed by Cloudflare; its status is "Generally Available as of 2026-11-09". Markdown for Agents is a Cloudflare edge content-negotiation feature that converts origin HTML pages into structured Markdown on the fly when an HTTP client requests Accept... Implementation status is shipping (Cloudflare, Read the Docs, Zep, Taskade, Replicate, Anthropic Claude Code, Cursor, OpenCode, and 11 other verified implementations), last verified 2026-11-12.

# Overview

**Markdown for Agents** is a Cloudflare edge content-negotiation feature that converts origin HTML pages into structured Markdown on the fly when an HTTP client requests `Accept: text/markdown`, reducing markup token overhead for AI agents. [^ref-1] Announced in Beta by Celso Martinho and Will Allen on 2026-02-12, Markdown for Agents is Generally Available as of 2026-11-09, with conversion analytics, logs, a playground, and traces. [^ref-2][^ref-3] When a request includes `text/markdown` in `Accept`, Cloudflare fetches the origin HTML, converts it to Markdown, and serves `Content-Type: text/markdown; charset=utf-8` with `Vary: Accept` (preserving existing origin `Vary` dimensions so caches separate HTML and Markdown variants). If the origin omits a `content-signal` header, Cloudflare attaches the default policy `Content-Signal: ai-train=yes, search=yes, ai-input=yes`. [^ref-1] An October 9, 2026 update moved conversion to an in-process streaming engine at the edge, raising the decompressed HTML limit from 2 MiB to 6 MiB (6,291,456 bytes) while removing `Content-Length`, `x-markdown-tokens`, and `x-original-tokens` from converted responses. [^ref-4]

# Knowledge Graph

* **Lifecycle Step**: [4 Read](/category/read/index.md)
* **Pairs with**: [llms.txt](/okf/protocols/llms-txt.md), [Agent Readability Spec](/okf/protocols/vercel-agent-readability.md), [Content Signals Policy](/okf/protocols/cloudflare-content-signals-policy.md), [AI crawler tokens in robots.txt](/okf/protocols/ai-crawler-tokens-robots.md)
* **Related terms**: [Markdown twin](/okf/terms/markdown-twin.md), [Context compaction](/okf/terms/context-compaction.md)
* **Compared in**: [HTML DOM & RSS vs Accept: text/markdown & OKF (classic vs agentic)](/compare/html-dom-vs-markdown-for-agents/index.md), [Open Knowledge Format vs Markdown for Agents](/compare/okf-vs-cloudflare-markdown-for-agents/index.md), [Markdown for Agents vs llms.txt](/compare/cloudflare-markdown-for-agents-vs-llms-txt/index.md)

[^ref-1]: Cloudflare, Markdown for Agents, modified 2026-10-09; fetched 2026-11-04 (https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/)
[^ref-2]: Celso Martinho and Will Allen (Cloudflare), Introducing Markdown for Agents, published 2026-02-12; modified 2026-07-15; fetched 2026-11-04 (https://blog.cloudflare.com/markdown-for-agents/)
[^ref-3]: Cloudflare, Markdown for Agents analytics and tracing, published 2026-11-09 (https://developers.cloudflare.com/changelog/post/2026-11-09-markdown-for-agents-observability/)
[^ref-4]: Cloudflare, More efficient Markdown for Agents conversion, published 2026-10-09 (https://developers.cloudflare.com/changelog/post/2026-10-09-markdown-for-agents-in-process-conversion/)
