Should a Publisher Offer Markdown Versions?

Should a Publisher Offer Markdown Versions?

user avatar

by me1afon

11 minutes ago


AI tools helped gather research and write the first draft of this article. I edited it and checked every quote against the source page listed at the end, read on 30 November 2026. The cover illustration is AI-generated. Details at the end.

A Markdown copy of an article is a plain-text version of the same words: headings, paragraphs, links, no menus or scripts. Agents and tools that fetch pages can read it with less work. That is a real benefit. It also means every article now exists in two representations, and the second one has to be addressed, cached, labelled and kept in step with the first. Offer a Markdown version when you know who will read it, when you can generate it from the same source as the page, and when you are ready to run it as a second representation of each article. Do not offer it to gain search visibility: Google's documentation says nothing of the kind is needed.

This article walks through what a Markdown version is, what the sources say it does and does not do, six costs that are easy to miss, a fictional case and a checklist. It does not repeat two earlier parts of this series. "Choosing a Storage Format for an Article" is about which format holds the master copy. "What We Actually Know About llms.txt" is about one index file. Here the question is narrower: should readers and agents be able to fetch a Markdown variant of a published article, and what does that cost?

What "a Markdown version" can mean

Three different things get called by that name, and their costs differ.

  1. A separate address. The article at /guide also exists at /guide.md. The llms.txt proposal describes this convention: it asks sites to provide "a clean markdown version of those pages" and to announce it with rel="alternate" type="text/markdown" [4]. It is a proposal, not a standard.
  2. The same address, chosen by a header. A client asks for Accept: text/markdown and the server answers with Markdown instead of HTML. HTTP calls this proactive negotiation: the server picks a representation from what the request says [5].
  3. A conversion made on the way out. A proxy or CDN takes the HTML your server already produces and converts it when asked. Cloudflare's "Markdown for Agents" does this: it "will detect this, fetch the original HTML version from the origin, and convert it to Markdown before serving it to the client" [3].

The first two need Markdown that your own system generates or stores. The third needs nothing from the origin, which is why it is quick to try and why its output depends on what the converter makes of your HTML.

What the evidence says the benefit is

The benefit most often cited is size. Cloudflare's announcement states that its own blog post "takes 16,180 tokens in HTML and 3,150 tokens when converted to markdown", and calls this "a 80% reduction in token usage" [2]. That is one page, measured by the company that sells the feature. It supports a simple point: HTML wrappers cost tokens that carry no meaning for a model. It does not tell you what your pages would save.

A much smaller check was made on 30 November 2026. The same Cloudflare documentation page was requested twice from the same address, once normally and once with Accept: text/markdown. The normal request returned 201,330 bytes of HTML. The Markdown request returned 25,005 bytes with Content-Type: text/markdown, about one eighth of the size [10]. Bytes are not tokens, and one page on a site that built the feature proves little about yours. It does show the mechanism working on a live site.

Two more observations from the same day, on a Stripe documentation page that now redirects to Stripe's agents page: a request for its .md address was redirected and then answered with text/markdown, and a plain request with Accept: text/markdown was redirected the same way and answered with Markdown and a Vary: Accept, Accept-Language header [10]. So both the separate-address route and the header route are in use by documentation sites that expect agents as readers.

Cloudflare also says what the format change is meant to fix. Converting HTML in the agent's own pipeline "wastes computation, adds costs and processing complexity, and above all, it may not be how the content creator intended their content to be used in the first place" [2]. That last clause is the publisher's argument: if someone will convert your page anyway, you may prefer to control how.

What it does not do

For search, the source is plain. Google's page on AI features says: "There are no additional requirements to appear in AI Overviews or AI Mode, nor other special optimizations necessary", and adds "You don't need to create new machine readable files, AI text files, or markup to appear in these features" [1]. That page, last updated 2025-12-10 according to its footer, is about Google Search only. It does not say a Markdown variant is harmful, and it does not say other products ignore it. It does remove the claim that you need one.

Nothing read for this article measures whether a Markdown version brings more visits, more citations or better answers from AI products. The sources describe how to serve a variant and what it saves in size. They contain no outcome data. A later part of this series, "Measuring Referrals From AI Search", takes up measurement; here the benefit is limited to what is documented: less to parse for a client that asks for Markdown.

