OnlineTextLab
Esc

DOCX to TXT Converter

Plain text from a Word file, with list numbers, table rows and footnotes still making sense.

Drop your Word file here

Or paste it with Ctrl V

or drop it here

Accepts .docx. Tables become tab-separated lines, and list numbers stay in place.

Runs on your device. Your files and text are not uploaded.

About DOCX to TXT

Copying out of Word into a plain text box usually loses something. Numbered steps lose their numbers, tables collapse into a column of single words, and footnote markers vanish. This tool reads the document itself, so you get a .txt file that still reads the way the page did.

People reach for it when text has to go somewhere that cannot take formatting: a code repository, a content system with its own editor, a form field, a translation vendor, or a script that processes words. You get the text on screen to read and copy, and a UTF-8 .txt download named after your document.

How it works

A .docx file is a ZIP package with the body stored in word/document.xml. The tool parses that XML as a tree instead of searching it for text, which matters more than it sounds. A tree reader can tell that w:delText is tracked-change text that was deleted, that w:instrText is a field code such as PAGE and not words on the page, and that a run marked w:vanish is hidden. All three are skipped.

List markers are rebuilt from word/numbering.xml, so a Word-numbered step comes out as 2. Second step even though the digit is not stored in the text. Bullets become hyphens, indented two spaces per level. Each table row becomes one line with tab characters between cells. Text boxes appear once, after the paragraph they are anchored to, even though Word stores a modern and a legacy copy of each. Footnotes and endnotes get a [1] marker in place and are listed under a Notes heading at the end.

How to use DOCX to TXT

  1. Press Select a Word file or drop a .docx on the page. Try it with a sample file if you have none handy.
  2. The text appears straight away, with counts of words, characters and paragraphs above it.
  3. Press Download .txt to save the file, or Copy to put all of it on the clipboard.

A real run on the sample file

Input
Word document with a heading, a bulleted list, a numbered list and a three-column table
Output
What to bring

- Water bottle
- Rain jacket
- Notebook and pencil

Schedule

1. Meet at the main gate
2. Walk to the river
3. Collect water samples

Time	Activity	Lead
09:00	Registration	Priya
10:30	Sampling	Tomas

Notice that the step numbers and the table survive. The gaps between Time, Activity and Lead are tab characters, so this table pastes into a spreadsheet as three columns.

When it helps

  • Feeding a report into a text analysis script that chokes on Word files
  • Handing copy to a developer who will paste it into a template
  • Pasting a contract clause into a system that strips formatting anyway, while keeping its numbering
  • Keeping an archive copy of a document's words that any program can open in twenty years

Tips for a better result

  • Accept or reject tracked changes in Word first if you need a final version. This tool treats insertions as accepted and deletions as gone, so what you see is the document with every change accepted.
  • Line breaks made with Shift+Enter in Word stay as line breaks, so text pasted into Word from an email can come out in short lines. Fix those in Word first with a find and replace if you need flowing paragraphs.
  • When you need headings and bold to survive as well, use DOCX to Markdown, which keeps that structure in a form that is still plain text.

Good to know

  • Headers, footers and review comments are not included. Only the body, its text boxes and its notes are.
  • Images and charts have no text, so they leave nothing behind. Words inside a picture of a page would need OCR.
  • It reads .docx only. An old .doc file gets a message asking you to save it as .docx in Word first.
  • Password-protected documents cannot be read, because their contents are encrypted.

Questions people ask

Why do my numbered lists keep their numbers here but not when I paste from Word?

Word stores numbering as a rule, not as characters in the text, and many paste targets drop that rule. This tool works out each number from the document's numbering definitions and writes it into the text.

Will deleted tracked changes show up in the text?

No. Text inside a tracked deletion is stored separately and is left out, and tracked insertions are included. The result reads as if you had pressed Accept All in Word.

What encoding is the TXT file?

UTF-8, without a byte order mark. Accented letters, Chinese, Arabic and emoji all come through unchanged, and any modern editor opens it correctly.

Why does my count differ from the number on Word's status bar?

The count here covers the body text and text boxes, and leaves out footnotes. Word can include or exclude text boxes and notes depending on a setting. For a fuller breakdown, use the DOCX Word Counter.

What to use next

Learn more

Last reviewed . Read our editorial policy.