ipynb to pdf

IPYNB to HTML

Notebook to web page,in one drop.

Drop in an .ipynb file and download a standalone .html page: markdown as typography, code with syntax highlighting, plots and tables inline — all in one file you can share anywhere.

Converted in your browser — the notebook is never uploaded. You can also drop it anywhere on this page.

  • Jupyter Notebook
  • JupyterLab
  • Google Colab
  • VS Code
  • Kaggle
  • Deepnote

1 file, everything inside

Styles, images and tables are inlined — no asset folder.

0 bytes uploaded

Parsing and serialization happen on your device.

30+ languages highlighted

Python, R, Julia, SQL and more, colored in the file.

6 notebook sources

Jupyter, JupyterLab, Colab, VS Code, Kaggle, Deepnote.

What the file keeps

One HTML file, nothing to upload alongside it.

The converter reads the notebook format directly, so the page is a faithful, shareable rendering of your session — not a screenshot.

Standalone by design

One self-contained file: the stylesheet, every plot and every table travel inside it. Email it, drop it on any static host, open it from a USB stick.

Markdown as web typography

Headings, lists, blockquotes, GFM tables and task lists render as real HTML elements — selectable, searchable, accessible.

Code with syntax colours

Code cells keep their language class for highlight.js-style colouring, with In[] execution prompts from the notebook.

Plots and images inline

Matplotlib figures and embedded images arrive as data URLs inside the file, so nothing breaks when the original notebook is not around.

Tables as real tables

HTML and markdown output tables become proper <table> markup — searchable in the browser and readable by screen readers.

Print-ready too

The page ships with a print stylesheet: open the file, hit Ctrl+P and the browser produces a clean PDF without any extra tool.

Compatibility

Reads every notebook you can throw at it.

Notebooks from Jupyter Notebook, JupyterLab, Google Colab, Kaggle, Deepnote and VS Code all convert, including the older nbformat 3 files.

Notebook formats

  • nbformat 4 (current)
  • nbformat 3 worksheets (legacy)
  • attachments inlined as data URLs
  • UTF-8 content, any language

Cell types

  • markdown cells as web typography
  • code cells with language class
  • raw cells as preformatted text
  • empty cells skipped quietly

Output types

  • PNG, JPEG, GIF, WebP and SVG figures
  • HTML tables kept as tables
  • stream text with ANSI colours stripped
  • LaTeX kept as copyable source

Known limits

  • math renders as LaTeX source, not KaTeX
  • interactive widgets get a note instead
  • remote images need CORS to inline
  • single file, so no external asset folder

How it works

Three steps to the file.

Drop in an .ipynb file and download a standalone .html page: markdown as typography, code with syntax highlighting, plots and tables inline — all in one file you can share anywhere.

  1. 01

    Drop the notebook in

    Choose an .ipynb file or drag it onto the page; it is parsed on your device and the HTML file is assembled immediately.

  2. 02

    Check the page

    The preview shows the first lines of the file — typography, code blocks and inlined plots in one document.

  3. 03

    Download the .html file

    Save notebook.html anywhere: email it, host it statically, or open it offline — everything travels inside the one file.

Every route from notebook to HTML

From the browser converter above to the tooling built into Jupyter, VS Code and Colab — pick the route that fits where you already are.

jupyter nbconvert --to html

The command-line standard: jupyter nbconvert --to html notebook.ipynb writes a styled HTML page next to your notebook. nbconvert ships with Jupyter, needs no extra install and works in a CI pipeline — the route to choose when you already live in the terminal.

Jupyter's own menus

Classic Jupyter Notebook has File → Download as → HTML; JupyterLab exposes the same conversion through File → Save and Export Notebook As. If your version hides the entry, nbconvert in a terminal is the same job.

VS Code export

With the notebook open in VS Code, the Jupyter extension's export command offers HTML. Convenient when the notebook is already open in the editor; no use when it is still a Colab or Kaggle download.

Google Colab