Six costs

1. A second address that must not compete with the first

A .md address is a new URL with the same content. Google's documentation on duplicate URLs lets you declare the preferred one, and for files that are not HTML it describes an HTTP header: a Link header with rel="canonical" can "indicate the canonical URL for a document supported by Search, including non-HTML documents such as PDF files" [7]. The same page adds "Google supports this method for web search results only" [7], so the header speaks to Google's web search, not to every other consumer.

To keep a variant out of the index, Google's robots documentation names the tool: for non-HTML resources use the X-Robots-Tag response header, which can be limited to one crawler, as in X-Robots-Tag: googlebot: nofollow [8]. One trap is in the same document: "If a page is disallowed from crawling through the robots.txt file, then any information about indexing or serving rules will not be found and will therefore be ignored" [8]. A site that blocks its .md addresses in robots.txt and also sends a noindex header on them has made the header unreadable. Decide whether the variant may be fetched, whether it may be indexed and how it may be used as three separate settings, and set each where it is actually read.

2. Caches

If the Markdown shares an address with the HTML, a cache must know that the answer depends on the request. HTTP's Vary header does that: "Vary expands the cache key required to match a new request to the stored cache entry" [5]. The specification also lists the price of the approach: proactive negotiation "limits the reusability of responses for shared caching", and a client "cannot rely on proactive negotiation preferences being consistently honored" [5]. Cloudflare's converted responses include Accept in Vary "so that caches store separate variants for Markdown and HTML" [3]. A site that negotiates by header and forgets Vary risks serving one format to the wrong reader. A separate address avoids the problem and adds the duplicate-URL work above.

3. What the conversion keeps and drops

A converter decides what counts as the article. Cloudflare's documentation says non-content elements "such as headers, footers, navigation, scripts, and styles" are stripped, front matter is built from <meta> tags, and "JSON-LD is the only <script> content preserved in the output" [3]. It also states limits: conversion starts from HTML only, it is capped at "6 MiB (6,291,456 bytes) of decompressed HTML", and a completed conversion "does not mean lossless HTML preservation" [3]. For an article this usually means headings and paragraphs survive. A table, a caption, a pull quote or an embed is where you should read the output before trusting it.

4. "Markdown" is not one format

The media type text/markdown was registered in RFC 7763, an informational document, which describes Markdown as "a family of related plain-text formatting syntaxes" [6]. It defines an optional variant parameter as a hint to the recipient, who "is under no obligation" to follow it, and advises senders to "avoid use of variants that intended recipients are not known to understand" [6]. For an article, that argues for the plainest dialect that carries your content: headings, paragraphs, lists, links, and a stated place for a title and date.

5. Permissions travel with the copy

A Markdown response can carry a statement about how the content may be used. Cloudflare's converted responses include a Content-Signal header; when the origin sends none, Markdown for Agents "adds a default Content-Signal: ai-train=yes, search=yes, ai-input=yes" [3]. The documentation adds that if the origin already sets the header, that value is kept [3]. For a publisher this is a policy decision taken by a switch: turning the feature on without choosing a signal publishes a default. Whatever you choose should match what your terms and your robots.txt say.

6. Upkeep and the rules of fair play

A variant is a promise that it says what the page says. If the two drift apart, readers get different answers depending on the route they used. Google's spam policy describes cloaking as "presenting different content to users and search engines with the intent to manipulate search rankings and mislead users" [9]. A faithful Markdown rendering of the same article has no such intent, and the page does not discuss Markdown variants. Still, the policy shows where the line is: different packaging is not the issue, different content is. Generate the variant from the same source as the page, so there is nothing to keep in sync by hand. A later part of this series, "Keeping Article Variants Consistent for Crawlers", has that title; this article stops at the principle.

A fictional case

The following example is invented. Tally Review is a made-up publication about blockchain games; its numbers, team and decision are fictional and show the reasoning.

Tally Review has about three hundred articles. Its editor, Mira, reads that documentation sites offer Markdown and asks whether to do the same. The team checks four options against the costs above.

