How to convert IPYNB to HTML
- Drop your IPYNB file on the box above, or paste its content into the text box.
- Check the settings below the box; the defaults suit most files.
- Press Convert. You see a preview or a summary of the result.
- Download the .html file, or copy the text.
What is kept when you convert IPYNB to HTML
- Markdown cells, code cells with their In [n] numbers, and the outputs saved in the notebook — text, errors, PNG/JPEG/SVG charts — are kept in order.
- Nothing is executed: you get the outputs from the last time the notebook was run, exactly as saved.
- HTML outputs (for example pandas tables) are shown in sandboxed frames and the page carries a policy that blocks all scripts, so a notebook from someone else cannot run code in your browser.
Example
For a two-cell notebook (a Markdown heading, and a code cell that printed 0.25), the HTML body is:
Output
<div class="cell md"><h1>Growth</h1>
<p>Rate $g = b/a - 1$.</p>
</div>
<div class="cell code"><div class="in"><div class="prompt">In [1]:</div><pre><code class="language-python">%matplotlib inline
print(150 / 120 - 1)</code></pre></div><div class="out"><pre>0.25
</pre></div></div>
About IPYNB and HTML files
An .ipynb file is a Jupyter notebook: a JSON document holding Markdown cells, code cells and the outputs (text, tables, charts) saved the last time the cells were run. It opens in Jupyter, JupyterLab, VS Code, Google Colab.
HTML is the language of web pages. The files written here are complete pages with their styling built in, so they open directly in a browser. It opens in any browser; editable in any code editor.
Good to know
- Outputs are only as fresh as the last run. Run all cells and save the notebook in Jupyter before converting if you need current results.
- The HTML file needs no internet connection and no extra files, so it can be emailed or archived as is.
Privacy and limits
The file is read and converted by this page in your browser; there is no upload and no account. Notebook code is never executed — only the saved cells and outputs are converted. Files up to 25 MB are accepted; a file of the wrong type or a damaged file is rejected with the reason.