A simple converter from OpenDocument Text to plain text
Switch branches/tags
Clone or download
root
root Convert xml-protected spaces to real spaces
Because they can disturb later processing. See #9.
Latest commit 56b945e Sep 28, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
kunzip Sanity checks for broken length records in zipfiles Jul 19, 2015
t Use string buffers in main program Nov 27, 2006
win32 Added Dockerfile for building win32 binary Jul 20, 2015
.gitignore Add .gitignore file Nov 21, 2014
GPL-2 Resync license file with FSF version Jul 19, 2015
INSTALL Mention requirement of libzip in INSTALL Sep 28, 2017
Makefile Compile for Msys2 Aug 8, 2017
README.md added README.md for github Nov 29, 2013
mem.c Properly compare mem_num_malloced == mem_num_freed Sep 28, 2017
mem.h
odt2txt.1 added option --raw-input which sets that the input file can be XML fi… Nov 27, 2014
odt2txt.c Convert xml-protected spaces to real spaces Sep 28, 2017
regex.c use REG_STARTEND flag if available Sep 8, 2009
regex.h copyright years Jul 23, 2009
strbuf.c added option --raw-input which sets that the input file can be XML fi… Nov 27, 2014
strbuf.h

README.md

odt2txt

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 OpenOffice.org XML, which was used by OpenOffice.org 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