unoconv converts between any document formats that LibreOffice understands. It uses LibreOffice's UNO bindings for non-interactive conversion of documents. Supported document formats include Open Document Format (.odt), MS Word (.doc), MS Office Open/MS OOXML (.xml), Portable Document Format (.pdf), HTML, XHTML, RTF, Docbook (.xml), and more, but image, spreadsheet and presentation formats are also supported.
| Tags | Text Processing Filters Information Management |
|---|---|
| Licenses | GPL |
| Implementation | Python |
Recent releases


Release Notes: This release adds stability improvements using LibreOffice/OpenOffice, improvements to Mac OS X, Windows, and FreeBSD support (works out-of-the-box), a fix to the "encoded text" filter, changes and improvements to the export and import filter options (-e/-i), and various other improvements and documentation updates.


Release Notes: This release improves Windows, Mac OS X, OpenBSD, and Gentoo support, has been completely rewritten to support parallel LibreOffice/OpenOffice installations, uses the UNO_PATH environment variable to select the installation, and includes various small fixes and improvements.


Release Notes: Improved Linux, Mac OS X, and Windows support for OpenOffice 3. An updated filter list for OpenOffice 3. Unified Office Format support. The option -o/--outputpath to outputh converted files to a different path. Improved exit codes. A -T/--timeout option so that unoconv doesn't give up after one connection failure. Update links and indexes when converting. The option -t/--template to apply style templates during conversion (useful for providing documents with a forced corporate identity). Many other stability and functionality improvements.


Release Notes: The doctype is automatically selected. Listener and Convertor were implemented as separate classes. Mac OS X NeoOfice and OpenSUSE 10 path support was added. OpenOffice listener is started and stopped automatically if necessary. OpenOffice listener can now be started independently. An unoconv manual page was added.


Release Notes: This release adds support for graphics, presentation, and spreadsheet document types (+-100 exported formats are supported). Better detection of OpenOffice Python bindings. Better error output. Matching by extension if the backend does not match the name. Verbose output has been added.
Recent comments
20 Sep 2008 01:05
Page size
When converting from .html to .doc, you get a page that's as wide as the longest sentence (which, of course, can be quite wide). Is there an option to force, for example A4 or US Letter in the generated document, if applicable?
31 Aug 2007 19:34
Re: Conversion from pdf to eps
> Any suggestion? I tried a lot of
> softwares for this converstion but I
> cant use them as I need to support Mac
> Os, Linux and window. One alternative is
> uses pdf2ps (in mac and linux) and then
> ps2epsi. --> need to get .bat file for
> window.
If you cannot convert by opening/importing the file in OpenOffice and saving/exporting it to the desired output format, then unoconv is of no help either.
unoconv is designed to provide command-line batch conversion of files using UNO (Open Office bindings).
16 Jul 2007 18:21
Conversion from pdf to eps
I tried to use unoconv-01 and -02 to convert single page pdf document to eps file and i get this error:
C:\workspace\TestingPDFConversion>python.bat unoconv2.
py -b eps -d g openofficepage1.pdf
unoconv: error during conversion:
The provided document cannot be exported to Encapsulated PostScript [eps].
I am using OpenOffice2.2 and have uno, python 2.3 installed. Conversion from odt to word, odt to pdf are fine.
Any suggestion? I tried a lot of softwares for this converstion but I cant use them as I need to support Mac Os, Linux and window. One alternative is uses pdf2ps (in mac and linux) and then ps2epsi. --> need to get .bat file for window.