Converting notebooks

The standard tool for converting notebooks to other formats is the nbconvert utility. It is built-in to your Jupyter installation. You can access the tool directly in the user interface for your notebook. If you open a notebook, select the Jupyter File menu item, and you will see several options for Download as:

Converting notebooks

The choices are as follows:

Format type

File extension

Notebook

.ipynb

JavaScript

.js

HTML

.html

Markdown

.md

Restructured text

.rst

PDF

.pdf

For these examples, if we take a notebook from a previous chapter, the Jupyter Notebook looks like this:

Notebook format

The notebook format (IPYNB) ...

Get Learning Jupyter now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.