Converting a notebook to HTML
The idea is straightforward: you get a single .html file that opens in any browser. No Python, no Jupyter, nothing to install. The whole notebook โ code cells, markdown, outputs, embedded images โ is packed into one file you can email, host on a static site, or drop into a docs folder.
When is this actually useful?
The most common case is sharing with someone who doesn't have Python set up. Instead of asking them to install Jupyter, you just send an HTML file that renders exactly like the notebook โ cell boundaries, outputs, everything included.
It's also good for hosting. If you have a GitHub Pages site or anything that serves static files, an HTML notebook page deploys with zero config โ MkDocs and Docusaurus will take it as-is. And if you want to archive the results of an experiment with all outputs frozen at a specific point in time, HTML is more reliable than re-running the notebook later and hoping nothing changed.
How to use it
- Upload your
.ipynbfile โ drag it onto the zone above or click "Choose File". - The conversion happens in your browser, so there's no wait for a server round-trip.
- Click Download to save the
.htmlfile, or use Copy if you just need the markup.
Your file never leaves your browser โ there's no upload happening in the background.
What's in the output
Code cells come out in monospace with cell numbering. Markdown cells are rendered โ headings, lists, bold, inline code. Outputs are preserved: plain text, stderr, and any PNG or JPEG images the notebook generated. The styles are all inlined, so the file has no external dependencies and works offline.
One thing it doesn't do: it doesn't re-execute any cells. Whatever was saved in the notebook when you exported it is what you'll see in the HTML. If your notebook hasn't been run yet, code cells won't have any output. Run it first in Jupyter, Colab, or VS Code, save it, then convert.
Frequently asked questions
Yes, download it from Colab first (File โ Download โ Download .ipynb), then upload it here. Colab notebooks are standard .ipynb files, so it works the same as any Jupyter notebook.
nbconvert does the same job and can produce a slightly richer output (collapsible cells, etc.), but it requires Python and Jupyter installed. This runs in your browser and works anywhere, which makes it faster to reach for when you don't have a local environment or just want a quick export.
Up to 10 MB. If your notebook is larger, it's usually because of embedded images in the outputs. Clearing outputs and re-running only the cells you want to include will bring it under the limit.
Yes. All styles are inlined and there are no external scripts or fonts loaded. Once downloaded, the file renders the same whether you're online or not.
Other notebook tools
Need a different format?