# Install docx2txt with Homebrew, apt, pacman

Converts Microsoft Office docx documents to equivalent text documents. Version 1.4 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:docx2txt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install docx2txt
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install docx2txt
```

  Evidence: Debian stable package indexes: docx2txt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- pacman (92%):

```sh
sudo pacman -S docx2txt
```

  Evidence: Arch Linux sync databases: docx2txt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:docx2txt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/docx2txt>
- **Version:** 1.4
- **Source summary:** Converts Microsoft Office docx documents to equivalent text documents
- **Homepage:** <https://docx2txt.sourceforge.net/>
- **Repository:** <http://docx2txt.cvs.sourceforge.net/>
- **Upstream docs:** <https://docx2txt.sourceforge.net/>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/docx2txt/docx2txt/v1.4/docx2txt-1.4.tgz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- docx2txt.pl (cli)
- docx2txt.sh (cli)
- docx2txt.pl (alias)
- docx2txt.sh (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.4
- Local data: ok
- Upstream repository: https://docx2txt.sourceforge.net/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

docx2txt is a Perl-based command-line utility for extracting formatted plain text from Microsoft Office `.docx` files. It reflects a classic Unix-filter approach to Office Open XML documents: unzip the archive, read the XML, and write text suitable for terminals, scripts, and editors.

### Project history

The official SourceForge page lists releases from v0.1 in August 2008 through v1.4 in May 2014. Its homepage describes support for character conversion, text alignment, hyperlinks, lists, wrapper scripts, standard input and output, and multiple command-line unzip backends.

### Adoption history

docx2txt spread through package managers and text-processing workflows rather than through a large upstream community. The official site lists examples of direct or indirect usage, including search/indexing systems and an Oxford University Press hot-folder workflow, while Homebrew continues to package v1.4 with low but steady install activity.

### How it is used

The tool is commonly used as `docx2txt.pl input.docx output.txt` or as a filter through wrapper scripts. The official page documents integrations for Midnight Commander, Vim, and Emacs so `.docx` files can be viewed as text from existing editor/file-manager workflows.

### Why package nerds care

docx2txt is package-nerd significant as a small, dependency-light bridge between binary-ish office documents and plain-text automation. It is the kind of utility that stays useful in scripts, search indexes, mail pipelines, and recovery workflows long after its upstream release cadence slows.

### Timeline

- 2008-08: v0.1 released.
- 2009-10: v1.0 released.
- 2012-01: v1.2 released.
- 2014-05: v1.4 released and homepage last updated.
- 2026: Homebrew continues to package v1.4.

### Related projects

- The official page relates docx2txt to command-line unzip tools such as Unzip, 7-Zip, PKZip, WinZip, and CakeCmd, and to editor/file-manager workflows in Midnight Commander, Vim, and Emacs.

### Sources

- <https://docx2txt.sourceforge.net/>
- <https://sourceforge.net/projects/docx2txt/>
- <https://sourceforge.net/p/docx2txt/code/>
- <https://formulae.brew.sh/api/formula/docx2txt.json>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** docx2txt
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - docx2txt - 1.4-5: normalized package name match | Debian stable package indexes: docx2txt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Convert Microsoft OOXML files to plain text | http://docx2txt.sourceforge.net
- Ubuntu apt - docx2txt - 1.4-5: normalized package name match | Ubuntu 24.04 LTS package indexes: docx2txt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Convert Microsoft OOXML files to plain text | http://docx2txt.sourceforge.net
- pacman - docx2txt - 1.4-6: normalized package name match | Arch Linux sync databases: docx2txt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Recovers text from DOCX files, with good formatting. | http://docx2txt.sourceforge.net


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [hevea](https://www.automicvault.com/pkg/brew/hevea/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [latex2html](https://www.automicvault.com/pkg/brew/latex2html/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [latex2rtf](https://www.automicvault.com/pkg/brew/latex2rtf/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [libmspub](https://www.automicvault.com/pkg/brew/libmspub/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [odt2txt](https://www.automicvault.com/pkg/brew/odt2txt/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [rtf2latex2e](https://www.automicvault.com/pkg/brew/rtf2latex2e/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [unoserver](https://www.automicvault.com/pkg/brew/unoserver/) - Shares av.db curated category or tags: cli, document-conversion, productivity.
- [feishu2md](https://www.automicvault.com/pkg/brew/feishu2md/) - Shares av.db curated category or tags: cli, document-conversion, productivity.

## Combined YAML source

View the package source record on GitHub. [combined/docx2txt.yml](https://github.com/automic-vault/db/blob/main/combined/docx2txt.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
