Guides
What Is an Archive File?
An archive file bundles one or more files into a single container, often compressed, so they're easier to store or send as one unit.
Get an archive tool for your computer
Download the installer and start opening RAR, ZIP and 7z archives in a few minutes.
Archiving vs compressing
These two ideas are related but distinct. Archiving means combining multiple files and folders into one container while preserving their structure. Compressing means shrinking data size using an algorithm that removes redundancy. Most archive formats, including RAR, ZIP, and 7z, do both at once, but a container can technically be uncompressed, like a plain TAR file.
Why archives exist
- Bundling many files as one makes them easier to send, upload, or back up.
- Compression reduces storage space and transfer time.
- A single archive preserves folder structure and relative paths exactly.
- Some formats add features like passwords, checksums, or split volumes on top of the basic container.
Common archive extensions
| Extension | Notes |
|---|---|
| .zip | Widely supported natively by Windows and macOS |
| .rar | Proprietary; only RARLAB tools can create it, many tools can extract it |
| .7z | Open format, free tools like 7-Zip create and extract it |
| .tar | Bundles files without compression by itself; often paired with gzip as .tar.gz |
| .gz | Typically compresses a single file or is paired with .tar |
Integrity and metadata
Archive formats typically store checksums that let a tool verify the extracted data matches what was originally compressed, which is how corruption gets detected. Archives also preserve metadata like original file names, folder structure, and timestamps, so extracted files come back close to how they went in.
For the mechanics of how the compression part works, see what is file compression. If you're specifically trying to open one of these files rather than understand the concept, start with how to open a RAR file.
Download and try it yourself
Install the archive tool and apply the steps from this guide on your own files.
Frequently asked questions
Is a ZIP file the same thing as a compressed file?
A ZIP file is a type of archive that usually also compresses its contents, but the container (bundling multiple files together) and the compression (shrinking their size) are separate functions that a format like ZIP combines.
Can an archive contain other archives?
Yes, an archive can contain any file type, including other archives, and nesting them is common when re-zipping already-compressed content for organization.
Do archives always preserve folder structure?
Standard archive formats do preserve relative folder structure by default, so extracting recreates the original layout.
Why do some archives fail an integrity check?
That typically means the data was altered or damaged after the archive was created, for example by an interrupted download or storage error.
Related guides
- What Is File Compression?File compression shrinks data by removing redundancy. How much it shrinks, and whether anything is lost, depends on the method used.
- The RAR File Format ExplainedRAR is a proprietary archive format with its own header structure, versioning, and optional features like solid compression and recovery records.
- The ZIP File Format ExplainedZIP's internal layout is what makes it possible to read a listing of an archive's contents without decompressing the whole file first.
- How to Open a RAR FileOpening a RAR file usually means extracting its contents first. Here is the fastest way to do that on each major platform.
WinRAR is a trademark of its respective owner. RareExplorer is an independent resource and is not affiliated with or endorsed by RARLAB or win.rar GmbH. Read our editorial policy to see how this page was researched.