Tika

Tika is a toolkit for detecting and extracting metadata and structured text content from various documents using existing parser libraries.