Categories

Word Text Extractor

Extract text content from Word documents with support for formatting options, paragraph selection, and multi-language processing

Click to upload file or drag and drop file here

Maximum file size: 50MB Supported formats: application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/msword

Supports Word documents (.docx, .doc) up to 50MB

Specify paragraphs to extract (1-10 for range, 5 for single paragraph, 1,3,5 for multiple). Leave empty for all paragraphs.

Keep original layout, spacing, and formatting as much as possible

Clean up excessive spaces and line breaks

Add line numbers to the extracted text

API Documentation

Request Endpoint

POST /en/api/tools/word-text-extractor

Request Parameters

Parameter Name Type Required Description
wordFile file (Upload required) Yes Supports Word documents (.docx, .doc) up to 50MB
paragraphRange text No Specify paragraphs to extract (1-10 for range, 5 for single paragraph, 1,3,5 for multiple). Leave empty for all paragraphs.
outputFormat select No -
preserveFormatting checkbox No Keep original layout, spacing, and formatting as much as possible
removeExtraWhitespace checkbox No Clean up excessive spaces and line breaks
includeLineNumbers checkbox No Add line numbers to the extracted text
encoding select No -

File type parameters need to be uploaded first via POST /upload/word-text-extractor to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "result": "Processed text content",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}
Text: Text

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-word-text-extractor": {
      "name": "word-text-extractor",
      "description": "Extract text content from Word documents with support for formatting options, paragraph selection, and multi-language processing",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=word-text-extractor",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]