Convert IPYNB to DOCX

Turn IPYNB files into DOCX. Markdown cells become formatted Word text, code cells become code blocks and their outputs follow, including plots as pictures.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop IPYNB files on the dialor turn it to pick what to do

A notebook as a Word document.Text, code and results end up in one DOCX file, in the order of the notebook.

  1. What you get

    One Word document with the notebook's content in order. Markdown cells become formatted Word text, and code cells become code blocks. The outputs of each code cell follow the code.

    Plots come through as pictures, so charts stay visible in the document.

  2. What changes

    HTML outputs, such as styled tables, show their plain text form. The styling is not kept.

    Raw cells are left out of the document.

  3. When it stops

    If the notebook cannot be parsed, the conversion stops with input_corrupted. This happens when the file is not a readable notebook.

    The conversion has no options. Every notebook is converted the same way. To combine the result with other documents, use merge DOCX.

IPYNB and DOCX.What each format is.

The formats

From · IPYNB

Jupyter Notebook

Jupyter notebooks. Code cells, their outputs and Markdown notes in one JSON file.

Extensions
.ipynb
MIME type
application/x-ipynb+json
Kind
Text and data
To · DOCX

Word Document

Word's default document format since 2007. A zip of XML parts with the text, styles, images and tracked changes.

Extensions
.docx
MIME type
application/vnd.openxmlformats-officedocument.wordprocessingml.document
Kind
Documents

In your code.The same IPYNB to DOCX conversion through the API, for your app or your agent.

terminal
$ cv convert report.ipynb report.docx
$ cv convert report.ipynb report.docx

Questions.What people ask about IPYNB to DOCX.

01OF 04

Yes. Plots are placed in the document as pictures, after the code cell that made them.

They become formatted Word text.

No. HTML outputs such as styled tables show their plain text form.

No. Raw cells are left out of the DOCX file.

More conversions.Other ways in and out of IPYNB and DOCX.