Word to TXT Converter
Convert one DOCX up to 50 MB to TXT or Markdown locally in your browser, then copy or download the full result.
🔒 Your document is parsed inside your browser and is not uploaded to any server. You get the words only: table rows and columns and the page layout are not kept, plain text holds no pictures, Markdown inlines them as DataURLs, and text inside a picture is not recognised.
How to use
- Choose your .docx: Drop a single .docx onto the box or click to pick one, up to 50 MB. Drop several files at once and the whole batch is refused with a count, so add one document at a time. Old .doc files are not accepted here.
- Pick the output format: Leave Output format on Plain text (.txt) for the words with no markup, or switch to Markdown (.md) to keep heading levels, lists, emphasis and link addresses. Changing this clears any result already on screen.
- Extract and read the text: Press Extract text. The line above the panel names the file you will download and how many characters came out, and the panel itself shows the text: the first 6,000 characters, with a note under it when there is more.
- Copy it or save the file: Use Copy to put the whole extract on the clipboard, or the download button for the .txt or .md. On a phone, Save to device opens the system share sheet when the browser offers file sharing and simply downloads the file when it doesn't.
How this Word to TXT converter works
This Word to TXT converter extracts one DOCX up to 50 MB into plain text or Markdown in your browser without uploading the document. Preview the first 6,000 characters, then copy or download the complete result. Tables lose their row and column structure, and text inside images requires OCR.
Word's .docx format is a zip package of XML, so the text inside it can be read without Word installed. Your file is read straight from disk into memory, parsed there, and written back out as a .txt or .md that you save from the same tab. The document bytes are never sent anywhere: there is no upload step and no server queue to wait in.
The page does fetch code of its own, and only the code. Mammoth, the library that reads the .docx, loads when an extraction needs it; turndown, which writes the Markdown, loads the first time you extract with Markdown chosen, so a run that stays on plain text never pulls it in. Modules already loaded are reused while the page stays open.
Extraction runs on the page's main thread, so a large document may temporarily make the tab unresponsive. File and format controls are disabled during extraction; there is no progress bar or cancel button. Markdown adds an HTML conversion step and may take longer than plain text.
One document at a time, up to 50 MB each. If you drop several files together, the whole batch is refused and the message names how many were turned away, so nothing is quietly dropped. Once a file is listed the drop box is gone from the page: click the ✕ to take that file out before choosing a different one. Changing the output format or swapping the file clears whatever result was on screen, so what you download matches the settings you can see rather than an earlier run. Clear removes the file and puts the format back to plain text.
Plain text or Markdown: which output to pick
Pick plain text when you want nothing but the words, and Markdown when the document's structure matters. Plain text comes from mammoth's raw-text reader: one paragraph per line, a blank line between paragraphs, and not a single markup character. That is the right answer for pasting into a plain-text editor, feeding a script, or dropping a long passage into an AI prompt without carrying Word's styling along with it.
The second option rewrites the same document as Markdown, which makes this page a Word to Markdown converter as well as a text extractor. Headings become # through ######, bullets become -, numbered items become 1., bold becomes **text**, italics become _text_, and a hyperlink becomes [anchor](address) with the address kept rather than thrown away. Pictures in the document are inlined as base64 DataURLs, so a single photograph can add thousands of characters to the .md on one line. When you only want the words, plain text is the smaller and cleaner result.
Either way, the file you save is UTF-8 without a byte-order mark, and there is no encoding setting to change. That suits anything modern, but an old program that assumes a legacy code page such as GBK or cp1252 can show accented and non-Latin characters as nonsense: tell that program to read the file as UTF-8. The download is named after your document with its Word extension swapped for .txt or .md, with characters that filenames cannot hold replaced by hyphens, names longer than 80 characters cut short, and a name emptied by that cleanup falling back to document.
| If you are about to… | Pick |
|---|---|
| Paste into a plain-text editor, a terminal or an AI prompt | Plain text (.txt) |
| Move writing into Obsidian, a wiki or a docs folder in Git | Markdown (.md) |
| Keep heading levels and list numbering readable | Markdown (.md) |
| Keep the result small when the document is full of pictures | Plain text (.txt): a picture leaves only an empty paragraph |
Plain text is the default, and the format select goes back to it whenever you press Clear.
What survives the extraction, and what does not
This is a text extractor, not a document converter: you get the words, and nothing about the page they sat on. Fonts, sizes, colors, alignment, margins and page breaks are lost in both formats. Plain text omits pictures; Markdown embeds readable pictures as base64 DataURLs. Neither format recognizes text inside pictures.
Word tables lose their row and column structure in both output formats. Every cell becomes its own paragraph, in reading order, so a two-column table arrives as a flat list of cell contents. The Markdown output holds no pipe characters and no bolded header row, even when the header row is properly marked as one in Word, because the converter on this page runs without a table plugin. When the grid itself is what you need, keep the document in Word rather than extracting it.
Headers and footers are separate parts of a .docx and are not read at all, so a page number, a running title or a confidentiality line printed at the foot of every page will not appear in the output. Notes are where the two formats part company. Plain text omits footnotes, endnotes and comments stored in separate document parts. Markdown includes referenced footnotes and endnotes with reference and return links. Comments are ignored by default; an embedded Mammoth style map can change their handling. Text boxes come through in both formats, because what is inside them is ordinary Word text. Classic WordArt does not: its letters live in a shape attribute rather than in a text node, so a headline set in WordArt is simply missing from the result.
| In the Word document | Plain text (.txt) | Markdown (.md) |
|---|---|---|
| Heading 1 to Heading 6 styles | Text only, the levels are gone | # through ###### |
| Bulleted list | One item per line, markers gone | A - in front of each item |
| Numbered list | One item per line, numbers gone | 1. 2. 3. in front of each item |
| Bold and italics | Dropped | **bold** and _italics_ |
| Hyperlink | Anchor text only, address gone | [anchor](address) |
| Table | One cell per paragraph | One cell per paragraph, not a Markdown table |
| Picture | An empty paragraph in its place | Inlined as a base64 DataURL |
| Text box | Extracted | Extracted |
| Classic WordArt | Not extracted | Not extracted |
| Footnote and endnote | Omitted | Referenced notes, with links |
| Comment | Omitted | Ignored by default |
| Header and footer | Not read | Not read |
Cell text survives in both formats; the rows and columns do not.
When the data you need is in a spreadsheet rather than a Word table, Excel to CSV Converter keeps the rows and columns intact.
When this page cannot extract text from a Word document
Old .doc files are out of scope. The drop box accepts .docx only, so a file still named .doc is refused as you pick it. What does reach the check is any file whose first eight bytes are the OLE2 signature that Word used before 2007: an old document renamed to .docx looks like that, and so does a password-protected document, because an encrypted .docx is wrapped in the same container. The run stops there with a warning about that container rather than a diagnosis, and the fix covers both cases: open the file in Word, WPS Office, LibreOffice or Google Docs, take any opening password off, and save a real, unencrypted .docx.
Scanned documents give nothing useful back, because there is no text recognition here at all. A page photographed or scanned into Word is a picture, and the two formats fail differently. In plain text the extract comes out empty, so the page says there is no extractable text and deliberately creates no file instead of handing you an empty one. In Markdown the same document still saves a .md, but it contains only the inlined pictures and not one word of what those pictures show. A scan needs an OCR tool rather than this page.
Unreadable ZIP packages use the damaged-document message. A password-protected document may instead trigger the OLE2 warning before parsing. Open it in Word, remove the opening password, and save an unencrypted .docx copy. Two more things this page does not do: it works on one file at a time rather than in batches, and there is no trip back the other way, from .txt or .md into Word. For an e-book instead of a document, EPUB Reader does this job for a .epub.
Not sure why your file was rejected? File Type Checker can inspect its signature, but an OLE2 signature alone cannot tell an old .doc from an encrypted .docx.
Everyday reasons to pull the text out of a document
Cleaning text before it goes somewhere else. Pasting straight from Word into a CMS, an email template or a web form carries invisible styling that breaks the layout at the other end; extracting to plain text first and pasting that gives you the words and nothing else. The same goes for handing a long report to a language model, where formatting noise is only something to pay for.
Moving writing out of Word for good. Anyone migrating notes, documentation or a manuscript into Obsidian, Notion, a wiki or a docs folder in Git wants the heading levels and lists to survive the move, which is exactly what the Markdown option keeps, and an .md file drops straight into a repository. Markdown is also the friendlier shape for comparing two versions of a document, because every line is text a diff can line up.
Reading a document on a device that has no Word on it. Extract the text and it appears in the panel on this page, which you can read without downloading anything, while Copy puts the whole extract on the clipboard. The panel shows the first 6,000 characters and says so when there are more, but the copy and the saved file both carry the full text.
The same job for a PDF is a different page: PDF to Text reads the text layer out of a PDF in the browser.
How this tool is checked
- The logic behind this tool is covered by 29 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
- Before each release, a real browser opens this page, runs it on sample files (including a damaged one) and checks the file it produces.
- Your files are processed in your browser and are never uploaded to our server.
- Formulas, figures and definitions are checked against the sources listed at the end of this page.
Frequently asked questions
- Does my document get uploaded anywhere?
- No. The .docx is read from your disk into the tab and parsed there, and its contents are never sent to a server. The page itself fetches its parsing code the first time you press Extract text, and nothing of the document is kept once you close or refresh the tab. The .txt or .md you download is a plain, unencrypted file, so anyone who can reach your device or a copy you forward can read it.
- How do I convert DOCX to TXT without uploading it?
- Choose one DOCX up to 50 MB, leave Output format on Plain text (.txt), and press Extract text; then copy or download the full result. All of that happens inside this tab, so the document never travels over the network; only the text file you save, or the text you copy, leaves the page.
- Can it handle old .doc files?
- No, only .docx. A file named .doc is refused when you pick it, and a .doc renamed to .docx is caught by its signature before any parsing starts. Open it in Word, WPS Office, LibreOffice or Google Docs and save it as a .docx, then come back.
- Will the tables in my document stay as tables?
- No. Both formats flatten a table into one paragraph per cell, in reading order, so the rows and columns are lost. The Markdown output has no pipe characters and no bold header row, even when the header row is marked as one in Word.
- Why does it say there is no extractable text?
- Because the document holds no text layer, usually a scan or a set of screenshots. There is no text recognition on this page, so in plain text mode nothing comes out and no file is created. In Markdown the same document does save a .md, but it contains only the inlined pictures.
- Are headers, footers and footnotes included?
- Headers and footers are omitted: those parts of a .docx are never read, so page numbers and running titles do not appear. Plain text also omits separately stored footnotes, endnotes and comments. Markdown includes referenced footnotes and endnotes with links; comments are ignored by default unless an embedded Mammoth style map changes that behavior.
- Why does the preview stop at 6,000 characters?
- The preview is limited to the first 6,000 characters; Copy and the downloaded file contain the complete extraction. If you see an ellipsis and a truncation note, use Copy or download the TXT or Markdown file to get the rest.
Related tools
Cite this tool
Using a result in a report, paper or assignment? Copy a ready-made reference.
Gingertool. (2026). Word to TXT Converter [Online tool]. Retrieved November 30, 2026, from https://gingertool.com/en/file-tools/word-to-txt/
“Word to TXT Converter.” Gingertool, November 30, 2026, https://gingertool.com/en/file-tools/word-to-txt/. Accessed November 30, 2026.
@misc{gingertool-word-to-txt,
author = {{Gingertool}},
title = {Word to TXT Converter},
year = {2026},
url = {https://gingertool.com/en/file-tools/word-to-txt/},
note = {Accessed: 2026-11-30}
}