odt2txt
« Back to VersTracker
Description:
Convert OpenDocument files to plain text
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Productivity
Tags: text-processing documents cli odf utility
Install: brew install odt2txt
About:
Odt2txt is a command-line utility that extracts plain text content from OpenDocument Format (ODF) files, such as those created by LibreOffice or OpenOffice. It parses the internal XML structure of the document to retrieve text without requiring a full office suite. This makes it ideal for processing documents in headless environments or for indexing content in search systems.
Key Features:
  • Lightweight and dependency-free
  • Handles various character encodings
  • Preserves basic document structure
  • Fast processing of large files
Use Cases:
  • Indexing ODF documents for search engines
  • Processing documents on headless servers
  • Quickly extracting text for data analysis
Alternatives:
  • LibreOffice CLI – More powerful but requires a heavy installation of the full office suite.
  • pandoc – A universal document converter that can also extract text but is a larger dependency.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 8:50am 0 VERSION_BUMP 9ffd60b4