Convert IPYNB to OPML

Turn IPYNB files into OPML. An OPML outline with one item per heading, nested by level, and the text under each heading as the item's note in Markdown, with text before the first heading in a first item named after the file name.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop IPYNB files on the dialor turn it to pick what to do

A notebook as a nested outline.Each heading becomes an item, and the text under it becomes its note.

  1. What you get

    One OPML file with an item for every heading in the notebook. Items nest by heading level, so a second-level heading sits inside the first-level heading above it.

    The text under a heading becomes that item's note, written in Markdown. Text that comes before the first heading goes into a first item named after the file name.

  2. How cells appear

    Every cell comes through in order. Markdown cells are kept as they are. Code cells become code blocks, and text outputs appear below the code that produced them.

  3. What it leaves behind

    Plots keep only their text placeholder, so the image itself is not in the outline. Raw cells and notebook metadata are dropped.

    To go the other way, use OPML to IPYNB.

IPYNB and OPML.What each format is.

The formats

From · IPYNB

Jupyter Notebook

Jupyter notebooks. Code cells, their outputs and Markdown notes in one JSON file.

Extensions
.ipynb
MIME type
application/x-ipynb+json
Kind
Text and data
To · OPML

OPML Outline

OPML outlines, the exchange format of outliners and feed readers.

Extensions
.opml
MIME type
text/x-opml
Kind
Text and data

In your code.The same IPYNB to OPML conversion through the API, for your app or your agent.

terminal
$ cv convert report.ipynb report.opml
$ cv convert report.ipynb report.opml

Questions.What people ask about IPYNB to OPML.

01OF 04

Yes. Each heading becomes one item, nested by its level. The text under it is the item's note.

It goes into a first item named after the file name.

Yes. Code cells become code blocks, and text outputs appear below them. Plots keep only their text placeholder.

No. Raw cells and notebook metadata are dropped.

More conversions.Other ways in and out of IPYNB and OPML.