Universal File Extractor icon

Universal File Extractor

Extract plain text from .pdf, .doc and .docx files

Universal File Extractor

AI-generated

Summary

Extract plain text from PDF, DOC, and DOCX files provided as binary data, returning the text in a specified JSON field.

Inputs

  • binaryPropertyName (required) — Name of the binary property containing the file (commonly 'data').
  • outputFieldName (required) — Name of the JSON field where the extracted text will be stored.
  • includeHeadersFooters — Boolean to include header and footer text when extracting from DOCX/DOC files.
  • includeFootnotes — Boolean to include footnote text when extracting from DOCX/DOC files.

Output shape

a list of items, each containing the original binary data plus a JSON field with extracted text under the specified outputFieldName; also includes a '_wordExtractor' JSON object with extraction metadata (fileName, fileType, charCount).

Supports only PDF, DOC, and DOCX files; throws an error if file type is unsupported or text extraction yields very short or empty results. If 'continueOnFail' is enabled, items with extraction errors include an error message field instead of failing the entire execution.

Links

Discussion