Convert DOCX to RST

Turn DOCX documents into reStructuredText. A reStructuredText document with headings, lists, tables, links and footnotes.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Word documents as reStructuredText.Headings, lists, tables, links and footnotes come across as RST markup.

  1. What you get

    One RST file with the structure of the Word document. Headings, lists, tables, links and footnotes are written as reStructuredText, the markup used by Python documentation and Sphinx.

  2. What it leaves behind

    Images are not kept. Each one is replaced by its alt text, so a picture appears in the RST file as a short piece of text.

  3. When it fails

    If the DOCX cannot be parsed, the conversion stops with input_corrupted. No RST file is produced in that case.

DOCX and RST.What each format is.

The formats

From · 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
To · RST

reStructuredText

reStructuredText, the markup of Python documentation and Sphinx.

Extensions
.rst
MIME type
text/x-rst
Kind
Text and data

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

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

Questions.What people ask about DOCX to RST.

01OF 04

The output is reStructuredText, the markup Sphinx documentation is written in. It has headings, lists, tables, links and footnotes.

They are replaced by their alt text. The image itself is not in the RST file.

No. The conversion has no options, and it produces one file.

The DOCX could not be parsed. The conversion stops there and gives no RST output.

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