OPML转换器
将OPML文件(RSS/Atom/播客订阅导出)转换为嵌套JSON、平面JSON源列表、Markdown项目符号列表或纯文本源列表——保留文件夹类别。完全在您的浏览器中运行。
输入
选项
输出
使用此工具的更多方式
REST API
curl -X POST https://api.iotools.cloud/v1/tool/opml-converter \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"opmlSource": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<opml ver…",
"outputFormat": "json-nested",
"indent": "2"
}'替换成您账户中的密钥。工具的字段即为请求体——没有额外包装。
让 AI 代理执行
Use the IOTools `opml-converter` tool (OPML Converter) on this input:
YOUR_INPUT_HERE将此粘贴给任何已连接 IOTools MCP 服务器的代理,再加上您的输入内容。
嵌入式小组件
<iframe
src="https://iotools.cloud/embed/opml-converter/"
width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
title="OPML转换器 — iotools.cloud"
sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
allow="clipboard-write"
style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>把它放到您自己的页面上——免费,无需密钥,只需保留一个反向链接。
| 每次 API/MCP 调用费用 | 5 积分起 |
|---|---|
| 需要更多积分? | 查看定价 |
也可通过
使用指南
Paste or upload an OPML file — the format podcast apps and RSS readers export your subscriptions to — and instantly turn it into nested JSON, a flat JSON feed list, a Markdown bullet list, or a plain text feed list. Folder categories (the way most readers group feeds) are preserved in every format. Everything runs in your browser — nothing is uploaded.
How to use it
- Paste your OPML XML into the input box, or upload an
.opml/.xmlfile. - Pick an Output format:
- Nested JSON keeps the exact folder structure, with
childrenarrays for subfolders. - Flat JSON lists every feed as one array, each entry carrying a
categoryfield with its folder breadcrumb (e.g."News > Tech"). - Markdown list renders the same tree as nested bullet points — folders in bold, feeds as clickable links — ready to paste into a wiki or note.
- Plain text list is a flat, one-line-per-feed list (
[Category] Title — URL) for quick scanning or piping into another tool.
- Nested JSON keeps the exact folder structure, with
- Copy or download the result.
What's in an OPML file?
OPML (Outline Processor Markup Language) is an XML format built around nested <outline> elements. A podcast/RSS export nests feed outlines (carrying title, type, xmlUrl and htmlUrl) inside folder outlines (which have no xmlUrl of their own) — this tool reads that structure directly, so category folders of any depth are handled correctly.
Does it show the feed type (RSS, Atom, podcast)?
Yes — each feed's type attribute (as written in the file, usually rss) is included in both JSON formats, so you can filter or group by it downstream.
Is my data private?
Completely. Parsing runs entirely in your browser using a self-contained XML tokenizer — your OPML file is never sent to a server, logged, or stored.
Can I go the other way and parse a live feed instead of an export?
Yes — use the RSS Feed Parser to fetch and read an actual RSS/Atom feed by URL, or the RSS/Atom Feed Generator to build a feed from scratch. For converting other kinds of XML, see the XML to JSON Converter.