# Install txt2tags with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Conversion tool to generating several file formats. Version 3.9 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:txt2tags
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install txt2tags
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install txt2tags
```

  Evidence: MacPorts ports tree: textproc/txt2tags/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add txt2tags
```

  Evidence: Alpine Linux edge package indexes: txt2tags from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install txt2tags
```

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

- dnf (92%):

```sh
sudo dnf install txt2tags
```

  Evidence: Fedora Rawhide package metadata: txt2tags from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#txt2tags
```

  Evidence: nixpkgs package indexes: pkgs/by-name/tx/txt2tags/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S txt2tags
```

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

- zypper (92%):

```sh
sudo zypper install python311-txt2tags
```

  Evidence: openSUSE Tumbleweed package metadata: python311-txt2tags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:txt2tags
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/txt2tags>
- **Version:** 3.9
- **Source summary:** Conversion tool to generating several file formats
- **Homepage:** <https://txt2tags.org/>
- **Repository:** <https://github.com/txt2tags/txt2tags>
- **Upstream docs:** <https://github.com/txt2tags/txt2tags#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://files.pythonhosted.org/packages/27/17/c9cdebfc86e824e25592a20a8871225dad61b6b6c0101f4a2cb3434890dd/txt2tags-3.9.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- txt2tags (cli)
- txt2tags (alias)

## Dependencies

- python@3.14

## Install behavior

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

## Freshness

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

txt2tags is a long-running lightweight markup converter. Its official README says Aurelio Jargas created it in 2001 to read minimally marked-up text and generate many output formats, including HTML, LaTeX, DocBook, man pages, MediaWiki, MoinMoin, and others.

### Project history

The project came out of the Unix tradition of keeping source documents plain, diffable, and scriptable. Official project material describes a split between a feature-rich Python 2 branch, v2, and a simpler Python 3-compatible v3 branch that was branched from txt2tags 2.6 and intentionally removed some older features to make maintenance easier.

The official old news archive shows active mid-2000s development around new targets, translations, documentation, and ports. By late 2004 the project had 2.x releases, Lout support, command-line options, and several translations.

### Adoption history

The old project news records early use by documentation-heavy communities. In 2004 it noted PicoContainer using txt2tags for a book and the OpenPHPNuke documentation team switching program docs from LaTeX to txt2tags because the source was readable, quick to edit, and friendlier to version control.

The same archive records an OpenBSD port entering the official tree in early 2005, a useful signal for package-manager adoption because it moved txt2tags from a downloadable script into a Unix ports workflow.

### How it is used

Package users install the `txt2tags` CLI to keep one marked-up source file and generate target formats for websites, manuals, wikis, books, and documentation. Its appeal is strongest where plain text, reproducible conversion, and low ceremony matter more than a large publishing stack.

### Why package nerds care

For package nerds, txt2tags is interesting as a compact documentation converter with a long tail across ports and distro repositories. It represents the pre-Pandoc era of markup tools where small Unix-friendly converters solved practical documentation and man-page generation problems.

### Timeline

- 2001: Aurelio Jargas created txt2tags.
- 2004: Official news recorded txt2tags 2.1 and 2.2 releases, new targets, and translations.
- 2005: Official news recorded an OpenBSD port entering the official tree.
- 2010: txt2tags 2.6 became the base for later v2 and v3 branch histories.
- 2016-2020s: The GitHub repository tracked the Python 3-oriented v3 line with PyPI releases.

### Related projects

- Related tools in the same package-manager niche include Pandoc, AsciiDoc, reStructuredText, DocBook processors, Markdown converters, wiki markup exporters, and man-page generation tools.

### Sources

- <https://github.com/txt2tags/txt2tags#readme>
- <https://txt2tags.org/docs>
- <https://txt2tags.org/misc/oldnews.html>
- source_facts.package-manager


## 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:** txt2tags
- **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 - txt2tags - 3.9-1: normalized package name match | Debian stable package indexes: txt2tags from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | conversion tool to generating several file formats | https://txt2tags.sourceforge.net/
- Nix - txt2tags: normalized package name match | nixpkgs package indexes: pkgs/by-name/tx/txt2tags/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - txt2tags - 3.4-4: normalized package name match | Ubuntu 24.04 LTS package indexes: txt2tags from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | conversion tool to generating several file formats | https://txt2tags.sourceforge.net/
- apk - txt2tags - 3.9-r3: normalized package name match | Alpine Linux edge package indexes: txt2tags from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Text formatting and conversion tool | https://www.txt2tags.org
- apk - txt2tags-pyc - 3.9-r3: normalized package name match | Alpine Linux edge package indexes: txt2tags-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for txt2tags | https://www.txt2tags.org
- dnf - txt2tags - 3.3-25.fc45: normalized package name match | Fedora Rawhide package metadata: txt2tags from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Summary: Converts text files to HTML, XHTML, LaTeX, and other formats | http://txt2tags.sourceforge.net/
- pacman - txt2tags - 3.9-4: normalized package name match | Arch Linux sync databases: txt2tags from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A text formatting and conversion tool. | http://www.txt2tags.org
- zypper - python311-txt2tags - 3.9-2.3: normalized package name match | openSUSE Tumbleweed package metadata: python311-txt2tags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Converts text files to HTML, XHTML, sgml, LaTeX, man and others | https://txt2tags.org/
- zypper - python313-txt2tags - 3.9-2.3: normalized package name match | openSUSE Tumbleweed package metadata: python313-txt2tags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Converts text files to HTML, XHTML, sgml, LaTeX, man and others | https://txt2tags.org/
- zypper - python314-txt2tags - 3.9-2.3: normalized package name match | openSUSE Tumbleweed package metadata: python314-txt2tags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Converts text files to HTML, XHTML, sgml, LaTeX, man and others | https://txt2tags.org/
- MacPorts - txt2tags: normalized package name match | MacPorts ports tree: textproc/txt2tags/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [docutils](https://www.automicvault.com/pkg/brew/docutils/) - Shares av.db curated category or tags: cli, developer-tools, documentation, python.
- [rst-lint](https://www.automicvault.com/pkg/brew/rst-lint/) - Shares av.db curated category or tags: cli, developer-tools, documentation, python.
- [txt2man](https://www.automicvault.com/pkg/brew/txt2man/) - Shares av.db curated category or tags: cli, developer-tools, documentation, text-conversion.
- [xml2rfc](https://www.automicvault.com/pkg/brew/xml2rfc/) - Shares av.db curated category or tags: cli, developer-tools, documentation, python.
- [action-docs](https://www.automicvault.com/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [adr-tools](https://www.automicvault.com/pkg/brew/adr-tools/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [adr-viewer](https://www.automicvault.com/pkg/brew/adr-viewer/) - Shares av.db curated category or tags: cli, developer-tools, documentation.
- [cargo-docset](https://www.automicvault.com/pkg/brew/cargo-docset/) - Shares av.db curated category or tags: cli, developer-tools, documentation.

## Combined YAML source

View the package source record on GitHub. [combined/txt2tags.yml](https://github.com/automic-vault/db/blob/main/combined/txt2tags.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