Option Where the Markdown comes from New address? What must be set Main risk
Do nothing None No Nothing Agents convert the HTML their own way
"View as Markdown" link and /slug.md The CMS, from the article source Yes Canonical header, indexing rule, link in the page head Duplicate URL competes with the article
Accept: text/markdown on the same address The CMS, from the article source No Vary: Accept, cache rules A cache serves the wrong format
Edge conversion of the HTML The converter, from the page No Content signal, plan, a read of the output Tables and captions come out wrong; default signal published

Mira's team also asks the question the table hides: who is the reader? Tally Review's articles contain a comparison table of in-game economies and captions on screenshots. Its readers are people and the search products it already appears in. Nobody has asked for Markdown. The team decides to do nothing for now, to make sure the HTML is clean, with real headings and structured data that matches the visible text, and to revisit if a documented, named consumer appears. Next quarter's task is to read what an edge converter would produce from the table page, before anyone switches anything on.

This is not the only reasonable outcome. A team publishing developer documentation, whose readers are already coding agents, would reach the second or third row quickly. The point is that the answer came from the reader and the cost, not from the trend.

A fictional decision for Tally Review shown as a table with four options (do nothing, a slash-md address, a header on the same address, edge conversion), each with where its Markdown comes from, what must be set and its main risk, and the chosen option highlighted.

When the answer is yes, and when it is no

Lean towards offering a Markdown version when:

  • your readers include agents or tools that fetch pages, and you can name them or see them in your logs;
  • the content is mostly text: guides, documentation, reference pages;
  • you can generate the Markdown from the article's own source, not from the page;
  • you can set and test the canonical, indexing, caching and signal rules.

Lean towards waiting when:

  • the articles depend on tables, embeds, interactive elements or captions that Markdown carries poorly;
  • the only motive is a hope of more search traffic, which the documented search guidance does not support [1];
  • nobody owns the second representation after launch;
  • a CDN switch would publish a policy you have not chosen.

A diagram of two columns, one headed "lean yes" and one headed "lean wait", each with four short conditions, with a small note that the answer comes from the reader, the source and the upkeep rather than from search.

Mistakes to avoid

1. Doing it for ranking. The documented guidance says no special files are needed [1]. Pick the reader first.

2. Letting a switch set the policy. A default content signal is a statement made in your name [3]. Choose it.

3. Blocking and noindexing the same address. A robots.txt block hides the noindex header from the crawler that would read it [8].

4. Trusting the converter without reading its output. Convert your three hardest articles and read the result; the documentation itself says conversion is not lossless [3].

5. Maintaining the variant by hand. A hand-edited copy drifts. Generate it from the source.

A checklist before you commit

  • Name the reader of the Markdown version, or the log line that shows one.
  • Choose the route: separate address, header on the same address, or edge conversion.
  • Write down the canonical, indexing, caching and content-signal setting for the variant, and where each is sent.
  • Convert your three hardest articles and read the output.
  • Decide who owns the variant and how often you will compare it with the page.
  • Decide what would make you remove it.

What this article cannot tell you

It cannot tell you whether a Markdown version will bring more visits, citations or accurate answers: no source read here measures that. It cannot tell you which agents or AI products fetch Markdown today beyond what the vendors' own pages say; the statement in the Cloudflare announcement that Claude Code and OpenCode send the Accept header is Cloudflare's claim of February 2026 and was not independently tested, and this article does not repeat it as fact. The size check is one request pair on one page and one documentation site; it is an observation, not a benchmark. Tally Review and its decision are invented, the table and checklist are the author's proposals, and nothing here describes how Dapp.Expert serves its own pages. Vendor and Google pages may change after 30 November 2026. This is not legal advice about content licensing or AI training.

How this article was made

Task What the AI did What a person did How it was checked
Research Gathered candidate sources and drafted notes Chose the question and which pages to rely on Every quote checked against the page named in the sources, read on 30 November 2026
Test Ran two request pairs against public documentation sites and recorded sizes and headers Chose what to compare and how to describe the result Described as observations; no benchmark claim
Draft Wrote the first draft from the notes Edited the text, the example and the checklist An independent review compares claims with the sources before publication
Images Generated the cover illustration and the inline figures Chose and checked them Labelled as AI-generated in the disclosure line and alt text
Not done by AI — The decision to publish and responsibility for the text —

