.rst
📄 DocumentText-based

.rst File — reStructuredText

text/x-rst

File Inspector

Drop any file to identify its extension and type — runs entirely in your browser

RST

Drop a .rst file here or click to choose

Or drop any file to identify its extension

Expected MIME type:text/x-rst

Quick Facts

Extension.rst
Full NamereStructuredText
MIME Typetext/x-rst
CategoryDocument
TypeText-based (human-readable)
Typical Size1 KB – 100 KB
First Appeared2001

What Is a .rst File?

reStructuredText (rST) is a lightweight markup language that is part of the Python Docutils project. Created by David Goodger in 2001, rST is the standard documentation format for Python projects and is the markup language used by the Sphinx documentation generator. rST provides richer semantic markup than Markdown, with support for footnotes, citations, tables, cross-references, automatic table of contents generation, and extensible directives and roles. The syntax uses underlined headings, indentation-based structure, and inline markup with special characters. rST is particularly powerful for large documentation projects because of its ability to split content across multiple files, create sophisticated cross-reference systems, and output to multiple formats including HTML, PDF, LaTeX, EPUB, and man pages. While more complex than Markdown, rST offers features essential for comprehensive technical documentation, including domain-specific markup for documenting APIs, configuration options, and command-line interfaces.

How to Open .rst Files

VS Code
Sphinx
any text editor
PyCharm
Sublime Text

Related File Extensions

More Document File Extensions

Other document formats you might encounter

Browse File Extensions by Category

Explore our reference of 259 file extensions with details, programs, and related formats.