Extracting Text from Word Tables
Key points
- Choose
- Check
A Word document contains a table and you want to extract the text inside it. Extract Text from a Word File also extracts text inside tables. Cells are output separated by tabs.
Steps
- With "Choose one .docx Word file", choose the file.
- Check the table part in "Extracted text".
- Copy with "Copy text".
- Pasting into Excel cells restores the table.
Text inside tables comes out separated by tabs. Pasting into Excel splits it into columns.
How a table comes out
For example, a Word table:
name | age
Yamada | 30
Sato | 25
When extracted, each cell's text is separated by tabs and each row comes out as one line.
Tips for pasting into Excel
- Select and copy only the table part of the extracted text.
- Choose the cell in Excel where you want to paste.
- Paste. Tab-separated text splits into columns automatically.
When it doesn't split
- Use Excel's "Text to Columns" and set the delimiter to "Tab".
- Check once in a text editor.
Telling apart from non-table text
When body text and tables are mixed, it's hard to tell where the table begins. Use the lines before and after the table as landmarks and select the part you need.
Tables that can't be extracted
- Tables pasted as images can't be extracted as text.
- Text inside shape text boxes may not be included.
Good for
- Moving a Word table to Excel
- Using only the table's text in other material
- Checking a table's contents
Example
Wanted to total the table of items and amounts in a Word quotation in Excel. Extracted the text, copied the table part and pasted it into Excel. The columns split cleanly.
Common stumbling blocks
- Line breaks inside a cell: one cell may come out as several lines.
- Merged cells: columns may shift.
Frequently asked questions
Can borders and background colours be extracted?
No. Text only.
Summary
Table text comes out tab-separated. Pasting into Excel restores the table.
Use "Extract Text from a Word File" (free)Tools that go well with this
- Extract Text from PDF: Pull the text out of a PDF to copy or save.
- Extract Text from PowerPoint: Extract the text of each PowerPoint slide.
- Character Counter (for Applications and Reports): Count characters, lines and manuscript sheets of your text.