Skip to content

Convert

DOCX to TXT

DOCX to TXT

Beta

Turn Word .docx files into plain UTF-8 text. Copy the text, or download a .txt for each file; drop several and get them in one .zip. Runs in your browser.

  • Free, no sign-up
  • Updated
  • Reviewed by Olgun Ozoktas
Drop .docx files hereor click to browse. Pull the plain text out of a Word file.
  • Runs in your browser
  • No uploads
  • Never modifies your file

Plain text only. Formatting, images, comments, headers and footers are not kept, and list bullets and numbers are left out because Word generates them rather than storing them as text. Your document is read in this tab and is not uploaded.

How to convert DOCX to TXT

  1. Drop the .docx files

    Drag one or more Word documents onto the drop area, or click to choose them. Each one is converted as soon as it is read.
  2. Pick the spacing

    Keep a blank line between paragraphs, or turn it off to put each paragraph on the next line. Collapse extra blank lines turns runs of empty paragraphs into one blank line.
  3. Check the text

    Each file shows its word and character counts and a read-only preview of the text you will get.
  4. Copy or download

    Copy the text, or download it as a .txt named after the document: report.docx becomes report.txt. With several files, Download all gives one .zip.

Common uses

Feeding text to a script or a search index

Plain UTF-8 with one paragraph per block is easy to split, grep and index, with no Word library needed.

Pasting into a plain-text field

A CMS, a form or a terminal that mangles pasted formatting gets clean text instead.

Counting or comparing words

The word and character counts are shown per file, and the .txt drops straight into a diff tool.

Archiving the words of a folder of documents

Drop many files at once and keep a .zip of their text, readable by any editor years from now.

Why convert a Word file to plain text?

Sometimes only the words matter: a script that searches documents, a plain-text editor, a prompt, a commit message, a CMS field that rejects pasted formatting. Getting the text out of Word means Save As, a choice of encoding and a dialog for every file, or a copy and paste that drags fonts and hidden formatting along. This page reads the .docx and hands back clean UTF-8 text, one .txt per file.

DOCX to TXT pulls the readable text out of Word documents. A .docx is a zip, and the body text lives in word/document.xml. This page opens the package in your browser, walks that part in order and writes what a reader sees as plain UTF-8: one block per paragraph, a newline for a line break, a tab for a tab, and one line per table row with the cells separated by tabs.

What is left out is everything plain text cannot carry: fonts, bold and italic, images, comments, headers and footers, and list bullets and numbers, which Word generates from the list settings rather than storing as text. Tracked changes are read the way Word shows them with all changes accepted, so deleted words do not appear. Field codes are dropped and their results kept, so a page number field gives the number.

Two options shape the spacing: a blank line between paragraphs (on by default), and collapsing runs of empty paragraphs into one blank line (on by default). Change either and the text updates without dropping the file again.

The file is only read. Nothing is written back into it, and the conversion runs in the tab.

How it compares

Word can do this one file at a time: Save As, Plain Text, then an encoding dialog. It needs Word, and a folder means repeating it for every file.

Copying from Word and pasting into a plain editor works for one document and gives you no control of the spacing.

Libraries such as mammoth have a raw-text mode, and it is a fine choice in code. In its raw-text output a line break inside a paragraph produces nothing, so two lines run together, and each table cell becomes a separate paragraph. This page reads the document part directly so line breaks and table rows survive.

For structure rather than words, use DOCX to Markdown or DOCX to HTML. For subtitles to text, there is SRT to TXT, and for markup you already have as text, HTML Stripper.

Tips

  • A line break typed with Shift+Enter stays a line break, and a tab stays a tab.
  • Each table row comes out as one line, with its cells separated by tabs, so a table pastes into a spreadsheet in columns.
  • Tracked changes are read as Word shows them with all changes accepted: inserted words are in, deleted words are out. To resolve them in the .docx itself, use DOCX Accept Track Changes.
  • Need headings and lists kept? DOCX to Markdown keeps the structure; this page keeps only the words.
  • The .txt is UTF-8 with no byte order mark and LF line endings, which every current editor opens, including Notepad.
  • A scanned page is an image, not text. A document made of scans comes out empty here; it needs OCR instead.

Frequently asked questions

How do I convert a DOCX file to TXT?

Drop the .docx on this page and press Download. The text is extracted in your browser as soon as the file is read, and the .txt is named after the document, so report.docx becomes report.txt. Drop several files to get a .zip of .txt files.

Is my document uploaded?

No. The .docx is opened in your browser and the text is extracted there. Nothing is sent to a server, which you can check in the network tab of your browser's developer tools.

What is kept and what is removed?

The words are kept, with paragraph breaks, line breaks, tabs and table rows. Fonts, bold, italic, heading styles, images, comments, headers, footers and list bullets or numbers are removed, because plain text has no way to carry them.

Which encoding does the .txt use?

UTF-8 without a byte order mark, with LF line endings. Accented letters, other scripts and emoji come through as they are, and current editors on Windows, macOS and Linux open it directly.

What happens to tables?

Each table row becomes one line, with its cells separated by tabs. A cell with several paragraphs is joined into one line with spaces, so the columns stay aligned when the text is pasted into a spreadsheet.

What happens to tracked changes?

They are read as Word shows the document with all changes accepted: inserted text is included and deleted text is left out. The .docx itself is not changed; to resolve the changes in the Word file, use DOCX Accept Track Changes.

Can it convert an old .doc file or a password-protected document?

No. An old .doc is a different binary format and a password-protected .docx is encrypted, so both are refused with a message. Open the file in Word, save it as an unprotected .docx, and drop the new copy.

Why is the result empty?

The body of the document holds no text. That happens when the pages are scanned images or the content is all pictures or charts. This page does not do OCR, so a scanned document needs an OCR tool instead.

How is this different from DOCX to Markdown?

DOCX to Markdown keeps structure: headings, lists, links, bold and tables written as Markdown. DOCX to TXT keeps only the words and the line structure, with no markup characters, for places where formatting syntax would get in the way.

Rate This Tool

0/1000

Get Weekly Tools

Suggest a Tool