DOCX Files with Tables
Extracting tabular data from a DOCX file is notoriously complex. In OpenXML, tables are constructed using a hierarchy of <w:tbl> (table), <w:tr> (row), and <w:tc> (cell) tags. Things become exponentially harder when cells span multiple columns or rows.
These sample files provide varying levels of table complexity, allowing you to confidently test your tabular data extraction, rendering logic, or DOCX-to-CSV pipelines against both standard grids and malformed row-spans.
Small table
A basic 3x3 table with standard borders and no merged cells. Ideal for baseline testing.
Merged cells
A complex layout featuring highly irregular horizontally and vertically merged cells to stress-test your matrix-building logic.
Large table
A massive data grid containing hundreds of rows. Useful for testing pagination and memory consumption during table parsing.
Frequently Asked Questions
Use Cases
- Testing data extraction pipelines that convert DOCX tables into structured CSV or JSON formats.
- Validating layout rendering engines to ensure horizontal (colspan) and vertical (rowspan) merged cells align correctly.
- Stress-testing memory usage when parsing massive, multi-page data grids.