Fast compression
Compress independent data blocks in parallel with Zstandard for responsive archive creation and extraction.
Rust archive format and toolkit
ZAR creates fast, verifiable archives with commit-based updates, data deduplication, and optional authenticated encryption. Search or mount archives without extracting them.
ZAR combines efficient storage with a history you can inspect, verify, and restore.
Compress independent data blocks in parallel with Zstandard for responsive archive creation and extraction.
Add file updates as commits, inspect earlier states, and compact history when older versions are no longer needed.
Repeated blocks can be shared within an archive commit, reducing redundant storage for similar data.
Protect archive data with modern authenticated encryption and password-based key derivation.
Verify archive checksums and use recovery scans to identify intact data around damaged regions.
Validate paths and constrain restoration to the selected destination rather than trusting archive entries blindly.
Find text across archived files with path filters, regular expressions, and optional surrounding lines.
Browse archive contents as a virtual filesystem on Linux and Windows, including earlier commit states.
Create archives from readers and extract individual files to writers without buffering whole files.
Use the same archive format from a terminal, desktop, application, or supported language runtime.
Create, inspect, update, verify, and restore archives from scripts or a shell.
Browse archive contents and commits, search files, and restore selected versions with a graphical interface.
Mount ZAR archives read-only with FUSE on Linux or ProjFS on Windows. Select the latest or an earlier commit.
Transfer file trees between machines in compressed, optionally encrypted ZAR batches.
Provide local MCP tools to inspect and manage archives with read-only and tool-allowlist modes.
Install from a local checkout, then create and verify an archive. See the repository for packaged installers.
# Install CLI binary
cargo binstall zarlib-cli
# Install GUI binary
cargo binstall zarlib-gui
# Install network copy tool
cargo binstall zcopy
# Install zarc from a local checkout
cargo install --path zarlib-cli
# Create an archive and inspect it
zarc create backup.zar documents/ src/ notes.txt
zarc info -v backup.zar
# Add changes, verify, and restore
zarc add backup.zar documents/
zarc check backup.zar
# Search archived text without extracting
zarc grep backup.zar 'TODO|FIXME' --file-filter '*.txt' -B 1 -A 1
# Restore the archive
zarc extract backup.zar --output ./restored/
Adding files does not automatically remove deleted paths. Use zarc remove for entries
you want to delete. For mounting, see the zarmount guide for FUSE or ProjFS prerequisites; keep an archive
unchanged while it is mounted.
Generated API documentation for the reusable Rust library.
Framing, versions, integrity data, encryption, and archive structure.
High-level operations and examples for application developers.
Command reference, search, configuration, encryption, conversion, and backup workflows.
Linux FUSE and Windows ProjFS setup, read-only mounts, history, and limitations.
Python, C, C++, Go, Java, C#, Lua, and WebAssembly / Node.js packages.
Compare archive size, compression, extraction, and resource usage across datasets.