SuperAPI AI Directory

doc-to-txt

Office & productivity

View repository

Updated 10-15 17:34

About this skill

Doc to TXT Document Conversion

Convert DOC, DOCX, and PDF files to TXT plain text format.

Usage

uv run {baseDir}/scripts/convert.py <输入文件路径> [--output <输出文件路径>]

Parameter Description

Parameter Description
<输入文件路径> The document file to convert (supports .doc, .docx, .pdf)
--output Optional, output txt file path (defaults to a .txt file with the same name in the same directory)

Example

Convert PDF to TXT:

uv run skills/doc-to-txt/scripts/convert.py document.pdf

Specify output file:

uv run skills/doc-to-txt/scripts/convert.py report.docx --output output.txt