Data Format Conversions

reStructuredText to HTML Converter

Convert reStructuredText (.rst) — READMEs, Sphinx and docutils documents — to HTML. Headings, lists, code blocks, tables, notes and warnings, links, images, footnotes and substitutions are converted in your browser.
Runs in your browserLive result

Workspace

Options

Adds <!DOCTYPE>, <head> and <title>; turn off for a fragment to paste into a page.

How to use this tool

  1. 1Open an .rst file or paste reStructuredText.
  2. 2Choose the HTML options.
  3. 3Check the rendered preview below.
  4. 4Download the .html file.

Frequently asked questions

Sections, inline markup and roles, links and targets, bullet/enumerated/definition/field lists, literal and code blocks, block quotes, notes and warnings, images and figures, grid, simple, list-table and csv-table tables, footnotes, substitutions and the contents directive.

They need other files or your Python package, which a browser tool cannot read, so they are left out with a note. Cross-reference roles such as :ref: and :func: are converted to links and code.

Text is escaped, and javascript: links are blocked. Content from a ".. raw:: html" directive is passed through as written, so review it if the file came from someone else.

No. The conversion runs in your browser with JavaScript. Your file or pasted text is not uploaded, logged or stored by MuhammadLab.