Conflicts of interest: none. The author has no commercial relationship with the organisations named here.

Responsible for this article: Dmitriy Lastovka, author. Corrections: contact form.

Sources

Labels: guidance (a platform's documentation), documentation (a vendor's own pages), proposal (a published proposal), specification (an IETF document), observation (a request test made on the read date). Quotes are as on the pages read on 30 November 2026.

  1. Google Search Central, "AI features and your website" (footer: last updated 2025-12-10). https://developers.google.com/search/docs/appearance/ai-features Guidance.
  2. Cloudflare Blog, "Introducing Markdown for Agents" (12 February 2026). https://blog.cloudflare.com/markdown-for-agents/ Documentation; vendor announcement.
  3. Cloudflare Docs, "Markdown for Agents" (page shows last updated 25 November 2026). https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/ Documentation.
  4. llms.txt proposal, llmstxt.org (page shows v2.1). https://llmstxt.org/ Proposal; not a standard.
  5. IETF, RFC 9110, HTTP Semantics, sections 12.1 and 12.5.5. https://www.rfc-editor.org/rfc/rfc9110.html Specification.
  6. IETF, RFC 7763, The text/markdown Media Type (March 2016, informational). https://www.rfc-editor.org/rfc/rfc7763.html Specification; informational.
  7. Google Search Central, "How to specify a canonical URL with rel=canonical and other methods" (footer: last updated 2026-07-10). https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls Guidance.
  8. Google Search Central, "Robots meta tag, data-nosnippet, and X-Robots-Tag specifications" (footer: last updated 2026-03-24). https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag Guidance.
  9. Google Search Central, "Spam policies for Google web search", cloaking section (footer: last updated 2026-11-23). https://developers.google.com/search/docs/essentials/spam-policies Guidance.
  10. Request tests, 30 November 2026: the Cloudflare documentation page in source 3 requested with and without Accept: text/markdown; Stripe's page https://docs.stripe.com/building-with-llms (both requests redirected to https://docs.stripe.com/agents) requested as .md and with Accept: text/markdown. Observation; sizes and headers as returned that day.

Tier I

Sector: #18291

Sealed Hiding Place Room

Resource Cache

Resource Cache

Tier I

Requires 25% Tier Progress to Claim
Meme Cache

Meme Cache

Tier I

Requires 50% Tier Progress to Claim
Equipment Cache

Equipment Cache

Tier I

Requires 75% Tier Progress to Claim

After collecting, hiding places will be stored in your inventory and can be opened with Keys.

Other articles

Training Crawlers and Search Crawlers Are Different

Training, search and user-triggered fetches use different bots and rules. What vendors' own pages say, a fictional robots.txt plan, mistakes and limits.

user avatarme1afon

What We Actually Know About llms.txt

What the llms.txt proposal says, what Google, OpenAI and Anthropic state publicly, and what is not shown, with read dates and a fictional decision example.

user avatarme1afon

Connecting Original Articles and Translations

How to link an original and its translation for readers and search engines: hreflang, canonical, visible links, a fictional pair and five mistakes.

user avatarme1afon

Language Switching Without Losing the Reader's Place

How to build a language switch that keeps the reader on the same article: links, first-language rules, labels, fallbacks, a fictional example and a test list.

user avatarme1afon

What Localization Includes Beyond Translation

What to adapt along with an article's text: metadata, images, interface labels, numbers, dates, plurals and language marks. A checklist and a fictional example.

user avatarme1afon

When a Topic Page Is Better Than Another Tag

A tag files an article; a topic page serves a reader. A five-question test, what Google's documentation says, a fictional example and a template.

user avatarme1afon

Important disclaimer: The information presented on the Dapp.Expert portal is intended solely for informational purposes and does not constitute an investment recommendation or a guide to action in the field of cryptocurrencies. The Dapp.Expert team is not responsible for any potential losses or missed profits associated with the use of materials published on the site. Before making investment decisions in cryptocurrencies, we recommend consulting a qualified financial advisor.