惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
小众软件
小众软件
腾讯CDC
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
Y
Y Combinator Blog
Engineering at Meta
Engineering at Meta
美团技术团队
U
Unit 42
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
罗磊的独立博客
aimingoo的专栏
aimingoo的专栏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
G
Google Developers Blog
C
Check Point Blog
大猫的无限游戏
大猫的无限游戏
Recent Announcements
Recent Announcements

herrkaefer

"Vibe planning \u003e vibe coding" "Built anocus: anonymous commenting for static sites" "日记与小说 -- AI 续写小说欣赏" "Any-podcast: from newsletters to a podcast" "Made MicPipe: a simple voice input tool using ChatGPT dictation" "关于 Tools 和 Skills 的一点感想" "Realtime monitoring of ComEd hourly price" "Introducing SwiftEdgeTTS" "Thoughts on the philosophy of building AI-native apps" "jelly鼻屎" "等饭的人" "Use home assistant to motivate my kid to brush teeth" "Migrated Blog to Hugo and Cloudflare Pages" "Easy Aspen monitoring for Chicago parents" "Introducing HabitBuilder: A simple Telegram bot for habit tracking" "鼓捣" "Open folder or file with Sublime Text from Finder toolbar" "Python dev workflow on macOS" "Create new text file from Finder toolbar" "Uno reinvented for 3-year-old kids" "Uno变身儿童数字游戏" "自动转发Twitter到微博" "Handle annoying operations of objects in Realm DB" "Move Jekyll blog to Ubuntu VPS" "Introducing Mole" "Note taking without note taking app" "Deploy Python web application on Ubuntu server" "Setup Shadowsocks / VPN on Ubuntu Server" "Linode Notes - Basic Setup" "CLASS Style Adapted for Embedded Systems"
"Anything to Markdown"
"herrkaefer" · 2026-02-27 · via herrkaefer
                     __  __    _            ___                 __
  ____ _____  __  __/ /_/ /_  (_)___  ____ |__ \ ____ ___  ____/ /
 / __ `/ __ \/ / / / __/ __ \/ / __ \/ __ `/_/ // __ `__ \/ __  / 
/ /_/ / / / / /_/ / /_/ / / / / / / / /_/ / __// / / / / / /_/ /  
\__,_/_/ /_/\__, /\__/_/ /_/_/_/ /_/\__, /____/_/ /_/ /_/\__,_/   
           /____/                  /____/                         

Markdown is the “food” for AI agents. Cloudflare recently introduced Markdown conversion functionality, which allows you to convert multiple file formats into Markdown using their API. Additionally, you can use Browser rendering to turn any URL into Markdown output.

I recently created two small projects that wrap these Cloudflare features, making them easy to integrate into your applications:

Take anything2md for example, all the format or url are hidden behind a unified API:

import anything2md
md = anything2md.transform("https://www.example.com")
md = anything2md.transform("https://pub-979cb28270cc461d94bc8a169d8f389d.r2.dev/somatosensory.pdf")
md = anything2md.transform("https://pub-979cb28270cc461d94bc8a169d8f389d.r2.dev/cat.jpeg")
print(md.markdown)

Supported input formats include PDF, images, HTML, XML, XLSX, DOCX, CSV, Numbers, and more.

Taking a look at the output text of some webpages or pdfs, it doesn’t give perfect markdown layout, but as in most cases, this contents will be fed into AI agents, so it’s good enough.

Cloudflare doesn’t mention the exact rate limit for this feature, but it should be generous enough for light use cases.