Convert RST to DOCX

Turn RST files into DOCX. Headings, lists, tables, code, admonitions, footnotes and math become Word elements with the default styles, after the title, author and date.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Documentation as a Word file.Headings, lists, tables and code become Word elements with the default styles.

  1. What you get

    One DOCX file with your RST content as Word elements. Headings, lists, tables, code, admonitions, footnotes and math all become Word elements using the default styles.

    They follow the title, author and date, which come first in the document.

  2. What it changes or drops

    Directives that only Sphinx knows keep just their text. The directive itself is not carried over.

    Comments are dropped. Images become their description, so the picture itself does not appear in the Word file.

  3. Going the other way

    The styles are the Word defaults, so you may want to adjust them after conversion. To turn a Word file back into markup, use DOCX to RST.

RST and DOCX.What each format is.

The formats

From · RST

reStructuredText

reStructuredText, the markup of Python documentation and Sphinx.

Extensions
.rst
MIME type
text/x-rst
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 RST to DOCX conversion through the API, for your app or your agent.

terminal
$ cv convert report.rst report.docx
$ cv convert report.rst report.docx

Questions.What people ask about RST to DOCX.

01OF 04

Yes. Tables and code become Word elements with the default styles.

Directives that only Sphinx knows keep just their text. Standard elements such as admonitions, footnotes and math become Word elements.

No. Images become their description, so the Word file holds that text instead of the picture.

No. Comments are dropped and do not appear in the DOCX file.

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