Skip to content

Supported Formats

JODConverter automates conversions that are actually performed by OOo. This means that if you can convert from format ABC to format XYZ from OOo (by opening ABC and saving/exporting to XYZ) then you can do the same with JODConverter. You have to discover the magic string used by OOo as the export filter name. A useful list can be found in the OpenOffice Wiki or the LibreOffice documentation.

That said, JODConverter maintains a registry of the most common formats, their associated file extensions, mime types, and OOo filter names to simplify your life. These predefined conversions are shown in the following table (if a format is not there, it doesn't mean that the format is not supported. The same is also true if the format is there and the conversion does not work. All conversions supported by your OOo installation are supported by JODConverter):

Format FamilyFrom (any of)To (any of)
Text *.odt    OpenDocument Text
*.ott    OpenDocument Text Template
*.sxw    OpenOffice.org 1.0 Text
*.rtf    Rich Text Format
*.doc    Microsoft Word
*.docx   Microsoft Word XML
*.wpd    WordPerfect
*.txt    Plain Text
*.html   HTML1
*.pdf    Portable Document Format
*.odt    OpenDocument Text
*.ott    OpenDocument Text Template
*.sxw    OpenOffice.org 1.0 Text
*.rtf    Rich Text Format
*.doc    Microsoft Word
*.docx   Microsoft Word XML
*.txt    Plain Text
*.html   HTML2
*.wiki   MediaWiki wikitext
Spreadsheet *.ods    OpenDocument Spreadsheet
*.ots    OpenDocument Spreadsheet Template
*.sxc    OpenOffice.org 1.0 Spreadsheet
*.xls    Microsoft Excel
*.xlsx   Microsoft Excel XML
*.csv    Comma-Separated Values
*.tsv    Tab-Separated Values
*.pdf    Portable Document Format
*.ods    OpenDocument Spreadsheet
*.ots    OpenDocument Spreadsheet Template
*.sxc    OpenOffice.org 1.0 Spreadsheet
*.xls    Microsoft Excel
*.xlsx   Microsoft Excel XML
*.csv    Comma-Separated Values
*.tsv    Tab-Separated Values
*.html   HTML2
Presentation *.odp    OpenDocument Presentation
*.otp    OpenDocument Presentation Template
*.sxi    OpenOffice.org 1.0 Presentation
*.ppt    Microsoft PowerPoint
*.pptx   Microsoft PowerPoint XML
*.pdf    Portable Document Format
*.swf    Macromedia Flash
*.odp    OpenDocument Presentation
*.otp    OpenDocument Presentation Template
*.sxi    OpenOffice.org 1.0 Presentation
*.ppt    Microsoft PowerPoint
*.pptx   Microsoft PowerPoint XML
*.html   HTML2
Drawing *.odg    OpenDocument Drawing
*.otg    OpenDocument Drawing Template
*.svg    Scalable Vector Graphics
*.swf    Macromedia Flash

 

  1. HTML can be used as an input format but you should not expect OOo to properly render complex web pages as Chrome or IE do. Works reasonably well for simple and "printer friendly" web pages only.
  2. HTML can be used as an output format but while all other formats always generate a single output file, HTML can produce multiple files. In addition to the HTML file in fact, any images contained in the input document will also be saved in the same directory. This requires extra care in your code, especially in a web environment.