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

Conversion tool to generating several file formats. Version 3.9 via Homebrew; verified from local package data. Also installable with debian: sudo apt install txt2tags.

## 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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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 python313-txt2tags
```

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

## Package facts

- **Package key:** brew:txt2tags
- **Package manager:** Homebrew
- **Version:** 3.9
- **Source summary:** Conversion tool to generating several file formats
- **Homepage:** <https://txt2tags.org/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- txt2tags (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.9
## 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

## 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/
- dnf - txt2tags - 3.3-26.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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 - python313-txt2tags - 3.9-2.4: normalized package name match | openSUSE Tumbleweed package metadata: python313-txt2tags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Converts text files to HTML, XHTML, sgml, LaTeX, man and others | https://txt2tags.org/
- zypper - python314-txt2tags - 3.9-2.4: normalized package name match | openSUSE Tumbleweed package metadata: python314-txt2tags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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


## Combined YAML source

View the package source record on GitHub. [combined/txt2tags.yml](https://github.com/mxcl/pkgdb/blob/main/combined/txt2tags.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
