md2nativedocx

Free and open source · public domain

Markdown to LibreOffice, flowcharts included

Paste Markdown, get an OpenDocument text (.odt) for LibreOffice Writer, where Mermaid flowcharts are native LibreOffice shapes with attached connectors.

How it works

  1. Write or paste Markdown

    Headings, tables, lists, code, maths, and diagrams in ```mermaid or ```plantuml blocks. Or open a .md file.

  2. Converted in your browser

    Pandoc, the standard document converter, runs inside this page. The flowcharts are drawn as native LibreOffice shapes, not as pictures.

  3. Edit everything in LibreOffice

    Click a box to retype it, drag it and its connectors follow; the rest is ordinary Writer text.

Questions

Which diagrams are drawn in LibreOffice?
Flowcharts, as native LibreOffice shapes whose connectors stay attached when a box moves. The other Mermaid diagram types are not drawn in .odt yet: each is left as a note. The rest of the document (headings, tables, lists, maths) converts as usual.
Does the rest of the document convert properly?
Yes, Pandoc converts it: headings as Word heading styles, tables, lists, footnotes, code, and LaTeX maths as Word equations. The VS Code extension and the command line also apply your company’s Word template and page setup.
Is my document sent to a server?
No. The page downloads Pandoc and the diagram engine once, then converts on your computer. Your text never leaves the browser, which you can check in its developer tools: the page is not allowed to contact any other site.

Other conversions

Also where you already work