Extract plain text content from a Word document
Only .docx format (Word 2007 and later) is supported — the older .doc format is not. Extraction keeps text only: each table row becomes one line (cells separated by tabs), list items get a '•' or number prefix, and original fonts, colors, images and other formatting are not preserved. Everything runs locally in your browser, and your file is never uploaded.
Word to TXT pulls the plain text out of a .docx document. After you choose a file, the page shows all the extracted text, which you can copy with 'Copy all' or save as a text file with 'Download .txt'. Only the text content is kept: each table row becomes one line (cells separated by tabs) and list items get a '•' or '1.' prefix; fonts, colors, images and table borders are not kept. It supports the .docx format used since Word 2007 only. Older .doc files cannot be used directly and must first be re-saved as .docx in Word.
We ran a generated .docx test document through the same logic the tool uses (mammoth converts to HTML, then the nodes are walked back into text). The document contained, in order: a Heading 1 '季度报告' (Quarterly Report), a sentence with one bold and one italic word, two bullet items, two numbered items, a two-row, two-column table (姓名, 分数, 小明, 90), and a closing paragraph. The output was: the heading, a blank line, the sentence, a blank line, '• 列表项一' and '• 列表项二' on adjacent lines, a blank line, '1. 第一步' and '2. 第二步', a blank line, '姓名[tab]分数' and '小明[tab]90' on adjacent lines, a blank line, and the closing paragraph. Bold and italic marks disappear and only the words remain; list items now carry a bullet or number; and each table row is one line with tab-separated cells, which usually pastes into Excel or a Word table as rows and columns.
.doc is the binary format used by Word 2003 and earlier, while .docx has been used since Word 2007. Their internal structure is completely different, and this tool can only parse the latter. The fix is easy: open the file in Word or WPS, choose Save As, pick .docx, and upload that.
The tool does not draw table lines, but it keeps the row and column relationship: each row becomes one line and cells are separated by tabs, so pasting into Excel usually splits them into columns. If you need the full table structure (here merged cells are only padded with empty columns, not preserved as merges), use the site's Word to HTML tool, whose output contains table tags.
They are left out, and no placeholder is inserted. The result is plain text only. If you need the pictures, go back to the original document.
The body text is read in full, and lists get bullet or number prefixes while tables become tab-separated rows, but these are regenerated by the tool and are not Word's own numbering or borders. The output suits reusing content, searching or further editing, but it is not a faithful archive of the layout.
The file is parsed in your browser, so speed depends on document size and your device. While it works, the page shows 'Extracting text…' and the file picker is disabled until the result is ready. No size limit is set in the code.
The file is read into binary data in your browser and processed locally by an extraction library that the page loads on demand. The code contains no request that uploads the document to a server, so its contents do not leave your device. The result lives only in the page's memory and is gone when you close or refresh the page.