Convert OPML to JSON
Turn OPML files into JSON. The head fields and every outline with all of its attributes, children nested under children.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop OPML files on the dialor turn it to pick what to do
OPML outlines as plain JSON data.The head fields and every outline come across, nested as they were.
What you get
One JSON file that holds the head fields of the OPML file and every outline in it. Each outline keeps all of its attributes.
Outlines that sit inside other outlines are nested under children, so the tree of the outline stays a tree in the JSON.
Using the result
JSON is the data format of every API, so the file can go straight into code that reads JSON. You do not need an XML parser to read the outline.
Each conversion gives one file. To join several results into one, try merge JSON.
When it fails
If the file cannot be parsed, the conversion stops with
input_corrupted. This happens when the OPML file is not readable as an OPML outline.
OPML and JSON.What each format is.
The formats
OPML Outline
OPML outlines, the exchange format of outliners and feed readers.
- Extensions
- .opml
- MIME type
- text
/x -opml - Kind
- Text and data
JSON
JSON, the data format of every API.
- Extensions
- .json
- MIME type
- application
/json - Kind
- Text and data
In your code.The same OPML to JSON conversion through the API, for your app or your agent.
$ cv convert report.opml report.json$ cv convert report.opml report.jsonQuestions.What people ask about OPML to JSON.
Yes. Every outline keeps all of its attributes in the JSON.
Children of an outline are nested under children, so the same tree shape is kept.
Yes. The head fields of the OPML file are part of the JSON file.
The file could not be parsed. The conversion stops and no JSON is made.