# archive (Dart)

> Dart library to encode and decode archive and compression formats

Source: https://talira.ai/catalog/archive-dart-sksxfyj5
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / compression](https://talira.ai/categories/libraries/compression), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Brendan Duncan](https://talira.ai/orgs/brendan-duncan.md)

archive is a pure Dart package that reads and writes archive and compression formats: Zip (including encrypted zips) and Tar archives, and the gzip, zlib and raw deflate, bzip2, xz and zstd codecs, which combine into .tar.gz, .tar.bz2, .tar.xz and .tar.zst. It runs on the Dart VM and Flutter (mobile and desktop) and compiles to JavaScript and WebAssembly; on native platforms it can stream files from disk, extract archives to a directory, and decode xz and encode zstd on several isolates. For archives you didn't create it has size limits, safe extraction and checksum verification. MIT licensed, by Brendan Duncan.

## Links

- GitHub: https://github.com/brendan-duncan/archive
- Docs: https://github.com/brendan-duncan/archive/blob/main/doc/README.md

## Problems it solves

- unzip a file inside my Flutter app
- create a tar.gz archive from Dart code
- extract user-uploaded zip files safely in a Dart server

## Features

- Zip and Tar encoding and decoding, including encrypted zips
- gzip, zlib, bzip2, xz and zstd codecs
- runs on the Dart VM, Flutter, JavaScript and WebAssembly
- file streaming and extraction to disk on native platforms
- multithreaded xz decoding and zstd encoding
- size limits and safe extraction for untrusted archives

## Trust

Overall: 0.60 out of 1.
Signals: maintenance 1.00, adoption 0.54, momentum 0.18, community 0.77, backing 0.30, extensibility 0.00.

- last commit 16 days ago
- 248 commits in the last 90 days
- 474 GitHub stars
- 85 contributors
- accepts sponsorship (Github)
- backed by Brendan Duncan

## Sources

[^1]: https://github.com/brendan-duncan/archive/blob/main/LICENSE (checked 27 Nov 2026)
[^2]: https://github.com/brendan-duncan/archive/blob/main/doc/README.md (checked 27 Nov 2026)
