nbconvert
Convert Jupyter Notebooks (.ipynb files) to other formats.
Install
nbconvert on PyPI
pip
pip install nbconvertuv
uv add nbconvertpoetry
poetry add nbconvertPackage facts
| License | BSD 3-Clause License - Copyright (c) 2001-2015, IPython Development Team - Copyright (c) 2015-, Jupyter Development Team All rights reserved. Redistribution and use in source and binary forms, with… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 15 — beautifulsoup4, bleach, defusedxml, importlib-metadata, jinja2, jupyter-core, jupyterlab-pygments, markupsafe, mistune, nbclient, nbformat, packaging, pandocfilters, pygments, traitlets |
| Maintenance | actively maintained — 127 days since the last release |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: nbconvert-7.17.1-py3-none-any.whl
Keywords: Interactive, Interpreter, Shell, Web
About nbconvert
from the package's own PyPI description — quoted content, verbatim
nbconvert
Jupyter Notebook Conversion
Build Status (image) Documentation Status (image)
The nbconvert tool, jupyter nbconvert, converts notebooks to various other
formats via [Jinja] templates. The nbconvert tool allows you to convert an
.ipynb notebook file into various static formats including:
- HTML
- LaTeX
- Reveal JS
- Markdown (md)
- ReStructured Text (rst)
- executable script
Usage
From the command line, use nbconvert to convert a Jupyter notebook (input) to a a different format (output). The basic command structure is:
$ jupyter nbconvert --to <output format> <input notebook>
where <output format> is the desired output format and <input notebook> is the
filename of the Jupyter notebook.
Example: Convert a notebook to HTML
Convert Jupyter notebook file, mynotebook.ipynb, to HTML using:
``` $ jupyter...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
nbconvert converts Jupyter notebooks (.ipynb files) to multiple static formats including HTML, LaTeX, PDF, Markdown, and executable scripts via Jinja templates.
Low install friction with a pure-Python wheel distribution. Active maintenance status and 15 well-established runtime dependencies suggest stable, production-ready tooling.
BSD 3-Clause License permits commercial and private use with minimal restrictions; attribution and license text retention required in redistributions.
Usage
pip install nbconvert
jupyter nbconvert --to html mynotebook.ipynb
pandoc must be installed separately (system package, not PyPI) for PDF and some other output formats.
Verdict: nbconvert is a mature, actively maintained tool from the Jupyter project with permissive licensing and low install friction. No known vulnerabilities and broad format support make it a reliable choice for notebook conversion workflows.
Needs verification
- Whether all 15 runtime dependencies are strictly required or if some are optional for specific output formats.
- Specific Python 3.x versions tested beyond the >=3.9 requirement.
- Performance characteristics or memory constraints for large notebooks.
Similar packages
permissive · top 1,000 on PyPI
nbformatpermissive · top 1,000 on PyPI
pandocfilterspermissive · top 1,000 on PyPI
tabulatepermissive · top 1,000 on PyPI
ghapipermissive · top 1,000 on PyPI
jupyter-server-terminalspermissive · top 1,000 on PyPI
notebookpermissive · top 1,000 on PyPI
ipykernelpermissive · top 1,000 on PyPI
mistunepermissive · top 1,000 on PyPI
jupyter-serverpermissive · top 1,000 on PyPI