Format Support
Supported Archive Formats
DodaZIP can read and write a wide range of archive formats, making it a universal archiver.
Read & Write
| Format | Extension | Notes |
|---|---|---|
| DodaZIP (native) | .dodaz | Full support — dedup, ECC, encryption, random-access |
| ZIP | .zip | Deflate and store modes |
| 7-Zip | .7z | LZMA2 compression |
| tar | .tar | No compression (archive only) |
| tar.gz / tgz | .tar.gz | tar + gzip |
| tar.bz2 | .tar.bz2 | tar + bzip2 |
| tar.xz | .tar.xz | tar + xz (LZMA2) |
| gzip | .gz | Single-file compression |
| bzip2 | .bz2 | Single-file compression |
| xz | .xz | Single-file compression |
Read Only
| Format | Extension | Notes |
|---|---|---|
| RAR | .rar | RAR4 and RAR5 supported |
| RAR5 | .rar | Extended format |
| 7-Zip (old) | .7z | Legacy compression methods |
Why no RAR write support?
RAR is a proprietary format owned by WinRAR GmbH. The specification is not publicly available, and no open-source Rust library exists that can write RAR archives legally. DodaZIP can read RAR files (via the unrar crate) but cannot create them. We recommend using .dodaz or .zip for writing.
Auto-Detection
DodaZIP detects the archive format automatically by inspecting the file header (magic bytes). You don’t need to specify the format — just provide the file path:
dodazip list --input archive.rar
dodazip extract --input backup.tar.gz --output ./restored/
dodazip compress --input ./files/ --output package.7z