ipynb to pdf

IPYNB to DOCX

Notebook to Word,a document anyone can open.

Drop in an .ipynb file and download a genuine .docx: markdown headings as Word heading styles, code in shaded monospace blocks, lists and emphasis preserved, outputs placed under their cell — reviewable in Word, Google Docs, LibreOffice or Pages.

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 .docx download

A real Word document, zipped from Open XML parts in the tab.

0 bytes uploaded

Parsing and document assembly happen on your device.

6 apps that open it

Word, Google Docs, LibreOffice, Pages, WPS and Word Online.

6 notebook sources

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

What the file keeps

A Word document, not a text file with a .docx name.

The converter writes the Open XML parts and zips them in the browser, so the download is a genuine .docx — recognised by every word processor, not a renamed export.

A real Word document

Content types, relationships, styles and the document body are written to the Open XML spec and packaged as a ZIP — Word, Google Docs, LibreOffice and Pages all open it without a conversion warning.

Headings from markdown

Markdown headings become Word heading styles, so the navigation pane works and any table of contents you generate picks up the notebook structure automatically.

Code shaded and monospaced

Code cells sit in a shaded block with a monospace face and an indent, visually separated from the prose without needing a table or a frame around them.

Lists stay lists

Bullet and numbered markdown lists become real Word list styles — not lines that start with a dash — so bullets, numbering and indentation behave as the reader expects.

Inline formatting kept

Bold, italic, inline code and links convert to their Word equivalents with a clickable URL in the text, so emphasis and references survive the export.

Ready for review

A .docx is a format reviewers can annotate: send it to a supervisor, a colleague or a client and get tracked changes and comments back in the document itself.

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)
  • UTF-8 content, any language
  • title from the notebook or file name

Cell types

  • markdown → Word headings, lists, emphasis
  • code → shaded monospace paragraphs
  • raw cells as plain text
  • empty cells skipped

Output types

  • stream text as paragraphs
  • results and JSON verbatim
  • tracebacks complete and unstyled
  • images noted, not embedded

Known limits

  • figures are noted, not embedded
  • math appears as LaTeX source text
  • HTML outputs get a short note
  • one Word document per notebook

How it works

Three steps to the file.

Drop in an .ipynb file and download a genuine .docx: markdown headings as Word heading styles, code in shaded monospace blocks, lists and emphasis preserved, outputs placed under their cell — reviewable in Word, Google Docs, LibreOffice or Pages.

  1. 01

    Drop the notebook in

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

  2. 02

    Review the file

    A .docx is binary, so the stage shows a short note instead of a text preview — the download buttons carry the document itself.

  3. 03

    Download the .docx file

    Save notebook.docx and open it in Word, Google Docs, LibreOffice or Pages — the headings, code and lists are already formatted.

Every route from notebook to Word

From the browser converter above to Pandoc, nbconvert and the word processor you already have — pick the route that fits where you already are.

jupyter nbconvert --to docx

The nbconvert DOCX exporter produces a .docx by handing the notebook to Pandoc, optionally with a reference document and a LaTeX engine for the surrounding machinery. This page needs none of that: the document is assembled in the tab.

Jupyter's own menus

JupyterLab and classic Notebook have no built-in Word export at all — the closest options are HTML or PDF downloads, neither of which a supervisor can comment on in Word. This converter fills that gap.

Word, Google Docs and LibreOffice

Open the download directly in Word or upload it to Google Docs to convert it into a native document; LibreOffice and Pages read it as-is. Headings, lists and code styles all survive, so the file is ready to annotate and share.

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 genuine .docx document — with nothing installed and nothing uploaded.

What the file keeps (and what it drops)

  • Headings as Word styles — the navigation pane and any TOC work.
  • Code in shaded monospace blocks — indentation preserved exactly.
  • Lists and emphasis converted — real bullets, numbering, bold and italic.
  • Outputs as text paragraphs — stream text, results and tracebacks.
  • Links kept clickable — the URL travels in the sentence, not clipped.
  • A closing provenance note naming the source notebook file.

FAQ

IPYNB to DOCX: frequently asked questions

Short answers about turning a notebook into a Word document — what opens the file, how it compares to nbconvert and Pandoc, and what happens to figures and math.

How do I convert IPYNB to DOCX?

Use the converter at the top of this page: choose or drop in your .ipynb file and the browser assembles a real Word document — headings, shaded code blocks, lists and outputs. Download the .docx and open it in Word, Google Docs, LibreOffice or Pages. No upload, no install.

Is the download a real .docx file?

Yes. The converter writes the Open XML parts a Word document consists of — content types, package relationships, styles and the document body — and packages them as a ZIP in the browser. That is exactly what a .docx is, so no application treats it as a renamed text file.

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

The nbconvert DOCX exporter needs Pandoc installed and, depending on your configuration, a reference document and a LaTeX engine for the conversion. This page has no external dependency at all: the document is assembled in the tab, which also means nothing has to be uploaded to a server.

Will Word open the file without warnings?

Yes. The package contains the parts a Word document needs, including a styles part that defines every paragraph style the body references. Word, Word Online, Google Docs, LibreOffice, Pages and WPS all open it as an ordinary document.

What happens to plots and figures?

A figure has no text form, so image outputs become a short note naming where the figure sat instead of vanishing silently. For a document where the plots are rendered, use the IPYNB to PDF converter, which paginates the figures into the page.

How is math handled in the Word file?

LaTeX math appears as its source text — readable in the document but not typeset as equations. Rendering math in Word requires an OMML conversion pass that a browser-only export cannot do; the PDF converter typesets it properly.

Can I edit the .docx after downloading it?

Yes — it is an ordinary Word document. Headings, lists and code paragraphs are normal styled paragraphs, so you can retype prose, move sections, apply your own template, generate a table of contents from the headings, or add comments and tracked changes.

Does the .docx keep the code formatting?

Code cells land in a paragraph style that pairs a monospace face with a light shaded background and an indent, so code is visually distinct from prose and its indentation is preserved. Syntax colours themselves are not applied — the goal is a readable document, not an IDE.

Do code-cell outputs end up in the Word file?

Yes by default: stream text, results and tracebacks follow their code cell as text paragraphs with a lighter style, so a printed document walks the same path the notebook ran. Turn outputs off and the document carries the code and prose only.

Does the conversion work offline?

Yes. The file is read with the browser File API and the .docx parts are assembled inside the tab, so after the page loads you can disconnect the network and the conversion still works — which is also the practical proof that nothing was uploaded.

Is my notebook uploaded when I convert it here?

No. The notebook is parsed and the Word document written in the browser. No server is involved at any step, and closing the tab leaves nothing behind.

Is the IPYNB to DOCX conversion free?

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

A notebook the whole team can open.

Drop it in, download the .docx, and send a document anyone can read, comment on and print — with no notebook environment in sight.

Convert a notebook to Word