docx-extractor

Extract text and tables from Word .docx files into plain text.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/Delay-n-days/dbcjson5 --skill docx-extractor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx-extractor
Source: https://github.com/Delay-n-days/dbcjson5/tree/main/.github/skills/docx-extractor
Command: npx skills add https://github.com/Delay-n-days/dbcjson5 --skill docx-extractor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, rich, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the extraction of all text content and structured table data from Word (.docx) documents, converting them into a clean, plain text format.

Core Features & Use Cases

  • Comprehensive Extraction: Extracts all paragraphs and tables, preserving their original order.
  • Structured Output: Presents extracted tables with clear row and column delineation.
  • Use Case: Ideal for processing technical specification documents, CAN communication protocol documents, or any report that needs its content digitized for analysis or archiving.

Quick Start

Use the docx-extractor skill to extract all content from the file named 'my_document.docx' and save it to 'extracted_content.txt'.

Frequently Asked Questions about docx-extractor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text and tables from a Word docx file into plain text?

Yes, table extraction from docx files preserves the original row and column structure by presenting extracted tables with clear delineations in the output text file. This ensures structured data remains readable and organized for analysis.

Do I need python-docx to process Word documents for text extraction?

Yes, you need python-docx installed for parsing Word documents, along with rich for enhanced console output. These dependencies are required to automate the extraction of text and table content from .docx files into plain text format.

What is the best way to digitize technical specifications and protocol documents from docx?

The best way to digitize technical specifications and protocol documents is using this docx extraction approach, which converts comprehensive text and table content into plain text. It is ideal for archiving or analyzing reports while maintaining original document order.

Why does my docx text extraction lose the original document order?

Docx text extraction loses original document order if the processing tool does not preserve paragraph and table sequences. This Skill specifically maintains the original order and structure, ensuring paragraphs and tables appear exactly as they do in the source document.

Can I extract content from multiple Word documents into separate text files?

You can extract content from Word documents by specifying the input docx file and the desired output text file name. The Skill processes the specified document to save all extracted text and tables into your designated plain text file.