Map Extract
Free tool

Extract text, headings and tables from a Word file

Choose a DOCX, DOCM or DOTX file and take its contents in the form you need: plain text, Markdown that keeps the headings, an indented list of headings, or only the tables. Tables can go straight to an Excel workbook, one sheet each.

Runs in your browser. Nothing you enter is uploaded.

Four views of the same Word file

The one-page terms document used across these examples: a title, two subheadings, short paragraphs and a price table. The figures report 54 words, 3 headings, 1 table and 4 paragraphs.

Headings only is the fastest way to see how a long tender or brief is organised before reading it. Tables only gives tab-separated rows that paste into a spreadsheet as columns, and Tables to Excel puts each table on its own sheet.

Input
terms-v1.docx
Result
Headings only:
Wholesale terms 2027
  Minimum order
  Payment

Tables only:
Range	Trade price
Stoneware mug	£9.00
Pouring jug	£16.00

Markdown with headings:
# Wholesale terms 2027
...
## Minimum order
...

Extracting from Word

  1. Choose what to extract

    Plain text, Markdown with headings, Headings only or Tables only.

  2. Choose the Word file

    DOCX, DOCM and DOTX files are accepted. The figures show words, headings, tables and paragraphs.

  3. Copy or download

    Download the result as text or Markdown, or copy it.

  4. Take the tables further

    When the document has tables, Tables to Excel builds a workbook with one sheet per table and First table as CSV saves the first one. A JSON button saves the document's structure: headings with levels, paragraphs, list items and tables.

Which view for which job

JobView
Paste a brief into an AI assistant with its structureMarkdown with headings
Count words or reuse paragraphs in an emailPlain text
Check a tender's sections before reading itHeadings only
Lift a supplier's price table into a spreadsheetTables only, or Tables to Excel
Feed the document into a scriptJSON

Headings depend on how the file was written

The extractor recognises headings from Word's heading styles. If the author made headings by typing bold text in a larger size, Word does not know they are headings, and they come out as ordinary paragraphs. The Headings only view is a good test of whether a document was built properly, which also matters for accessibility and for converting it to other formats later.

Old .doc files from Word 97 to 2003 are not accepted here; use the document text extractor, which reads them, or save them as .docx first.

Questions people ask

How do I extract text from a Word document?

Choose the .docx file and the text appears in the box. Pick Plain text for just the words, or Markdown with headings to keep the structure. Copy it or download it. This is quicker than selecting all in Word, and it works on computers that do not have Word installed.

Can I export the tables from a Word document to Excel?

Yes. When the document contains tables, the Tables to Excel button saves a workbook with each table on its own sheet, named Table 1, Table 2 and so on. First table as CSV saves just the first table, which is handy for a single price list.

Why are my headings missing?

Only paragraphs that use Word's heading styles, such as Heading 1 and Heading 2, are treated as headings. Text that was simply made bold or larger looks like a heading but is stored as a normal paragraph. Apply heading styles in Word and extract again to fix it.

Does it work with .doc files?

No. This tool reads the modern Word formats, DOCX, DOCM and DOTX. For an old .doc file, use the document text extractor on this site, which reads Word 97 to 2003 files, or open the file in Word or LibreOffice and save it as .docx.

Where your data goes

The Word file is unzipped and read in this tab. Its text, tables and structure are not sent to Map Extract or anyone else.

Checked against the tool on

Top