Colab has no export-to-HTML button. Use File → Download → .ipynb, then convert the file here — the page breaks-free rendering follows the notebook instead of the browser print dialog.

In a hurry? Use the converter at the top.

The browser converter above reads the same notebooks as every route on this page and produces the same standalone file — with nothing installed and nothing uploaded.

What the file keeps (and what it drops)

  • Markdown as typography — headings, lists, tables and links as real HTML elements.
  • Code as code — language-classed code blocks with In[] prompts.
  • Figures inline — plots embedded as data URLs that travel inside the file.
  • Tables as tables — HTML output tables kept as real markup, not screenshots.
  • Errors as errors — tracebacks styled as error blocks with the error name.
  • Widgets noted honestly — interactive outputs get a short note naming their mime types.

FAQ

IPYNB to HTML: frequently asked questions

Short answers about converting a Jupyter notebook to HTML — how nbconvert compares, what ends up inside the file, and whether the output works offline.

How do I convert IPYNB to HTML?

Use the converter at the top of this page: choose or drop in your .ipynb file and the browser builds a standalone HTML file — markdown as typography, code highlighted, plots and tables inline. Then download the .html file. No upload, no install and no terminal involved.

How do I convert a Jupyter notebook to HTML on the command line?

Run jupyter nbconvert --to html notebook.ipynb. nbconvert ships with Jupyter and writes a styled notebook.html next to your file. This page does the same job in the browser instead — useful when you received a notebook and have no Jupyter installed.

Is the HTML file self-contained?

Yes. The stylesheet, plots (inlined as data URLs), tables and text all live inside the one .html file, so it opens correctly offline and can be emailed or dropped on any static host without an asset folder. Only remote images whose host refuses browser requests stay as plain URLs.

How is this different from jupyter nbconvert --to html?

Both produce a shareable HTML page, and nbconvert is the right tool inside a pipeline you already have. This converter runs entirely in the browser: nothing is installed, nothing is uploaded, and the output is a simpler, leaner document you can restyle or diff.

Does the exported HTML work offline?

Yes — the file carries its own styles and embeds notebook images as data URLs. After you download it you can open it with no network connection at all, which is also a good way to verify nothing was uploaded during conversion.

What happens to LaTeX math in the HTML export?

Formulas are exported as their LaTeX source inside a styled code block. Embedding KaTeX markup would triple the file size, so the export keeps math copy-pasteable instead of rendered — paste it into any Markdown editor or LaTeX document and it works.

What happens to interactive widgets?

Widget and Plotly-style interactive outputs have no static form in a standalone file, so the export shows a short note in their place, naming the mime types involved. Stream text, tables, images and tracebacks all export normally.

How do I convert a Google Colab notebook to HTML?

In Colab use File → Download → .ipynb to save the notebook locally, then convert that file here. Colab has no direct HTML export that keeps plots inline; the downloaded notebook converts exactly like any other .ipynb file.

Can I turn the HTML back into a PDF?

Yes — the file includes a print stylesheet, so open it and use the browser print → save as PDF for a clean paginated document. For a pixel-faithful PDF built straight from the notebook, use the site IPYNB to PDF converter instead.

Is my notebook uploaded when I convert it here?

No. The file is read with the browser's File API, parsed as JSON and serialized inside the tab. You can disconnect from the network after the page loads and the conversion still works — which is also the practical proof that nothing is uploaded.

Is the IPYNB to HTML conversion free?

Yes, with no account, no file-size gate and no watermark on the output. The conversion runs on your own device, so there is no per-file cost to pass on — same as the site IPYNB to PDF and IPYNB to PY converters.

Why export a notebook to HTML at all?

Three common reasons: sharing results with people who do not run Jupyter, publishing a read-only snapshot of an analysis, and archiving a session so the outputs stay visible even when the kernel is long gone. An HTML file does all three with zero dependencies for the reader.

Try it with the notebook that has the good plots.

Drop it in, download the file, and open it somewhere without Jupyter — everything you saw while working should be right there in the page.

Convert a notebook to HTML