Convert IPYNB to HTML

Turn IPYNB files into HTML. A standalone page with every cell in order: Markdown as formatted text with math as MathML, code with highlighting, and outputs below it, with HTML tables and plots embedded in the page.

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 web page.Every cell appears in order, with code highlighted and outputs below it.

  1. What you get

    One standalone HTML page with every cell of the notebook in order. Markdown cells become formatted text, and math in them is written as MathML.

    Code cells show highlighted code. Their outputs sit below them, and HTML tables and plots are embedded in the page.

  2. What it leaves out

    Raw cells are left out. They do not appear in the page.

  3. When a conversion fails

    The conversion stops with input_corrupted when the file could not be parsed. An IPYNB file is JSON, so a notebook that is cut off or damaged cannot be read.

    To go the other way, use HTML to IPYNB.

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

HTML

The markup of web pages. Text, links and structure, usually with CSS and images alongside.

Extensions
.html .htm
MIME type
text/html
Kind
Text and data

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

terminal
$ cv convert report.ipynb report.html
$ cv convert report.ipynb report.html

Questions.What people ask about IPYNB to HTML.

01OF 04

No. The result is one standalone file, with tables and plots embedded in the page.

Math in Markdown cells is written as MathML.

Yes. Outputs appear below the code cell they belong to, including HTML tables and plots.

No. Raw cells are left out of the page.

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