markdown.new - Markdown for Agents | Cloudflare-Powered URL to Markdown

@elbeyoglu
Emre Elbeyoglu @elbeyoglu
Saturday, February 14, 2026 AI

Tweet

I built https://t.co/5NktuMjX9i Put https://t.co/ZxgaXfljH1 before any URL → get clean Markdown back. Cloudflare's Markdown for Agents is great, but only works for enabled sites. https://t.co/5NktuMjX9i works for ANY website on the internet. 80% fewer tokens. Also converts PDFs, images, audio. Free. No signup. https://t.co/5NktuMjX9i

Scraped Article

# Markdown for Agents The web was built for humans. AI agents need structured data. We convert any URL to clean Markdown using Cloudflare's native `text/markdown` content type — no parsing, no waste. 80%fewer tokens than raw HTML Convert `https://markdown.new/any-url-here` Prepend markdown.new/ to any URL in your browser for instant conversion ## Three-Tier Conversion Pipeline We try the fastest method first and fall back automatically. Every request gets the best possible Markdown. Primary ### Markdown for Agents Fetches the URL with `Accept: text/markdown`. Cloudflare-enabled sites return clean Markdown directly from the edge — zero parsing needed. fetch(url, { headers: { Accept: "text/markdown" } }) Fallback 1 ### Workers AI If content negotiation returns HTML, we pass it directly through Cloudflare Workers AI `toMarkdown()` — fast, no re-fetch needed. env.AI.toMarkdown(\[{\ name: "page.html",\ blob: htmlBlob\ }\]) Fallback 2 ### Browser Rendering For JS-heavy pages, we render in a headless browser via Cloudflare's Browser Rendering API for full page content extraction. POST/browser-rendering/markdown { "url": "https://..." } // Full page render ## Why Markdown Matters for AI Feeding raw HTML to an AI is like paying by the word to read packaging instead of the letter inside. HTML — 12-15 tokens <h2 class="section-title" id="about">About Us</h2> **16,180** tokens for a blog post Markdown — 3 tokens \## About Us **3,150** tokens for the same post 80% Token reduction 5x More content per context window 0 External dependencies ## What You Get Back Clean Markdown with metadata headers, including token count via `x-markdown-tokens`. HTTP/2 200 content-type:text/markdown; charset=utf-8x-markdown-tokens:725// estimated token countvary:accept \-\-\- title:Markdown for Agents \-\-\- \# Introducing Markdown for Agents The way content and businesses are discovered online is changing rapidly. Now the traffic is increasingly coming from AI crawlers and agents that demand structured data... ## Built For Developers, AI agents, and teams building the next generation of intelligent applications. →AI agents that browse and summarize the web →RAG pipelines that need clean document chunks →Training data preparation for LLMs →Documentation migration and static site generators →Knowledge base builders and research tools →Content archival in human-readable format
Explore Further

This has a linked resource worth reading, a tool worth trying, or an idea worth prototyping

Quick Insight

This is a URL-prepending service that converts any webpage to clean Markdown, reducing token usage by 80% for AI workflows. It's essentially a universal content extractor with smart fallbacks - tries Cloudflare's native markdown first, then Workers AI, then browser rendering for JS-heavy sites.

Actionable Takeaway

Test this immediately for AI agent workflows in side projects - prepend `markdown.new/` to any URL to get clean content for RAG pipelines or content processing. Could replace custom scraping logic with a simple URL transformation.

Related to Your Work

Perfect for the fintech platform's analytics dashboards that might need to process external content, and directly applicable to AI-powered dev workflow side projects. Could eliminate the need to build custom web scraping for any content ingestion features.

Source Worth Reading

The linked site is worth checking out - it's a live tool with clear technical details on the three-tier conversion pipeline. Shows actual token reduction examples and has a simple API that could be integrated into existing workflows immediately.

Tags

#ai-agents #dev-tools #automation #cloudflare #content-extraction