This project is not covered by Drupal’s security advisory policy.
Document Loader Tika provides a Document Loader plugin that extracts text from files with Apache Tika. One loader covers Word documents, PDFs, presentations, spreadsheets, HTML, Markdown and plain text.
Features
- Two ways to run Tika:
- Tika server: sends the file to an Apache Tika REST API.
- Local Tika executable: runs a
tika-appJAR on the web server, with no shell involved.
- Two output formats: plain text, or XHTML that keeps headings, lists and tables.
- Used automatically for its document types, unless another loader is set as the default.
- Status report entries that show whether the Tika server or JAR responds.
- Every extraction is logged: the mode, the file name, and either the character count and time taken or the reason it failed.
- Every setting can be overridden per environment in
settings.php.
Post-installation
Open the Apache Tika tab of the Document Loader settings (/admin/config/media/document-loader/tika). Choose a mode, then enter either the Tika server URL or the absolute path to the tika-app JAR. The timeout defaults to 30 seconds.
The quickest way to get a Tika server is the official Docker image:
docker run -p 9998:9998 apache/tika:3.3.1.0
Additional requirements
- Drupal 10.4 or 11
- Document Loader 2.0 or later
- One of the following:
- a reachable Apache Tika server, or
- Java on
PATHand a readabletika-appJAR on the web server.
Similar projects
Search API Attachments also uses Tika, but only to index file contents for Search API. This module works through the Document Loader framework, so any code that uses Document Loader can get the extracted text, for example AI and automation features.
Project information
- Project categories: Automation, Integrations, Media
- Ecosystem: Text Extract for Drupal using Tika
- Created by joevagyok on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Initial alpha release.
Development version: 1.0.x-dev updated 24 Nov 2026 at 15:09 UTC
