---
description: Markdown for Agents uses in-process streaming conversion, supports larger HTML pages, and changes response headers.
title: More efficient Markdown for Agents conversion
image: https://developers.cloudflare.com/changelog/post/2026-10-09-markdown-for-agents-in-process-conversion/og.png?v=928ab5557ddf98d6
---

[Skip to content](#main-content)

[View RSS feeds](https://developers.cloudflare.com/fundamentals/new-features/available-rss-feeds/) [ Subscribe to RSS](https://developers.cloudflare.com/changelog/rss/index.xml)

[Back to all posts](https://developers.cloudflare.com/changelog)

October 9, 2026

## More efficient Markdown for Agents conversion

[Cloudflare Fundamentals](https://developers.cloudflare.com/fundamentals/)

Copy as Markdown| [View as Markdown](https://developers.cloudflare.com/changelog/post/2026-10-09-markdown-for-agents-in-process-conversion/index.md)| [Agent setup](https://developers.cloudflare.com/agent-setup/)

[Markdown for Agents](https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/) now converts HTML with an in-process streaming engine at the edge. It processes content as it arrives instead of buffering the HTML response and sending it to a separate conversion service. This reduces conversion overhead and memory use.

This release also changes the conversion limit and response headers:

- Conversion supports up to 6 MiB (6,291,456 bytes) of decompressed HTML, increased from 2 MiB (2,097,152 bytes). The limit applies after decompression, not to the compressed response size.
- Converted responses no longer generate the `x-markdown-tokens` or `x-original-tokens` headers. Clients that use these values need to calculate token counts themselves.
- `Content-Length` is removed from converted responses rather than recalculated, because the Markdown body is streamed.

For more information, refer to the [Markdown for Agents documentation](https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/).

```json
{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://developers.cloudflare.com/changelog/post/2026-10-09-markdown-for-agents-in-process-conversion/#page","headline":"More efficient Markdown for Agents conversion","description":"Markdown for Agents uses in-process streaming conversion, supports larger HTML pages, and changes response headers.","url":"https://developers.cloudflare.com/changelog/post/2026-10-09-markdown-for-agents-in-process-conversion/","inLanguage":"en","image":"https://developers.cloudflare.com/changelog/post/2026-10-09-markdown-for-agents-in-process-conversion/og.png?v=928ab5557ddf98d6","dateModified":"2026-10-09","datePublished":"2026-10-09","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
