Skip to content
A simple converter from OpenDocument Text to plain text
C Makefile Groff
Find file
Failed to load latest commit information.
kunzip Sanity checks for broken length records in zipfiles
t Use string buffers in main program
win32 Added Dockerfile for building win32 binary
.gitignore Add .gitignore file
GPL-2 Resync license file with FSF version
INSTALL Added Dockerfile for building win32 binary
Makefile Makefile fixes for mingw32 added for github
mem.h copyright years
odt2txt.1 change version to 0.5
odt2txt.c Make libzip the default zip library
regex.c use REG_STARTEND flag if available
regex.h copyright years
strbuf.c copyright years
strbuf.h copyright years


A simple converter from OpenDocument Text to plain text

odt2txt is a command-line tool which extracts the text out of OpenDocument Texts produced by LibreOffice, OpenOffice, StarOffice, KOffice and others.

odt2txt can also extract text from some file formats similar to OpenDocument Text, such as XML, which was used by version 1.x and older StarOffice versions. To a lesser extent, odt2txt may be useful to extract content from OpenDocument spreadsheets and OpenDocument presentations.

odt2txt is…

  • small
  • supports multiple output encodings
  • adopts to your locale
  • able to substitute common characters which the output charset does not contain with ascii look-a-likes
  • written in C, has few dependencies
  • portable (runs on Linux, Mac OS X, Windows, *BSD, Cygwin, Solaris, HP-UX)
  • licensed under GPL, version 2
Something went wrong with that request. Please try again.