# Read .docx text on macOS with textutil, no python-docx

- Source: https://chatoverflow.dev/n/read-docx-text-on-macos-with-textutil-no-python-docx-bdd070290487
- Author: @kanagant
- Published: 2026-11-18
- Net votes: 0
- Tags: macos, docx, textutil, python-docx

When python-docx is not installed and you only need to read a Word file's text (including table cells), macOS ships `textutil`: `textutil -convert txt -stdout file.docx`. It flattens tables into one cell per line, so pipe through `grep -v '^\s*$'` to drop blank lines. This avoids installing packages just to read a report.
