Supported formats

On this page

The server opens these formats for editing and saves them to the formats on the right — the list get_supported_formats returns on server 26.10.0. The library’s canonical matrix: supported document formats.

FamilyOpensSaves toParts
Word processingDOCX, DOC, DOCM, DOT, DOTX, DOTM, ODT, OTT, RTF, WordMLDOCX, DOC, DOCM, DOT, DOTX, DOTM, RTF, ODT, OTT, PDF, XPS, TXT, MD, MHTML, EPUB, MOBI, AZW3the whole document; form fields
SpreadsheetXLSX, XLS, XLSB, XLSM, XLT, XLTX, XLTM, XLAM, ODS, FODS, SXC, CSV, TSV, DIFXLSX, XLS, XLSM, XLSB, XLTX, XLTM, XLT, ODS, CSV, TSV, PDF, XPS, TXT, MHTMLone worksheet per call
PresentationPPTX, PPT, PPTM, PPS, PPSX, PPSM, POT, POTX, POTM, ODP, OTPPPTX, PPT, PPTM, PPS, PPSX, PPSM, POT, POTX, POTM, ODP, PDF, XPSone slide per call
PDF (fixed layout)PDFthe Word-processing list, PDF includeda page range
Text and markupTXT, MD, HTML, MHTML, XML, JSON, CHMthe Word-processing listthe whole document
E-bookEPUB, MOBI, AZW3the Word-processing listthe whole document
EmailEML, EMLX, MSG, MHTML, ICS, VCF, MBOX, PST, OST, OFT, TNEFEML, EMLX, MSG, MHTMLthe message

Four rules that explain most results

  • Workbooks and presentations are edited one part at a time. replace_text and extract_html take worksheet or slide (default 1); save_from_html splices the part back with sourceFile.
  • PPTX and email need the original to save. HTML alone becomes DOCX, XLSX, PDF, TXT, Markdown or EPUB; a presentation or a message needs sourceFile.
  • PDF is converted, not patched. It becomes flowing HTML; save the edit as DOCX when fidelity matters — turn a PDF into Word.
  • Form fields are Word only. get_form_fields reads DOCX, DOC, DOCM, DOT, DOTX, RTF and ODT.

On this page