list of archive formats
{{Short description|none}}
This is a list of file formats used by archivers and compressors used to create archive files.
Archive formats by purpose
Archive formats are used for backups, mobility, and archiving. Many archive formats compress the data to consume less storage space and result in quicker transfer times as the same data is represented by fewer bytes. Another benefit is that files are combined into one archive file which has less overhead for managing or transferring. There are numerous compression algorithms available to losslessly compress archived data; some algorithms are designed to work better (smaller archive or faster compression) with particular data types. Archive formats are used by most operating systems to package software for easier distribution and installation than binary executables.
= Archiving only =
class="wikitable" |
File extension(s){{efn|name="file extensions"|File extensions may differ across platforms. The case of these extensions may differ on case-insensitive platforms.}}
!MIME type{{efn|name="MIME type"|MIME media types may be conjectural. Very few have been officially registered with the IANA. Compression-only formats should often be denoted by the media type of the decompressed data, with a content coding indicating the compression format.}} !Official name{{efn|name="official name"|Official names may be disputed.}} !Platform{{efn|name="platform"|Creation platform indicates the platform(s) under which a format can be created.}} !Description |
---|
.a, .ar
| application/{{nowrap|x-archive}} |Unix-like |The traditional archive format on Unix-like systems, now used mainly for the creation of static libraries. |
.cpio
| application/{{nowrap|x-cpio}} |cpio |Unix-like |RPM files consist of metadata concatenated with (usually) a cpio archive. Newer RPM systems also support other archives, as cpio is becoming obsolete. cpio is also used with initramfs. |
.shar
| application/{{nowrap|x-shar}} |Unix-like |A self-extracting archive that uses the Bourne shell (sh). |
.LBR
| |.LBR |CP/M DOS |A system for storing multiple files. LBR archives typically contained files processed by SQ, or the archive itself was compressed with SQ. LBR archives that were compressed with SQ ended with the extension .LQR |
.iso
| application/{{nowrap|x-iso9660-image}} | {{varies|(Various; cross platform)}} |An archive format originally used mainly for archiving and distribution of the exact, nearly-exact, or custom-modified contents of an optical storage medium such as a CD-ROM or DVD-ROM. However, it can be used to archive the contents of other storage media, selected partitions, folders, and/or files. The resulting archive is typically optimized for convenient rendering to (re-)writable CD or DVD media. |
.lbr
| | |Commodore 64/128 |A library format used primarily on the Commodore 64 and 128 lines of computers. This bears no resemblance to the DOS LBR format. While library files were quick to implement (a number of programs exist to work with them) they are crippled in that they cannot grow with use: once a file has been created it cannot be amended (files added, changed or deleted) without recreating the entire file. |
.mar
| |Mozilla ARchiveMozilla ARchive | {{varies|(Various; cross platform)}} |An archive format used by Mozilla for storing binary diffs. Used in conjunction with bzip2. |
.sbx
| application/{{nowrap|x-sbx}} |SeqBox{{Cite web|url=https://github.com/MarcoPon/SeqBox|title=MarcoPon/SeqBox|date=May 13, 2024|via=GitHub|access-date=March 20, 2019|archive-date=February 12, 2022|archive-url=https://web.archive.org/web/20220212042950/https://github.com/MarcoPon/SeqBox|url-status=live}} | {{varies|(Various; cross platform)}} |A single file container/archive that can be reconstructed even after total loss of file system structures. |
.tar
| application/{{nowrap|x-tar}} |Unix-like |A common archive format used on Unix-like systems. Generally used in conjunction with compressors such as gzip, bzip2, compress or xz to create .tar.gz, .tar.bz2, .tar.Z or tar.xz files. |
= Compression only =
class="wikitable" |
File extension(s){{efn|name="file extensions"}}
!MIME type{{efn|name="MIME type"}} !Official name{{efn|name="official name"}} !Platform{{efn|name="platform"}} !Description |
---|
.br
| application/{{nowrap|x-brotli}} |all |Brotli is a compression algorithm developed by Google for textual web content, and typically achieves higher compression ratios than other algorithms for this use case. |
.bz2
| application/{{nowrap|x-bzip2}} |Unix-like |An open source, patent- and royalty-free compression format. The compression algorithm is a Burrows–Wheeler transform followed by a move-to-front transform and finally Huffman coding. |
.F, .?XF{{efn|name="freeze_xf"|If attaching .F to the file name is not possible with the DOS operating system, the second and third character of the filename extension are replaced by XF .}}
| |{{anchor|freeze_command}}Freeze/melt{{Cite web |url=http://www.ibiblio.org/pub/Linux/utils/compress/freeze-2.5.0.tar.gz |title=Archived copy |access-date=2009-03-05 |archive-date=2022-02-01 |archive-url=https://web.archive.org/web/20220201133941/http://www.ibiblio.org/pub/Linux/utils/compress/freeze-2.5.0.tar.gz |url-status=live }} |Old compressor for QNX4 OS. The compression algorithm is a modified LZSS, with an adaptive Huffman coding. |
.genozip
| application/{{nowrap|vnd.genozip}} |Linux, macOS, Windows |Genozip, a compressor for genomic file formats such as FASTQ, BAM, VCF and others.{{Cite web|url=https://academic.oup.com/bioinformatics/article/37/16/2225/6135077|title=Genozip - A Universal Extensible Genomic Data Compressor|access-date=2022-12-26|archive-date=2022-12-26|archive-url=https://web.archive.org/web/20221226173120/https://academic.oup.com/bioinformatics/article/37/16/2225/6135077|url-status=live}} |
.gz
| application/{{nowrap|gzip{{cite IETF|title=The 'application/zlib' and 'application/gzip' Media Types|rfc=6713|access-date=2016-05-03}}}} |gzip |Unix-like |GNU Zip, the primary compression format used by Unix-like systems. The compression algorithm is Deflate, which combines LZSS with Huffman coding. |
.lz
| application/{{nowrap|x-lzip}} |lzip |Unix-like |An alternate LZMA algorithm implementation, with support for checksums and ident bytes. |
.lz4
| |LZ4 |Unix-like |Algorithm developed by Yann Collet, designed for very high (de)compression speeds. It is an LZ77 derivative, without entropy encoding. |
.lzma
| application/{{nowrap|x-lzma}} |lzma |Unix-like |
.lzo
| application/{{nowrap|x-lzop}} |lzop |Unix-like |An implementation of the LZO data compression algorithm. |
.rz
| |rzip |Unix-like |A compression program designed to do particularly well on very large files containing long distance redundancy. |
.sfark
| |Windows compress/decompress- Linux and macOS decompress only |A compression program designed to do high compression on SF2 files (SoundFont). |
.sz
| application/{{nowrap|x-snappy-framed}} |Unix-like |A compression format developed by Google, and open-sourced in 2011. Snappy aims for very high speeds, reasonable compression, and maximum stability rather than maximum compression or compatibility with any other compression library. It is an LZ77 derivative, without entropy encoding. |
.?Q?
| |SQ |Squeeze: A program which compressed files using Huffman coding. A file which was "squeezed" had the middle initial of the name changed to "Q", so that a squeezed text file would end with .TQT, a squeezed executable would end with .CQM or .EQE. Typically used with .LBR archives, either by storing the squeezed files in the archive, or by storing the files decompressed and then compressing the archive, which would have a name ending in ".LQR". |
.?Z?
| |A compression program written by Steven Greenberg implementing the LZW algorithm. For several years in the CP/M world when no implementation was available of ARC, CRUNCHed files stored in .LBR archives were very popular. CRUNCH's implementation of LZW had a somewhat unusual feature of modifying and occasionally clearing the code table in memory when it became full, resulting in a few percent better compression on many files. |
.xz
| application/{{nowrap|x-xz}} |xz |Unix-like |A compression format using LZMA2 to yield high compression ratios. The LZMA algorithm is an LZ77 derivative, with entropy encoding in the form of range encoding. |
.z
| application/{{nowrap|x-compress}} |pack |Unix-like |The traditional Huffman coding compression format. |
.Z
| application/{{nowrap|x-compress}} |Unix-like |The traditional LZW compression format. |
.zst
| application/{{nowrap|zstd}} |Algorithm developed by Yann Collet at Facebook, combining high speed and high compression. It is an LZ77 derivative, with entropy encoding in the form of finite-state entropy and Huffman coding. |
.??_
| | |MS-DOS/Windows |Compression format(s) used by some DOS and Windows install programs. MS-DOS includes expand.exe to decompress its install files. The compressed files are created with a matching compress.exe command. The compression algorithm is LZSS. |
= Archiving and compression =
{{sort-under}}
class="wikitable sortable sort-under" |
File extension(s){{efn|name="file extensions"}}
!MIME type{{efn|name="MIME type"}} !Official name{{efn|name="official name"}} !Creation platform{{efn|name="platform"}} !Restoration platform{{efn|Restoration platform indicates the platform(s) under which a format can be restored/extracted. Most file formats can be understood by more than one platform.}} !Restorable with free software{{efn|"Restorable with free software" indicates whether the format can be restored using an extraction tool that is free software.}} !Description |
---|
.7z
| application/{{nowrap|x-7z-compressed}} |7z |Multiple |Multiple |{{yes}} |Open source file format. Used by 7-Zip. |
.s7z
| application/{{nowrap|x-7z-compressed}} |7zX |macOS, restoration on different platforms is possible although not immediate |{{yes}} |Based on 7z. Preserves Spotlight metadata, resource forks, owner/group information, dates and other data which would be otherwise lost with compression. Made obsolete by the introduction of AppleDouble-encoded 7z archives (Macintosh only). |
.aar
| application/{{nowrap|octet-stream}} |Apple Archive |{{No}} |Created by Apple introduced with iOS 14 in 2020. |
.ace
| application/{{nowrap|x-ace-compressed}} |ACE |Multiple |{{yes}} |Proprietary format |
.afa
| application/{{nowrap|x-astrotite-afa}} |AFA |UNIX-like |UNIX-like |{{no}} |A format that compresses and doubly encrypt the data (AES256 and CAS256) avoiding brute force attacks, also hide files in an AFA file. It has two ways to safeguard data integrity and subsequent repair of the file if has an error (repair with AstroA2P (online) or Astrotite (offline)). |
.alz
| application/{{nowrap|x-alz-compressed}} |Multiple |{{yes}} |A mainly Korean format designed for very large archives. |
.apk
| application/{{nowrap|vnd.android.package-archive}} |APK |Multiple |Multiple |{{yes}} |Android application package (variant of JAR file format). |
.arc, .ark
| application/{{nowrap|octet-stream}} |ARC |Multiple |Multiple |{{yes}} |Very popular in the early days of BBSes, one of the first to offer compression and archiving in a single program. Largely replaced by PKZIP. |
.arc, .cdx
| application/{{nowrap|x-freearc}} |{{yes}} |Open source file format developed by Bulat Ziganshin. A "FreeArc Next" version is under development which includes Zstandard support. |
.arj
| application/{{nowrap|x-arj}} |ARJ |Originally DOS, now multiple |Multiple |{{yes}} |Competitor to PKZIP in the 1990s, offered better multi-part archive handling. |
.b1
| application/{{nowrap|x-b1}} |B1 |Multiple |Multiple |{{yes}} |Open archive format, used by B1 Free Archiver{{Cite web|url=http://dev.b1.org/standard/archive-format.html|title=Overview|website=dev.b1.org|access-date=2014-03-03|archive-date=2023-04-04|archive-url=https://web.archive.org/web/20230404000148/http://dev.b1.org/standard/archive-format.html|url-status=live}} |
.b6z
| |B6Z |Multiple |{{yes}} |Compressed archive format B6Zip{{Cite web|url=http://b6zip.com/|title=B6Zip - Extract .B6Z and .B6 files - Download|website=B6Zip|access-date=2017-10-06|archive-date=2024-05-23|archive-url=https://web.archive.org/web/20240523053624/http://b6zip.com/|url-status=live}} |
.ba
| |Scifer |Multiple |Multiple |{{yes}} |Binary Archive with external header |
.bh
| |BlakHole | | |{{yes}} |Proprietary format from the ZipTV Compression Components |
.cab
| application/{{nowrap|vnd.ms-cab-compressed}} |Multiple |{{yes}} |The Microsoft Windows native archive format, which is also used by many proprietary installers such as WISE. |
.car
| |Compressia archive |Originally DOS, now DOS and Windows |Originally DOS, now DOS and Windows |{{yes}} |Created by Yaakov Gringeler; released last in 2003 (Compressia 1.0.0.1 beta), now apparently defunct. Free trial of 30 days lets user create and extract archives; after that it is possible to extract, but not to create. |
.cfs
| application/{{nowrap|x-cfs-compressed}} |Windows, Unix-like including macOS |Multiple |{{yes}} |Open source file format. |
.cpt
| |Multiple |{{yes}} | Compact Pro archive, a common archiver used on Mac platforms until about Mac OS 7.5.x. Competed with StuffIt; now obsolete. |
.dar
| application/{{nowrap|x-dar}} |Unix-like including macOS, Windows |{{yes}} |Open source file format. Files are compressed individually with either gzip, bzip2 or lzo. |
.dd
| | | | Obsolete |
.dgc
| application/{{nowrap|x-dgc-compressed}} |DGCA | | |
.dmg
| application/{{nowrap|x-apple-diskimage}} |{{yes}} |Supports "Internet-enabled" disk images, which, once downloaded, are automatically decompressed, mounted, have the contents extracted, and thrown away. Currently, Safari is the only browser that supports this form of extraction; however, the images can be manually extracted as well. This format can also be password-protected or encrypted with 128-bit or 256-bit AES encryption. |
.ear
| |EAR |Multiple |Multiple |{{yes}} |Enterprise Java Archive archive |
.gca
| application/{{nowrap|x-gca-compressed}} |GCA | | | |The predecessor of DGCA. |
.genozip
| |Genozip{{Cite web|url=https://genozip.com/|title=Genozip | Compression for FASTQ, BAM, VCF|website=Genozip|access-date=2021-07-22|archive-date=2024-05-27|archive-url=https://web.archive.org/web/20240527111733/https://www.genozip.com/|url-status=live}} |{{no}} |Optimized for (but not limited to) genomic file types such as FASTQ, BAM, VCF |
.ha
| |Originally DOS, now multiple |Multiple |{{yes}}, but may be covered by patents |DOS era format; uses arithmetic/Markov coding |
.hki
| |WinHKI{{cite web|url=http://www.winhki.com/ |title=WinHKI |archiveurl=https://web.archive.org/web/20061205050249/http://www.winhki.com/|archivedate=2006-12-05}} |MS Windows |MS Windows |{{no}} |HKI |
.ice
| |ICE |{{yes}} |Produced by ICEOWS program. Excels at text file compression. |
.jar
| application/{{nowrap|java-archive}} |JAR |Multiple |Multiple |{{yes}} |Java archive, compatible with ZIP files |
.kgb
| |Multiple |Multiple |{{yes}} |Open sourced archiver with compression using the PAQ family of algorithms and optional encryption. |
.lzh, .lha
| application/{{nowrap|x-lzh}} |LHA |Originally DOS, now multiple |Multiple |{{yes}} |The standard format on Amiga. |
.lzx
| application/{{nowrap|x-lzx}} |LZX | | |Archiver originally used on The Amiga. Now copied by Microsoft to use in their .cab and .chm files. |
.pak
| |PAK |file format from NoGate Consultings, a rival from ARC-Compressor. .pak was also briefly used by the short lived MSDOS PKPAK program. |
.partimg
| |Multiple |Multiple |{{yes}} |A disk image archive format that supports several compression methods as well as splitting the archive into smaller pieces. |
.paq6, .paq7, .paq8 and variants
| |PAQ |{{yes}} |An experimental open source packager{{Cite web|url=http://mattmahoney.net/dc|title=Data Compression Programs|website=mattmahoney.net|access-date=2010-09-29|archive-date=2024-05-28|archive-url=https://web.archive.org/web/20240528214732/https://mattmahoney.net/dc/|url-status=live}} |
.pea
| |{{yes}} |Open source archiver supporting authenticated encryption, cascaded encryption, volume spanning, customizable object level and volume level integrity checks (form CRCs to SHA-512 and Whirlpool hashes), fast deflate based compression |
.phar
| |PHAR |Multiple |Multiple |{{yes}} |A package format to enable distribution of applications and libraries by bundling many PHP code files and other resources (e.g. images, stylesheets, etc.) into a single archive file |
.pim
| |PIM |{{yes}} |{{anchor|PIM}}The format from the PIM - a freeware compression tool by Ilia Muraviev. It uses an LZP-based compression algorithm with set of filters for executable, image and audio files. |
.pit
| | | | obsolete |
.qda
| |Quadruple D | |Used for data in games written using the Quadruple D library for Delphi. Uses byte pair compression. |
.rar
| application/{{nowrap|x-rar-compressed}} |RAR |Multiple |{{Partial}}{{efn|name="RAR"|RARLAB UnRAR is proprietary. The free unar has partial unpacking support for RAR1.3, RAR1.5, RAR2, RAR3 & RAR5 {{Cite web |url=https://raw.githubusercontent.com/MacPaw/XADMaster/master/XADRARParser.m |access-date=2024-09-11 | title=unar RAR parsing implementation}} and the free libarchive has partial unpacking support for RAR3{{Cite web |url=https://raw.githubusercontent.com/libarchive/libarchive/master/libarchive/archive_read_support_format_rar.c |access-date=2024-09-11 | title=libarchive RARv3 parsing implementation}} & RAR5{{Cite web |url=https://raw.githubusercontent.com/libarchive/libarchive/master/libarchive/archive_read_support_format_rar5.c |access-date=2024-09-11 | title=libarchive RARv5 parsing implementation}}.}} |A popular proprietary archive format. |
.rk
| |Multiple |Multiple |{{no}} |The format from a proprietary archiving package. Odd among proprietary packages in that they focus on incorporating experimental algorithms with the highest possible compression (at the expense of speed and memory), such as PAQ, PPMD and PPMZ (PPMD with unlimited-length strings), as well as a proprietary algorithms. |
.sda
| |Self Dissolving ARChive |Commodore 64, Commodore 128 |Commodore 64, Commodore 128 |{{yes}} |SDAs refer to Self Dissolving ARC files, and are based on the Commodore 64 and Commodore 128 versions of ARC, originally written by Chris Smeets. While the files share the same extension, they are not compatible between platforms. That is, an SDA created on a Commodore 64 but run on a Commodore 128 in Commodore 128 mode will crash the machine, and vice versa. The intended successor to SDA is SFX. |
.sea
| |Self Extracting Archive |Classic Mac OS (implicitly) | |A pre-Mac OS X Self-Extracting Archive format. StuffIt, Compact Pro, Disk Doubler and others could create .sea files, though the StuffIt versions were the most common. |
.sen
| |Scifer |Multiple |Multiple |{{yes}} |Scifer Archive with internal header |
.sfx
| |Self Extracting Archive |Commodore 64, Commodore 128 |Commodore 64, Commodore 128 |{{yes}} |SFX is a Self Extracting Archive which uses the LHArc compression algorithm. It was originally developed by Chris Smeets on the Commodore platform, and runs primarily using the CS-DOS extension for the Commodore 128. Unlike its predecessor SDA, SFX files will run on both the Commodore 64 and Commodore 128 regardless of which machine they were created on. |
.shk
| |NuFX |Originally Apple II, now multiple |Multiple |{{yes}} |An archive format designed for the Apple II series of computers. The canonical implementation is ShrinkIt, which can operate on disk images as well as files. Preferred compression algorithm is a combination of RLE and 12-bit LZW. Archives can be manipulated with the command-line NuLib tool, or the Windows-based CiderPress. |
.sit
| application/{{nowrap|x-stuffit}} |Originally Classic Mac OS, now multiple |Originally Classic Mac OS, now multiple |{{yes}} |A compression format common on Apple Macintosh computers. The free StuffIt Expander is available for Windows and macOS. |
.sitx
| application/{{nowrap|x-stuffitx}} |Multiple |Multiple |{{yes}} |The replacement for the .sit format that supports more compression methods, UNIX file permissions, long file names, very large files, more encryption options, data specific compressors (JPEG, Zip, PDF, 24-bit image, MP3). The free StuffIt Expander is available for Windows and OS X. |
.sqx
| |SQX |{{yes}} |A royalty-free compressing format |
.tar.gz, .tgz, .tar.Z, .tar.bz2, .tbz2, .tar.lz, .tlz, .tar.xz, .txz, .tar.zst | application/{{nowrap|x-gtar}} |tar with gzip, compress, bzip2, lzip, xz, or zstd |Multiple |Multiple |{{yes}} |The "tarball" format combines tar archives with a file-based compression scheme (usually gzip). Commonly used for source and binary distribution on Unix-like platforms, widely available elsewhere. Xarchiver supports the .tar.zst Archive/Compression format on Unix-like platforms. |
.uc .uc0 .uc2 .ucn .ur2 .ue2
| |UltraCompressor II |DOS |DOS | |UltraCompressor 2.3 was developed to act as an alternative to the then popular PKZIP application. The main feature of the application is its ability to create large archives. This means that compressed archives with the UC2 file extension can hold almost 1 million files. |
.uca
| |{{no}} |Based on PAQ, RZM, CSC, CCM, and 7zip. The format consists of a PAQ, RZM, CSC, or CCM compressed file and a manifest with compression settings stored in a 7z archive. |
.uha
| |UHarc |{{yes}} | A high compression rate archive format originally for DOS. |
.war
| |WAR |Multiple |Multiple |{{yes}} |Web Application archive (Java-based web app) |
.wim
| application/{{nowrap|x-ms-wim}} |{{Yes}} |File-based disk image format developed to deploy Microsoft Windows. |
.xar
| application/{{nowrap|x-xar}} |XAR |Multiple |Multiple |{{yes}} | |
.xp3
| |{{yes}} |Native format of the Open Source KiriKiri Visual Novel engine. Uses combination of block splitting and zlib compression. The filenames and pathes are stored in UTF-16 format. For integrity check, the Adler-32 hashsum is used. For many proprietary games, the files are encrypted (and decoded on runtime) via so-called "cxdec" module, which implements xor-based encryption. |
.yz1
| |YZ1 |{{yes}} |Yamazaki zipper archive. Compression format used in DeepFreezer archiver utility created by Yamazaki Satoshi.DeepFreezer{{Circular reference|date=July 2024}} Read and write support exists in TUGZip, IZArc and ZipZag |
.zip, .zipx
| application/{{nowrap|zip}} |ZIP |Originally DOS, now multiple |Multiple |{{yes}} |The most widely used compression format on Microsoft Windows. Commonly used on Macintosh and Unix systems as well. |
.zoo
| application/{{nowrap|x-zoo}} |zoo |Multiple |Multiple |{{yes}} | |
.zpaq
| |ZPAQ |Multiple |Multiple |{{yes}} |Journaling (append-only) archive format with rollback capability. Supports deduplication and incremental update based on last-modified dates. Multi-threaded. Compresses in LZ77, BWT, and context mixing formats. Open source. |
.zz
| |Zzip[https://web.archive.org/web/20090201134403/http://debin.net/zzip/ Zzip] |Multiple |Multiple |{{yes}} |Archiver with a compression algorithm based on the Burrows–Wheeler transform method. |
= Data recovery =
class="wikitable" |
File extension(s){{efn|name="file extensions"}}
!MIME type{{efn|name="MIME type"}} !Official name{{efn|name="official name"}} !Platform{{efn|name="platform"}} !Description |
---|
.ecc
| |dvdisaster error-correction file |Multiple |File format used by dvdisaster to be used for data recovery when discs become damaged or partially unreadable. |
.ecsbx
| |Error-correcting SeqBox{{Cite web|url=https://github.com/darrenldl/blockyarchive|title=darrenldl/blockyarchive|date=July 7, 2024|via=GitHub|access-date=April 11, 2019|archive-date=May 1, 2019|archive-url=https://web.archive.org/web/20190501212217/https://github.com/darrenldl/blockyarchive|url-status=live}} |Multiple |Archive with forward error correction and sector level recoverability. Error-correcting version of SeqBox. |
.par .par2 | application/{{nowrap|x-par2}} |Parchive file |Multiple |File format used in conjunction with any archive format to provide error correction and file recovery, most often in newsgroup distribution of binary files. |
.rev
| |WinRAR recovery volume |Multiple |File format used with WinRAR rar volumes. The data recovery is error correction data which is provided in the form of open recovery records and/or recovery volumes, allowing reconstruction of good archives (including reconstruction of entirely volumes) |
Comparison
=Containers and compression=
{{sort-under}}
class="wikitable sortable sort-under" style="width: auto; text-align: center; font-size: smaller; table-layout: fixed;"
! Format ! {{verth|Filename ! Created ! Introduced in ! Based on ! {{verth|Compression}} ! Integrity check{{Efn|Archive files are often stored on magnetic or other media subject to storage errors. Many archive formats contain extra error detection or correction information which can be used by the software used to read the archive files to detect and possibly correct errors.|name=Integrity check}} ! Recovery record{{Efn|Many archive formats contain redundant data embedded in the files in order to detect data storage or transmission errors, and the software used to read the archive files contains logic to detect and correct errors.|name=Recovery record}} ! Encryption supported{{Efn|Many archive formats include the capability to encrypt contents to prevent unauthorised access, using one of many available encryption methods.|name=Encryption}} ! Unicode filenames ! Modification date resolution ! Pre-processing ! License |
Archive (ar)
| .a, .ar | CSRG | 1971 | Original | {{no}} | {{no}} | {{no}} | {{no}} | {{no}} | 1 s | {{dunno}} | {{dunno}} |
---|
cpio
| .cpio | 1983 Unix System V | {{dunno}} | {{no}} | {{partial}}, select formats only | {{no}} | {{no}} | {{no}} | 1 s | {{no}} | {{dunno}} |
Shell Archive (shar and makeself)
| .shar, .run | James Gosling, Alan Hewett | 1994 4.4BSD | Original | {{no}} | {{yes}}, commonly MD5 | {{partial}} | {{partial}} | {{partial}} | arbitrary (typically 1 s) | {{no}} | {{free|Public domain (shar 1.x - 3.x), {{br}} GPL (shar 4.x)}} |
Tape Archive (tar)
| .tar | 1975 Version 6 Unix | {{dunno}} | {{no}} | {{partial}}, metadata only. Full integrity providable by filters such as gzip. | {{no}} | {{no}} | {{optional}}{{efn|name=a1| While the original tar format uses the ASCII character encoding, current implementations use the UTF-8 (Unicode) encoding, which is backwards compatible with ASCII.}} | 1 s | {{no}} | {{dunno}} |
Extended TAR format (pax)
| .tar | 2001 | Sun proposal + TAR | {{no}} | metadata | {{no}} | {{no}} | {{yes}} | arbitrary (typically 1 ns) | {{no}} | {{dunno}} |
BagIt
| – | 2007 | file system | {{no}} | {{yes}} | {{no}} | {{no}} | {{yes}} | {{no}} | {{dunno}} | {{dunno}} |
7z
| .7z | Igor Pavlov | 2000 | LZMA, LZMA2, Bzip2, PPMd, Deflate | {{yes}} | {{yes}}, | {{no}} | {{yes}}, | {{yes}} | 100 ns{{Cite web|url=https://sourceforge.net/p/sevenzip/discussion/45797/thread/3964f1db/#cbcb/7556|title=7-Zip / Discussion / Open Discussion: File times: creation, access - precision|website=sourceforge.net|access-date=2020-02-08|archive-date=2021-07-25|archive-url=https://web.archive.org/web/20210725222532/https://sourceforge.net/p/sevenzip/discussion/45797/thread/3964f1db/#cbcb/7556|url-status=live}} | {{yes}} | {{free|LGPL, Public domain}} |
ACE
| .ace | Marcel Lemke | LZ77 | {{yes}} | {{yes}} | {{yes}} | {{yes}}, Blowfish | {{yes}} | 2s | {{dunno}} | {{nonfree|Proprietary software}} |
AFA
| .afa | Vicente Sánchez-Alarcos | 2009 | Original | {{yes}} | {{yes}} | {{yes}} | {{yes}}, AES and CAST | {{yes}} | {{dunno}} | {{dunno}} | {{dunno}} |
ARC
| .arc | Thom Henderson (SEA) | 1985 | {{dunno}} | {{yes}} | {{yes|CRC16}} | {{no}} | {{bad|weak XOR only}} | {{no}} | 2s | {{no}} | {{dunno}} |
ARJ
| .arj | Robert Jung | 1991 | {{yes}} | {{yes}} | {{yes}} | {{bad|weak XOR with initial constant}} | {{no}} | {{dunno}} | {{dunno}} | {{nonfree|Proprietary software}} |
B1
| .b1 | Catalina Group Ltd | 2011 | LZMA | {{yes}} | {{yes}} | {{no}} | {{yes}}, AES | {{yes}} | {{dunno}} | {{dunno}} | {{dunno}} |
Cabinet
| .cab | 1992 Windows 3.1 | Deflate | {{yes}} | {{optional}} PKCS7 Authenticode signature | {{no}} | {{optional}} (with SDK) | {{yes}} | 2 s | {{dunno}} | {{dunno}} |
Compact File Set
| .cfs | Joe Lowe (Pismo Technic Inc.) | 2008 | ZIP/LZMA | {{yes}} | {{yes}} | {{dunno}} | {{yes}} | {{yes}} | {{dunno}} | {{dunno}} | {{free|Free software}} |
Compact Pro
| .cpt | Bill Goodman | 1990 (as "Compactor") | Original | {{yes}} | {{yes}} | {{no}} | {{yes}} | {{dunno}} | {{dunno}} | {{dunno}} | {{nonfree|Proprietary software}} |
Disk Archive (DAR)
| .dar | Denis Corbin | 2002 | Original | {{yes}} | {{yes}} | {{yes}}{{efn|name=a2| Supports the external Parchive program (par2).}} | {{yes}} | {{yes}} | 1 μs | {{yes}} | {{free|GPLv2}} |
DGCA
| .dgc | Shin-ichi Tsuruta | 2001 | GCA | {{yes}} | {{yes}} | {{yes}} | {{yes}} | {{yes}} | {{dunno}} | {{dunno}} | {{dunno}} |
FreeArc
| .arc | Bulat Ziganshin | 2006 | {{yes}} | {{yes}} | {{yes}} | {{yes}}, AES, Blowfish, Twofish and Serpent | {{yes}} | {{dunno}} | {{dunno}} | {{free|GPLv2}} |
LHA (also LZH)
| .lzh, .lha | Haruyasu Yoshizaki | 1988 | Frozen | {{yes}} | Only on recent LHA releases | {{no}} | {{No}} | {{no}} | 1–2 s | {{dunno}} | {{dunno}} |
LZX
| .lzx | Jonathan Forbes and Tomi Poutanen | 1995 | LZ77 | {{yes}} | Only on recent LZX releases | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} |
ISO image
| .iso, .img, .ima | ISO 9660 | 1988 | {{no}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} |
Spark
| .arc | David Pilling | 1989 | ARC | {{yes}} | {{yes|CRC16}} | {{no}} | {{bad|weak XOR only}} | {{no}} | 1 cs | {{no}} | {{free|CDDL 1.0{{cite web|url=https://gitlab.riscosopen.org/RiscOS/Sources/FileSys/ImageFS/SparkFS/Codecs/SparkSpark/-/blob/master/LICENCE |title=LICENCE · master · RiscOS / Sources / FileSys / ImageFS / SparkFS / Codecs / SparkSpark · GitLab |date=28 January 2023 |access-date=2023-03-26}}}} |
WinMount format
| .mou | ? | 2007 | ? | {{yes}} | {{yes}} | {{yes}} | {{yes}} | {{yes}} | {{dunno}} | {{dunno}} | {{nonfree|Proprietary software}} |
Macintosh Disk Image
| .dmg | 2001 Mac OS X | Original | {{yes}} | {{yes}} | {{dunno}} | {{yes}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} |
Partition Image (PartImage)
| .partimg | François Dupoux and Franck Ladurelle | 2000 | {{dunno}} | {{yes}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{free|GPLv2}} |
PAQ Family (Several formats){{efn|name=a4| The PAQ family (with its lighter weight derivative LPAQ) went through many revisions, each revision suggested its own extension. For example: ".paq9a".}}
| .paq#*, .lpaq#* | Matt Mahoney | 2002–2006 | Original | {{yes}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} |
PEA
| .pea | Giorgio Tani | 2006 | Original, Deflate based compression | {{yes}} | {{yes}} Adler32, CRC32, CRC64, MD5, SHA1, RIPEMD-160, SHA256, SHA512, Whirlpool | {{no}} | {{yes}} Authenticated Encryption, AES128 and AES256 in EAX mode | {{yes}} system dependent | {{yes}} arbitrary | {{dunno}} | {{free|Public domain}} |
PIM
| .pim | Ilia Muraviev | 2004–2008 | Original | {{yes}} | {{yes}} | {{no}} | {{no}} | {{yes}} | {{no}} | {{dunno}} | {{dunno}} |
Quadruple D
| .qda | Taku Hayase (aka sandman) | 1997 | {{dunno}} | {{yes}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} | {{dunno}} |
RAR
| .rar | 1993 | Original | {{yes}} | {{yes}}, | {{yes}}, | {{yes}}, | 2 s, 1 s, 6.5536 ms, 25.6 μs or 100 ns{{efn|name=a3| From 3.20 release RAR can store modification, creation and last access time with the precision up to 0.0000001 second (0.1 μs).[https://web.archive.org/web/20110718054505/http://www.win-rar.com/index.php?id=24&kb_article_id=85 WinRAR download and support: Knowledge Base]{{Cite web|url=http://www.winrar-tr.com/WinRAR/Help/ENG/html/HELPSwTS.htm|title=Switch -TS[N] - save or restore file time (modification, creat...|date=February 9, 2013|website=archive.ph|access-date=November 28, 2021|archive-date=February 9, 2013|archive-url=https://archive.today/20130209062109/http://www.winrar-tr.com/WinRAR/Help/ENG/html/HELPSwTS.htm|url-status=dead}}}} | {{dropped}} | {{nonfree|Proprietary software}} |
RK
| .rk | M Software, Ltd. | 2004 | Original | {{yes}} | {{yes}} | {{no}} | {{yes}}, AES, Square, Twofish | {{yes}} | 1 s | {{dunno}} | {{dunno}} |
NuFX
| .shk | Andy Nicholas | 1989 | Original | {{yes}} | {{yes|CRC16}} | {{no}} | {{no}} | {{no}} | 1 s | {{dunno}} | {{dunno}} |
StuffIt (also SIT)
| .sit | Raymond Lau | 1987 | {{dunno}} | {{yes}} | {{dunno}} | {{dunno}} | {{yes}} | {{dunno}} | {{dunno}} | {{dunno}} | {{nonfree|Proprietary software}} |
StuffIt X (also SITx)
| .sitx | Aladdin/Allume Systems | 2002 | {{dunno}} | {{yes}} | {{dunno}} | {{optional}} | {{yes}}, RC4,Blowfish, | {{yes}} | {{dunno}} | {{dunno}} | {{nonfree|Proprietary software}} |
UltraCompressor II
| .uc .uc0 .uc2 | 1992–1996 | LZ77 and Huffman coding | {{yes}} | {{yes}} | {{yes}} | {{yes}}, triple DES | {{dunno}} | ? | {{dunno}} | {{dunno}} |
Windows Image
| .wim, .swm, .esd | 2006 | Original | {{yes}} | {{yes}} | {{no}} | {{partial}}{{efn|name=a5| WIM can store the ciphertext of encrypted files on an NTFS volume, but such files can only by decrypted if an administrator extracts the file to an NTFS volume, and the decryption key is available (typically from the file's original owner on the same Windows installation). Microsoft has also distributed some download versions of the Windows operating system as encrypted WIM files, but via an external encryption process and not a feature of WIM.}} | {{yes}} | 100 ns | {{dunno}} | {{dunno}} |
ZIP
| .zip | 1989 | Deflate | {{yes}} | {{yes}} | {{no}} | {{yes}}, AES | {{yes}} | 1–2 s, depending on version | {{dunno}} | {{dunno}} |
ZPAQ
| .zpaq | 2009 | PAQ | {{yes}} | {{yes}}, SHA-1 | {{no}} | {{Yes}}, AES-256 | {{yes}} | {{dunno}} | {{dunno}} | {{free|MIT, Public domain}} |
=Software packaging and distribution=
class="wikitable sortable" style="width: auto; text-align: center; font-size: smaller; table-layout: fixed;"
! Format ! Filename ! Created ! Introduced in ! Based on ! Integrity check ! Recovery record ! Encryption supported ! Unicode filenames ! Modification date resolution |
Debian package (deb)
| .deb | Debian | 1994 Debian 0.91 | {{yes}} | {{no}} | {{no}} | {{yes}} | 1 s |
---|
Macintosh Installer
|.pkg, .mpkg (metapackage) | NeXT | 1989 NeXTSTEP 1.0 | {{yes}} | {{dunno}} | {{dunno}} | {{yes}} | {{dunno}} |
RPM Package Manager (RPM)
| .rpm | Red Hat | 1995 Red Hat Linux 1.0 | {{yes}} | {{dunno}} | {{dunno}} | {{dunno}} | 1 s |
Slackware Package
| .tgz | 1993 Slackware 1.0 | {{yes}} | {{no}} | {{no}} | {{dunno}} | {{dunno}} |
Windows Installer (also MSI)
| .msi | 2000 Windows 2000 | OLE Structured Storage, Cabinet and SQL | {{optional}} PKCS7 Authenticode Signature | {{no}} | {{no}} | {{no}} | 2 s |
MSIX
| .appx, .appxbundle, .emsix, .emsixbundle, .msix, .msixbundle | 2012 Windows 8 | Zip | {{yes}} | {{no}} | {{yes}} | {{yes}} | 1 s |
Java Archive (JAR{{efn|name=b1| Not to be confused with the archiver JAR written by Robert K. Jung, which produces ".j" files.}})
| .jar | 1997 JDK 1.1 | PKZIP | {{yes}} | {{no}} | {{dunno}} | {{yes}} | {{dunno}} |
Google Chrome extension package
| .crx | 2009 (Chrome 4.0) | Zip | {{yes}} | {{dunno}} | {{no}} | {{dunno}} | {{dunno}} |
Pacman
| .pkg.tar.zst, .pkg.tar (no compression) | 2001 (before ArchLinux 0.1) | tar and zstd{{Cite web|url=https://archlinux.org/news/now-using-zstandard-instead-of-xz-for-package-compression/|title=Arch Linux - News: Now using Zstandard instead of xz for package compression|website=archlinux.org}} (formerly xz) | {{yes}} | {{no}} | {{no}} | {{yes}} | 1 s |
=Features=
class="wikitable sortable" style="width: auto; text-align: center; font-size: smaller; table-layout: fixed;" |
Archive format
! Built-in compression ! Self-extracting ! Directory structure ! ACLs |
---|
cpio
| {{no}}{{efn|name=c1| Compression is not a built-in feature of the formats, however, the resulting archive can be compressed with any algorithm of choice. Several implementations include functionality to do this automatically}}{{efn|name=c1}} | {{no}} | {{yes}} | {{yes}} | {{no}} | {{dunno}} |
tar
| {{no}}{{efn|name=c1}} | {{no}} | {{yes}} | {{yes}} | {{some}} | {{partial|(in Solaris implementation)}} |
dar
| {{yes}}{{efn|name=c3| Per-file compression with gzip, bzip2, lzo, xz, lzma (as opposed to compressing the whole archive). An individual can choose not to compress already compressed filenames based on their suffix as well.}} | {{no}} | {{yes}} | {{yes}} | {{yes}} | {{yes}} |
ar
| {{no}} | {{no}} | {{no}} | {{yes}} | {{no}} | {{dunno}} |
pax
| {{no}} | {{no}} | {{yes}} | {{yes}} | {{yes}} | {{dunno}} |
dump
| {{no}}{{efn|name=c1}} | {{no}} | {{yes}} | {{yes}} | {{yes}} | {{dunno}} |
shar
| {{no}} | {{yes}} | {{yes}} | {{yes}} | {{no}} | {{dunno}} |
makeself
| {{yes}} | {{yes}} | {{yes}} | {{yes}} | {{yes}} | {{dunno}} |
zip
| {{yes}} | {{yes}}{{efn|name=c2| Most implementations can optionally produce a self-extracting executable}} | {{yes}} | {{no}} | {{dunno}} | {{dunno}} |
rar
| {{yes}} | {{yes}}{{efn|name=c2}} | {{yes}} | {{no}} | {{dunno}} | {{yes}} |
ace
| {{yes}} | {{dunno}} | {{yes}} | {{no}} | {{dunno}} | {{dunno}} |
arj
| {{yes}} | {{yes}}{{efn|name=c2}} | {{yes}} | {{no}} | {{no}} | {{dunno}} |
zoo
| {{yes}} | {{dunno}} | {{yes}} | {{no}} | {{dunno}} | {{dunno}} |
ISO 9660 (CD-ROM)
| {{no}}{{efn|name=c1}} | {{no}} | {{yes}} | {{maybe|(with Rock Ridge extension)}} | {{no}} | {{dunno}} |
cab
| {{yes}} | {{yes}}{{efn|name=c2}} | {{dunno}} | {{no}} | {{dunno}} | {{dunno}} |
rpm
| {{yes}} | {{no}} | {{yes}} | {{yes}} | {{dunno}} | {{dunno}} |
deb
| {{yes}} | {{no}} | {{yes}} | {{yes}} | {{dunno}} | {{dunno}} |
7z
| {{yes}} | {{yes}} | {{yes}} | {{no}} | {{dunno}} | {{dunno}} |
Archive format
! Built-in compression ! Self-extracting ! Directory Structure ! ACLs |
See also
Notes
{{notelist}}