LibreOffice Writer can open and save Markdown files since version 26.2, which The Document Foundation released on February 4, 2026. To export a document to Markdown, choose File > Save As and select Markdown Document (.md) in the File type box. To import, open the .md file with File > Open or paste Markdown text into a Writer document. Versions before 26.2 have no Markdown filter, so an older installation has to be updated first.
The launch announcement listed Markdown import and export among the release’s main additions, next to compatibility fixes and faster handling of large documents. The suite runs on Windows, macOS and Linux.
How to export a Writer document to Markdown
The LibreOffice help page on Markdown gives these steps:
- Open the text document in Writer.
- Choose File > Save As.
- Enter a file name.
- In the File type box, select “Markdown Document (.md)”.
- Click Save.
After Save As, the open window is the .md file. If the document will keep layout that Markdown cannot hold, save it as .odt first and export afterwards, so the formatted original stays on disk.
The help page and the 26.2 release notes describe the feature for Writer text documents. They do not describe a Markdown export for Calc spreadsheets or Impress slides.
How to import or paste Markdown
- Open a file. Choose File > Open and select the .md file. If the file has another extension, such as .txt, select it and pick “Markdown Document (.md, .markdown)” in the File type box.
- Paste text. Markdown pasted into a Writer document is turned into headings, lists and character formatting with Writer’s default styles. The release notes list clipboard import alongside file import.
- Use a template. Styles from a custom template can replace the defaults. The release notes say ODT and DOCX templates both work. From the command line, the help page gives this form for applying template.ott to test.md:
soffice --infilter='Markdown:{"TemplateURL":{"type":"string","value":"./template.ott"}}' test.md
What carries over, and what does not
LibreOffice follows the CommonMark specification, according to its help page. A developer write-up from the people who built the export names lists, images, tables, block quotes, code spans and code blocks among the elements it handles. Anything Markdown has no syntax for, such as fonts, colors and page layout, is not written to the .md file.
Before moving a real workflow, export one representative document and open the result in the program that will use it. Our guide to testing an export before you move your notes lists what to compare.
Which LibreOffice version you need
- Markdown import and export: LibreOffice 26.2 or later.
- Current downloads: the download page offers 26.8.2 and 26.2.7. LibreOffice 26.8 was announced on August 26, 2026 and its 26.8.2 update on October 29, 2026.
- Changes since 26.2: the 26.8 release notes do not list Markdown changes.
The help page, release notes and download page were checked on November 6, 2026.
Find related coverage at the Apps & Software desk.




