# tar (Haskell)

> Read, write and manipulate .tar archives in Haskell

Source: https://talira.ai/catalog/tar-haskell-7j3szvhz
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / compression](https://talira.ai/categories/libraries/compression), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: BSD-3-Clause[^1][^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Duncan Coutts](https://talira.ai/orgs/duncan-coutts.md)

tar is a [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md) library for working with `.tar` archives: it reads and writes the common variants (V7, POSIX USTAR and GNU), packs and unpacks portable archives, and gives random access to archive contents through an index. Originally by Bjorn Bringert and Duncan Coutts, it lives in the haskell GitHub organisation.

## Links

- GitHub: https://github.com/haskell/tar

## Problems it solves

- create a tar archive from Haskell
- extract a .tar file in a Haskell program
- read one file from a tarball without unpacking it in Haskell

## Features

- read and write V7, USTAR and GNU tar formats
- pack and unpack portable archives
- indexed random access to entries

## Limitations

- Doesn't preserve file ownership or exact permissions, so it suits distribution rather than backups.[^1]

## Trust

Overall: 0.41 out of 1.
Signals: maintenance 0.69, adoption 0.33, momentum 0.04, community 0.60, backing 0.30, extensibility 0.00.

- last commit 21 days ago
- 13 commits in the last 90 days
- 42 GitHub stars
- 30 contributors
- backed by Duncan Coutts

## Sources

[^1]: https://github.com/haskell/tar/blob/master/tar.cabal (checked 29 Nov 2026)
[^2]: https://github.com/haskell/tar/blob/master/LICENSE (checked 29 Nov 2026)
