IPYNB Hub 中文 Convert free

Free · runs 100% in your browser

IPYNB to HTML: export a standalone web page locally

Convert Jupyter and Google Colab .ipynb notebooks into clean, standalone HTML files right in your browser. Zero upload, embedded styles, charts, and KaTeX math.

  • No upload
  • Standalone or fragment
  • Charts & math intact

Drop your .ipynb file here

or

Exported on this device — never uploaded

Works with .ipynb files from

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

3 steps

How to convert ipynb to html in 3 steps

Export shareable web pages from Jupyter and Colab notebooks without installing Pandoc or nbconvert.

  1. 1

    Load your .ipynb file

    Drop your .ipynb notebook onto the exporter or load the built-in sample to preview the HTML layout.

  2. 2

    Customize & inspect HTML

    Toggle Hide code, Hide outputs, or Standalone HTML and switch between visual preview and raw HTML source.

  3. 3

    Copy or download .html

    Copy the markup directly or download a self-contained .html file ready to share or embed.

Why convert ipynb to html locally?

Sharing an analysis on an internal wiki, static website, LMS portal, or project documentation often works better as HTML than PDF: tables stay copyable, text reflows naturally across desktop and mobile screens, and a single HTML file opens in any browser without Python or Jupyter. Our ipynb to html converter turns .ipynb files into clean HTML directly inside your browser tab, so confidential notebooks never leave your computer.

Unlike jupyter nbconvert --to html, which bundles heavy Bootstrap scripts and requires a local Python environment, this exporter outputs lightweight semantic markup in seconds and lets you inspect both the rendered page and the raw HTML source before downloading.

Standalone HTML vs. HTML fragment

  • Standalone HTML (default): Wraps your notebook in a complete <!doctype html> document with embedded warm-paper CSS and print styles, plus the KaTeX stylesheet link whenever math equations are detected. Double-clicking the downloaded .html file opens a finished, readable report in any browser.
  • HTML fragment: Unchecking Standalone HTML outputs only the <article class="nb">...</article> body markup without <head> or global styles. Use this mode when pasting a notebook walkthrough into WordPress, Ghost, Notion embeds, or a static site generator template.

What gets preserved in the HTML export

  • Markdown, math, and tables: Headings, lists, blockquotes, fenced code blocks, Markdown tables, and $...$ / $$...$$ LaTeX equations render cleanly.
  • DataFrames and rich outputs: Pandas text/html DataFrames, stdout / stderr logs, and ANSI-stripped error tracebacks keep clean borders and readable monospace formatting.
  • Embedded plots and attachments: Base64 PNG/JPEG figures, inline SVG plots, and Markdown cell attachments stay embedded directly inside the exported HTML file, so images do not break when emailed or opened offline.
  • Hide code or outputs: Checking Hide code, Hide outputs, or Hide In [n] genuinely omits those elements from the exported HTML markup rather than merely hiding them with CSS—ideal for publishing executive summaries with zero stray source code.

Common issues when exporting ipynb to html

Interactive JavaScript charts (such as Plotly) do not appear in the exported HTML. For security, embedded <script>, <iframe>, and inline on* event attributes inside cell outputs are stripped during sanitization. Export static PNG or SVG images from your plotting library when you need reliable offline HTML rendering.

LaTeX equations need internet access to load KaTeX styles. In Standalone HTML mode, math expressions are pre-rendered into KaTeX HTML nodes in memory; only the KaTeX CSS font stylesheet references jsDelivr when math is present.

Charts are missing even in the preview. If cell outputs were cleared before saving the .ipynb file, no plot data exists inside the JSON. Re-run the notebook cells and save before exporting.

Need a fixed-page handout or raw Python instead? Use our IPYNB to PDF converter for paginated submission files, open notebooks quickly in the IPYNB viewer, or extract runnable code with IPYNB to PY.

Frequently asked questions

Spotted an edge case? Email contact@ipynbhub.com.

Is my notebook uploaded when converting ipynb to html?

No. Your .ipynb file is parsed locally in your browser with FileReader and exported directly from memory. No server ever receives your notebook.

What is the difference between Standalone HTML and an HTML fragment?

Standalone HTML wraps the notebook in a complete <!doctype html> page with embedded CSS so it opens cleanly anywhere. Unchecking it outputs a minimal <article> fragment for CMS or blog templates.

Are charts and images embedded inside the exported HTML?

Yes. Plots stored as PNG, JPEG, or SVG inside the .ipynb outputs and Markdown attachments remain embedded in the exported HTML so they display offline.

Does Hide code remove code from the downloaded HTML file?

Yes. When you check Hide code, Hide outputs, or Hide In [n], those elements are omitted from the generated HTML code as well as the preview.

Is untrusted HTML inside notebook outputs sanitized?

Yes. Both nbformat 4 and legacy nbformat 3 notebooks are parsed, and cell outputs are sanitized to strip unsafe scripts or inline event handlers.

More tools

More local notebook tools

Switch between viewing, PDF printing, HTML export, and Python extraction — zero upload across every tool.

Export your notebook as clean HTML.

Free, private, no sign-up. Your .ipynb file never leaves your computer.

Export an HTML file