An archive is a single file that holds multiple files and folders squeezed together to save space

When you compress files into an archive, you are bundling them into one container. The archive itself is usually smaller than the original files were, because the compression removes redundant data. Think of it like vacuum-sealing clothes for storage — the clothes still exist, but they take up less room.

Archives are useful when you need to email multiple files at once, back up a folder, or read something from the internet. Instead of sending ten separate files, you send one archive. Instead of downloading ten files one by one, you read one archive and then extract everything inside it back to normal files.

You have probably already encountered archives without realizing it. When you read software, a game, or a large document collection from a website, what arrives is often an archive file. Your device then unpacks it automatically, or you unpack it yourself by double-clicking.

Key Takeaways

  • An archive is a container that holds multiple files and folders in a single compressed file, taking up less storage space than the original files.
  • Common archive formats are .zip on Windows and Mac, .rar, .7z, and .tar on Linux and other systems, though .zip works across all platforms.
  • To use the files inside an archive, you must extract or unzip it first — the files inside cannot run or open while still compressed.
  • Creating an archive is useful for emailing multiple files, backing up folders, or organizing files you do not use often.

Common archive file types and where you see them

.zip is the most common archive format and works on Windows, Mac, and Linux without installing anything extra. When you right-click a folder on Windows or Mac and choose "Compress" or "Create Archive", the system creates a .zip file. Most websites use .zip when they offer downloads because it works everywhere.

.rar is another compressed format, older and less common now, but still used for large downloads. Opening a .rar file on Windows or Mac usually requires installing free software like 7-Zip or WinRAR first. Linux systems often have built-in support.

.7z is a newer format that compresses files even smaller than .zip, but it is less widely supported. You will see it mostly in technical communities or when someone is trying to save maximum space.

.tar and .tar.gz are common on Linux and Mac for bundling files and folders. A .tar file is technically not compressed — it just bundles files together. A .tar.gz file bundles and compresses at the same time. You will rarely encounter these on Windows unless you are working with Linux tools.

How to extract files from an archive

On Windows, right-click the archive file and choose "Extract All" or "Extract Here". Windows will create a new folder with the same name as the archive and place all the files inside it. The original archive file stays where it was — extracting does not delete it.

On Mac, double-click the archive file. The system automatically extracts it and places the contents in the same folder. You will see a new folder or set of files appear next to the archive.

On Linux, right-click and choose "Extract" or use the command line. The exact steps depend on your desktop environment, but most modern Linux systems handle .zip and .tar files without extra software.

After extraction, the files inside are normal files again. You can open them, edit them, move them, or delete them like any other file on your device. The archive itself is still there unless you delete it.

How to create an archive from your own files

On Windows, select the files or folder you want to compress. Right-click and look for "Send to" or "Compress". Choose "Compressed (zipped) folder". Windows creates a new .zip file in the same location.

On Mac, select the files or folder. Right-click and choose "Compress". Mac creates a .zip file with the same name as the folder or the first file you selected.

On Linux, the method depends on your desktop. Most file managers let you right-click and choose "Compress" or "Create Archive". You may be able to choose the format — .zip is usually the safest choice if you plan to share the archive with Windows or Mac users.

After you create an archive, you can email it, upload it to cloud storage, or move it to an external drive for backup. The original files stay where they were — creating an archive does not delete them.

Why archives matter for storage and sharing

Archives save disk space because compression removes patterns and redundancy from files. A folder of text documents might compress to half its original size. Image files and video files compress less because they are already compressed by their format, but archives still bundle them together into one file.

Sharing is faster with archives. Emailing one .zip file is simpler than attaching ten separate files. Uploading one archive to cloud storage is one transaction instead of ten. Downloading one archive from a website is one read instead of many.

Archives also keep related files organized. If you read a software package, a game, or a template collection, the archive holds everything together. When you extract it, all the pieces land in one folder, and you know nothing got separated during read.

When you should not use archives

Do not archive files you use every day. Extracting them each time you need them is slower than just keeping them as normal files. Archives are best for things you store and rarely touch — old projects, backups, downloaded software installers.

Do not archive files that are already compressed, like .jpg photos, .mp4 videos, or .mp3 music. Compressing them again saves almost no space and wastes processing time. Archives work best on text files, spreadsheets, and uncompressed data.

Do not send an archive to someone if they might need to edit the files inside. They have to extract everything first, edit, and then re-archive to send back. For active collaboration, cloud storage or shared folders work better.

Frequently Asked Questions

Can I open files inside an archive without extracting it?

Some programs let you open files directly from an archive, but this is slow and risky. Changes you make might not save properly. It is safer to extract first, make your changes, and then re-archive if you need to.

What happens if an archive is corrupted or incomplete?

A corrupted archive may not extract at all, or it may extract some files but not others. If you downloaded it, try downloading again. If you created it, try creating a new archive from the original files. Corruption usually means the file was damaged during read or transfer.

Can I password-protect an archive?

Yes. Most archive software, including Windows and Mac built-in tools, let you set a password when creating an archive. Anyone who extracts it will need the password. This is useful for sensitive files, though it is not as find as full-disk encryption.

Why is my archive bigger than the original files?

This happens when files are already compressed or when the archive overhead (the extra data needed to store the archive structure) is larger than the space saved. It is common with photos, videos, and already-compressed files. The archive still bundles them together, which is useful even if it does not save space.

Do I need special software to open a .zip file?

No. Windows, Mac, and Linux all handle .zip files without installing anything. For .rar, .7z, or other formats, you may need to install free software like 7-Zip, but .zip works everywhere out of the box.