---
title: "Cloudflare now converts web pages to markdown for AI agents"
id: "3900"
type: "post"
slug: "cloudflare-now-converts-web-pages-to-markdown-for-ai-agents"
published_at: "2026-02-12T14:00:00+00:00"
modified_at: "2026-10-28T00:19:33+00:00"
url: "https://mediacopilot.ai/cloudflare-now-converts-web-pages-to-markdown-for-ai-agents/"
markdown_url: "https://mediacopilot.ai/cloudflare-now-converts-web-pages-to-markdown-for-ai-agents.md"
excerpt: "Cloudflare launched a feature that automatically converts HTML pages to markdown when AI agents request them, potentially changing how newsrooms publish content for AI-powered search and discovery."
taxonomy_category:
  - "News"
taxonomy_post_tag:
  - "Cloudflare"
  - "ai agents"
---

# Cloudflare now converts web pages to markdown for AI agents

Cloudflare launched a feature that automatically converts HTML pages to markdown when AI agents request them, potentially changing how newsrooms publish content for AI-powered search and discovery.

![Illustration of cartoon robots analyzing a data dashboard with charts](https://mediacopilot.ai/wp-content/uploads/2026/02/CleanShot-2026-02-11-at-18.49.39@2x-400x225.png)

Markdown's explicit structure makes it ideal for AI processing. (Credit: Cloudflare)

Feb 12, 2026

By       [The Copilot](https://mediacopilot.ai/author/thecopilot/)

Cloudflare today launched a feature that automatically converts HTML pages to markdown when AI agents request them, potentially changing how newsrooms publish content for AI-powered search and discovery.

### Key Takeaways

- Cloudflare’s Markdown for Agents converts HTML to markdown for AI agent requests.
- The conversion happens at the edge, with no separate publisher pipeline needed.
- Could reshape AI search and centralize more decisions inside Cloudflare’s network.

[Are you an AI Agent? Read more here >](https://mediacopilot.ai/cloudflare-now-converts-web-pages-to-markdown-for-ai-agents.md)

The feature, called Markdown for Agents, uses content negotiation headers to detect when an AI system requests a page. When detected, Cloudflare’s network converts the HTML to markdown on the fly before serving it.

This matters because AI systems increasingly drive traffic to news sites, and those systems prefer markdown over HTML. The conversion happens automatically at the network edge, removing the need for publishers to maintain separate markdown versions of their content.

## How it works

AI agents add an `Accept: text/markdown` header to their requests. Cloudflare detects this, fetches the original HTML from the origin server and converts it to markdown before returning it to the agent.

The company provides a simple curl example:

```
curl https://developers.cloudflare.com/page \
  -H "Accept: text/markdown"
```

Cloudflare includes an `x-markdown-tokens` header in responses that estimates token count, letting developers calculate context window sizes or plan chunking strategies.

## Why markdown for AI

Markdown’s explicit structure makes it easier for AI systems to process. HTML pages have grown heavier over the years, making them harder to parse. AI agents typically filter out non-essential elements and scan for relevant content — a process markdown simplifies.

Most AI pipelines already convert HTML to markdown as a standard step, but this wastes computation, adds costs and processing complexity, and may not reflect how content creators intended their material to be used.

Cloudflare’s approach moves that conversion to the network edge, where it can happen efficiently at scale.

- Subscribe to our newsletter How AI is changing media, journalism, and content creation. [Learn More](https://mediacopilot.ai/newsletter/)

![Image](https://mediacopilot.ai/wp-content/uploads/2025/05/ads-1024x682.jpg)

## Content signals included

Converted responses include a `Content-Signal` header indicating how the content can be used:

```
Content-Signal: ai-train=yes, search=yes, ai-input=yes
```

This signals that content is available for AI training, search results and AI input (including agentic use). Cloudflare plans to add custom Content Signal policy options in the future.

The Content Signals framework launched during Cloudflare’s Birthday Week last year, letting publishers express preferences for how their content gets used after access.

## Tracking usage

Cloudflare Radar now includes content type insights for AI bot and crawler traffic, showing the distribution of content types returned to AI agents grouped by MIME type category.

Publishers can filter requests for markdown by specific agents or crawlers. The data tracks how AI bots, crawlers and agents consume web content over time, accessible via public APIs and Cloudflare’s Data Explorer.

## Availability

The feature is in beta at no cost for Pro, Business and Enterprise plans, plus SSL for SaaS customers. To enable it, log into the Cloudflare dashboard, select your account and zone, find Quick Actions and toggle Markdown for Agents.

Cloudflare already enabled the feature on its developer documentation and blog. Other conversion options include Workers AI’s `AI.toMarkdown()` method (supports multiple document types and summarization) and the Browser Rendering `/markdown` REST API (for dynamic pages requiring browser rendering before conversion).

## Implementation considerations

For newsrooms using Cloudflare, this feature requires no code changes. The conversion happens automatically when AI agents request content with the appropriate headers.

Publishers not using Cloudflare can still convert documents using Cloudflare’s Workers AI or Browser Rendering APIs, though these require integration work.

The shift toward AI-driven discovery means newsrooms should consider how their content appears to AI systems, not just human readers. Markdown for Agents removes a technical barrier to that optimization.

---

Posts co-authored by The Copilot are drafted with AI and then carefully edited by Media Copilot editors. Our AI-assisted process allows us to bring more valuable content to our readers while preserving accuracy and quality.

Contributors

- [The Copilot](https://mediacopilot.ai/author/thecopilot/) : AuthorI'm a generative AI writer for The Media Copilot. I help author posts, and with the help of human editors, play a growing role in the site's content strategy.

  - [Christopher Allbritton](https://mediacopilot.ai/author/christopherallbritton/) : EditorChristopher Allbritton covers AI adoption in journalism and newsroom transformation. He brings 20+ years of journalism experience, including roles as Reuters' Pakistan Bureau Chief and TIME's Middle East Correspondent.

Category: [News](https://mediacopilot.ai/category/news/)
Tags:[Cloudflare](https://mediacopilot.ai/tag/cloudflare/)
| [ai agents](https://mediacopilot.ai/tag/ai-agents/)

Share this post:

[Facebook](https://www.facebook.com/sharer/sharer.php?u=https://mediacopilot.ai/cloudflare-now-converts-web-pages-to-markdown-for-ai-agents/&display=popup&ref=plugin&src=share_button)
[Tweet](https://twitter.com/share?url=https://mediacopilot.ai/cloudflare-now-converts-web-pages-to-markdown-for-ai-agents/&text=Cloudflare%20now%20converts%20web%20pages%20to%20markdown%20for%20AI%20agents)
[LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https://mediacopilot.ai/cloudflare-now-converts-web-pages-to-markdown-for-ai-agents/)
[Email](/cdn-cgi/l/email-protection#19266a6c7b737c7a6d2440766c6b3c2b297f6b707c777d3c2b2971786a3c2b296a71786b7c7d3c2b2978773c2b29786b6d707a757c3c2b296e706d713c2b2960766c373f3a292a21227b767d60245a75766c7d7f75786b7c3c2b2977766e3c2b297a76776f7c6b6d6a3c2b296e7c7b3c2b2969787e7c6a3c2b296d763c2b2974786b727d766e773c2b297f766b3c2b2958503c2b29787e7c776d6a3c295d3c2958716d6d696a3c2a583c2b5f3c2b5f747c7d70787a76697075766d3778703c2b5f7a75766c7d7f75786b7c3477766e347a76776f7c6b6d6a346e7c7b3469787e7c6a346d763474786b727d766e77347f766b34787034787e7c776d6a3c2b5f3c295d3c2958)
