Convert IPYNB to RST

Turn IPYNB files into reStructuredText. A reStructuredText document with headings, lists, tables, links, footnotes and math.

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 one RST document.Every cell comes in order, in a single reStructuredText file.

  1. What you get

    A reStructuredText document with headings, lists, tables, links, footnotes and math. The cells keep the order they have in the notebook.

    Markdown cells come in as they are. Code cells become code blocks, and text outputs appear below the code that produced them.

  2. What it leaves behind

    Plots keep only their text placeholder. The image itself is not in the RST file.

    Raw cells are dropped, and so is the notebook metadata.

  3. Going back

    To turn an RST file into a notebook, use RST to IPYNB. The result is a different file from the notebook you started with, so check what you need before you rely on the round trip.

IPYNB and RST.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 · RST

reStructuredText

reStructuredText, the markup of Python documentation and Sphinx.

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

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

terminal
$ cv convert report.ipynb report.rst
$ cv convert report.ipynb report.rst

Questions.What people ask about IPYNB to RST.

01OF 04

Yes. Every cell comes in the order it has in the notebook.

They become code blocks. Text outputs are placed below them.

No. A plot keeps only its text placeholder.

No. Raw cells and notebook metadata are dropped.

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