RST Format Guide

RST — reStructuredText, the lightweight markup language used by Python documentation and the Sphinx documentation generator

About RST Format

RST (reStructuredText) is a lightweight markup language that is part of the Docutils project. It uses plain text files with the .rst extension and provides a simple yet powerful syntax for creating structured documents. reStructuredText was designed to be readable in its raw form while supporting rich output formats through processing tools.

RST is the default markup language for Python documentation and is used extensively with the Sphinx documentation generator. It powers ReadTheDocs, one of the largest documentation hosting platforms, and is the standard for documenting Python packages, libraries, and frameworks. The format supports cross-references, automatic indexing, code highlighting, directives, and roles that make it ideal for technical documentation.

Advantages

  • Standard markup language for the Python ecosystem and Sphinx documentation
  • Powers ReadTheDocs — the largest open-source documentation hosting platform
  • Rich directive and role system for extensible document features
  • Built-in support for cross-references, footnotes, and citations
  • Automatic table of contents, index generation, and document linking
  • Plain text format — human-readable, version-control friendly
  • Multiple output formats supported (HTML, PDF, EPUB, LaTeX, man pages)
  • MIME type: text/x-rst

Disadvantages

  • Steeper learning curve compared to Markdown
  • Less widely known and used outside the Python community
  • Strict whitespace and indentation rules can be error-prone
  • Fewer editors and tools with native RST support compared to Markdown
  • Verbose syntax for some common formatting tasks

Available Conversions

RST to ADOC

Convert reStructuredText to AsciiDoc format

RST to AsciiDoc

Convert reStructuredText to AsciiDoc markup

RST to AZW3

Convert RST document to Kindle e-book

RST to Base64

Encode RST content in Base64

RST to BBCode

Convert reStructuredText to BBCode markup

RST to CSV

Export RST content to CSV format

RST to DOC

Convert RST document to Word format

RST to DocBook

Convert reStructuredText to DocBook XML

RST to DOCX

Convert RST document to Word OOXML

RST to EPUB

Convert RST document to EPUB e-book

RST to EPUB3

Convert RST document to EPUB3 e-book

RST to FB2

Convert RST document to FictionBook

RST to HEX

Encode RST content in hexadecimal

RST to HTML

Convert reStructuredText to HTML page

RST to INI

Convert RST content to INI format

RST to IPYNB

Convert RST to Jupyter Notebook format for interactive computing

RST to JIRA

Convert RST to Jira markup format for Atlassian tools

RST to JSON

Convert RST content to JSON structure

RST to LaTeX

Convert reStructuredText to LaTeX source

RST to LOG

Export RST content as log file

RST to Man

Convert reStructuredText documents to Unix man page format

RST to Markdown

Convert reStructuredText to Markdown

RST to MD

Convert reStructuredText to MD format

RST to MediaWiki

Convert RST to MediaWiki markup

RST to MOBI

Convert RST document to Mobipocket e-book

RST to ODT

Convert RST document to OpenDocument

RST to ORG

Convert reStructuredText to Org-mode

RST to PDF

Convert RST document to PDF

RST to PPTX

Convert RST document to PowerPoint

RST to Properties

Convert RST content to Java Properties

RST to RTF

Convert RST document to Rich Text Format

RST to SQL

Generate SQL from RST content

RST to SVG

Convert RST content to SVG format

RST to SXW

Convert RST document to StarOffice Writer

RST to TEX

Convert reStructuredText to TeX source

RST to TEXT

Convert reStructuredText to plain text

RST to Textile

Convert reStructuredText to Textile markup

RST to TOML

Convert RST content to TOML format

RST to Typst

Convert RST to Typst format for modern typesetting

RST to TSV

Export RST content to tab-separated values

RST to TXT

Convert reStructuredText to plain text file

RST to Wiki

Convert reStructuredText to Wiki markup

RST to XLSX

Export RST content to Excel spreadsheet

RST to XML

Convert RST content to structured XML

RST to YAML

Convert RST content to YAML format

RST to YML

Convert RST content to YML format