- Need to open a Zip file? Download WinZip to open your file now.
- What is a Zip file extension?
- How to open Zip files
- Open Zip files on Windows or Mac
- WinZip opens and extracts Zip Compressed Archive Files—and many more formats
- Zip and unzip files
- Compressed zip files windows
- License
- The main features of 7-Zip
- Compression ratio
- Практическое руководство. Сжатие и извлечение файлов How to: Compress and extract files
- Пример 1: Создание и извлечение ZIP-файла Example 1: Create and extract a .zip file
- Пример 2: Извлечение файлов с определенными расширениями Example 2: Extract specific file extensions
- Пример 3. Добавление файла в существующий ZIP-файл Example 3: Add a file to an existing zip
- Пример 4. Сжатие и распаковка GZ-файлов Example 4: Compress and decompress .gz files
- How to Compress Files to a ZIP Archive in Windows
- Learn how to zip a file
Need to open a Zip file? Download WinZip to open your file now.
— Rated 5 stars by CNET
What is a Zip file extension?
The Zip archive format makes it easier to send—and back up—large files or groups of files. A Zip file is a single file containing one or more compressed files, offering an ideal way to make large files smaller and keep related files together. The most popular compression format for Windows, Zip is commonly used for emailing and sharing files over the Internet. When you receive or download a Zip file, you need a way to extract or unpack it so you can access these files. WinZip, the world’s most popular zip file opener, it is the fast and easy way to open your Zip files.
How to open Zip files
- Save the .zip file extension to the desktop. If your compressed file was downloaded from a website, it may be saved in the Downloads folder in your Documents or user directory.
- Launch WinZip from your start menu or Desktop shortcut. Open the compressed file by clicking File > Open. If your system has the compressed file extension associated with WinZip program, just double-click on the file.
- Select all the files and folders inside the compressed file. Or multi-select only the files or folders you want to open by holding the CTRL key and left-clicking on them.
- Click 1-click Unzip and choose Unzip to PC or Cloud in the WinZip toolbar under the Unzip/Share tab.
- Choose the destination folder to place the extracting files and click «Unzip» button.
- Find your extracted files in the destination folder.
Open Zip files on Windows or Mac
- WinZip 25
- Windows 10
- Windows 8
- Windows 7
- Windows Vista
- Windows XP
- Internet Explorer 8 or later
- WinZip Mac 8
- Mac OS X 10.8, 10.9, or 10.10
- Intel 64-bit processor
- Supports Apple Retina Displays
WinZip opens and extracts Zip Compressed Archive Files—and many more formats
We designed WinZip to open and extract from the widest range of file formats, including all of the following:
Get WinZip now to open your Zip file(s), then enjoy all that the world’s most popular compression utility has to offer, including the easiest and most practical file compression, encryption, packaging, file management and data backup capabilities.
Also visit our partner site www.openthefile.net for more options to open Zip files.
Copyright ©2021 Corel Corporation. All Rights Reserved. WinZip is a Registered Trademark of Corel Corporation
Zip and unzip files
Zipped (compressed) files take up less storage space and can be transferred to other computers more quickly than uncompressed files. In Windows, you work with zipped files and folders in the same way that you work with uncompressed files and folders. Combine several files into a single zipped folder to more easily share a group of files.
Locate the file or folder that you want to zip.
Press and hold (or right-click) the file or folder, select (or point to) Send to, and then select Compressed (zipped) folder.
A new zipped folder with the same name is created in the same location. To rename it, press and hold (or right-click) the folder, select Rename, and then type the new name.
Locate the zipped folder that you want to unzip (extract) files or folders from.
Do one of the following:
To unzip a single file or folder, open the zipped folder, then drag the file or folder from the zipped folder to a new location.
To unzip all the contents of the zipped folder, press and hold (or right-click) the folder, select Extract All, and then follow the instructions.
To add files or folders to a zipped folder you created earlier, drag them to the zipped folder.
If you add encrypted files to a zipped folder, they’ll be unencrypted when they’re unzipped, which might result in unintentional disclosure of personal or sensitive information. For that reason, we recommend that you avoid zipping encrypted files.
Some types of files, like JPEG images, are already highly compressed. If you zip several JPEG pictures into a folder, the total size of the folder will be about the same as the original collection of pictures.
Compressed zip files windows
7-Zip is a file archiver with a high compression ratio.
Download 7-Zip 19.00 (2019-02-21) for Windows :
Link | Type | Windows | Size |
---|---|---|---|
Download | .exe | 32-bit x86 | 1.2 MB |
Download | .exe | 64-bit x64 | 1.4 MB |
Download 7-Zip 21.01 alpha (2021-03-09) for Windows :
Link | Type | Windows | Size |
---|---|---|---|
Download | .exe | 32-bit x86 | 1.2 MB |
Download | .exe | 64-bit x64 | 1.4 MB |
Download | .exe | 64-bit ARM64 | 1.5 MB |
License
7-Zip is free software with open source . The most of the code is under the GNU LGPL license. Some parts of the code are under the BSD 3-clause License. Also there is unRAR license restriction for some parts of the code. Read 7-Zip License information.
You can use 7-Zip on any computer, including a computer in a commercial organization. You don’t need to register or pay for 7-Zip.
The main features of 7-Zip
- High compression ratio in 7z format with LZMA and LZMA2 compression
- Supported formats:
- Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM
- Unpacking only: AR, ARJ, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR, RPM, SquashFS, UDF, UEFI, VDI, VHD, VMDK, WIM, XAR and Z.
- For ZIP and GZIP formats, 7-Zip provides a compression ratio that is 2-10 % better than the ratio provided by PKZip and WinZip
- Strong AES-256 encryption in 7z and ZIP formats
- Self-extracting capability for 7z format
- Integration with Windows Shell
- Powerful File Manager
- Powerful command line version
- Plugin for FAR Manager
- Localizations for 87 languages
7-Zip works in Windows 10 / 8 / 7 / Vista / XP / 2019 / 2016 / 2012 / 2008 / 2003 / 2000.
p7zip — the port of the command line version of 7-Zip to Linux/Posix.
On 7-Zip’s SourceForge Page you can find a forum, bug reports, and feature request systems.
Compression ratio
We compared 7-Zip with WinRAR 5.20.
FILE SETS: Mozilla Firefox 34.0.5 for Windows and Google Earth 6.2.2.6613 for Windows.
Archiver | Mozilla Firefox | Google Earth | ||
---|---|---|---|---|
65 files 85 280 391 bytes | 483 files 110 700 519 bytes | |||
Compressed size | Ratio | Compressed size | Ratio | |
7-Zip 9.35 -mx | 39 357 375 | 100% | 15 964 369 | 100% |
WinRAR 5.20 -m5 -s -ma5 -md128m | 41 789 543 | 106% | 17 035 432 | 107% |
Compression ratio results are very dependent upon the data used for the tests. Usually, 7-Zip compresses to 7z format 30-70% better than to zip format. And 7-Zip compresses to zip format 2-10% better than most of other zip compatible programs.
7-Zip 21.01 | 2021-03-09 |
7-Zip 21.01 alpha |
7-Zip 21.01 | 2021-03-09 |
7-Zip for Linux |
7-Zip 21.00 | 2021-01-19 |
7-Zip 21.00 alpha |
7-Zip 20.02 | 2020-08-08 |
7-Zip 20.02 alpha |
7-Zip for ARM64 | 2020-08-08 |
7-Zip for ARM64 |
7-Zip 19.00 | 2019-02-21 |
7-Zip 19.00 |
7-Zip ChangeLog | |
History of 7-zip changes |
Copyright (C) 2021 Igor Pavlov. The site is hosted at Digital Ocean
Практическое руководство. Сжатие и извлечение файлов How to: Compress and extract files
Пространство имен System.IO.Compression предоставляет следующие типы для сжатия и распаковки файлов и потоков. The System.IO.Compression namespace contains the following types for compressing and decompressing files and streams. Вы также можете использовать эти типы для чтения и изменения содержимого сжатого файла. You can also use these types to read and modify the contents of a compressed file.
В примерах ниже показано несколько операций для работы со сжатыми файлами. The following examples show some of the operations you can perform with compressed files. Для этих примеров требуется добавить в проект следующие пакеты NuGet: These examples require the following NuGet packages to be added to your project:
Если вы используете .NET Framework, добавьте в проект ссылки на эти две библиотеки: If you’re using .NET Framework, add references to these two libraries to your project:
Пример 1: Создание и извлечение ZIP-файла Example 1: Create and extract a .zip file
В следующем примере показано, как создавать и извлекать сжатый файл .zip с помощью класса ZipFile. The following example shows how to create and extract a compressed .zip file by using the ZipFile class. Он сжимает содержимое папки в новый ZIP-файл и затем извлекает его в новую папку. The example compresses the contents of a folder into a new .zip file, and then extracts the zip to a new folder.
Чтобы запустить пример, создайте папку start в папке программы и заполните ее файлами для сжатия. To run the sample, create a start folder in your program folder and populate it with files to zip.
Пример 2: Извлечение файлов с определенными расширениями Example 2: Extract specific file extensions
В этом примере выполняется итерация по содержимому существующего ZIP-файла и извлекаются файлы с расширением .txt. The next example iterates through the contents of an existing .zip file and extracts files that have a .txt extension. Здесь используется класс ZipArchive для доступа к ZIP-файлу и класс ZipArchiveEntry для проверки отдельных элементов. It uses the ZipArchive class to access the zip, and the ZipArchiveEntry class to inspect the individual entries. Метод расширения ExtractToFile для объекта ZipArchiveEntry доступен в классе System.IO.Compression.ZipFileExtensions. The extension method ExtractToFile for the ZipArchiveEntry object is available in the System.IO.Compression.ZipFileExtensions class.
Чтобы запустить пример, поместите ZIP-файл с именем result.zip в папку программы. To run the sample, place a .zip file called result.zip in your program folder. По запросу укажите имя папки для извлечения. When prompted, provide a folder name to extract to.
При распаковке файлов важно убедиться в отсутствии вредоносных путей, которые могут вести за пределы каталога, в который вы извлекаете файлы. When unzipping files, you must look for malicious file paths, which can escape out of the directory you unzip into. Такая атака известна как обход путей. This is known as a path traversal attack. В следующем примере показано, как правильно проверить наличие вредоносных путей и безопасно извлечь файлы. The following example demonstrates how to check for malicious file paths and provides a safe way to unzip.
Пример 3. Добавление файла в существующий ZIP-файл Example 3: Add a file to an existing zip
В следующем примере используется класс ZipArchive для доступа к существующему ZIP-файлу и добавления в него файла. The following example uses the ZipArchive class to access an existing .zip file, and adds a file to it. Новый файл сжимается при добавлении в существующий ZIP-файл. The new file gets compressed when you add it to the existing zip.
Пример 4. Сжатие и распаковка GZ-файлов Example 4: Compress and decompress .gz files
Также вы можете использовать классы GZipStream и DeflateStream для сжатия и распаковки данных. You can also use the GZipStream and DeflateStream classes to compress and decompress data. Они применяют тот же алгоритм сжатия. They use the same compression algorithm. Вы можете распаковать объекты GZipStream, которые записаны в GZ-файл, с помощью многих распространенных средств. You can decompress GZipStream objects that are written to a .gz file by using many common tools. В следующем примере показано, как использовать класс GZipStream для сжатия и распаковки каталога файлов. The following example shows how to compress and decompress a directory of files by using the GZipStream class:
How to Compress Files to a ZIP Archive in Windows
Learn how to zip a file
«Zipping» in Windows is when you combine multiple files into a single file-like folder with the .ZIP file extension. It opens like a folder but acts like a file, in that it’s just a single item. It also compresses files to save disk space.
Learn how to create a .ZIP file in Windows.
Instructions in this article apply to Windows 10, Windows 8, and Windows 7.
Using File Explorer, navigate to where your files or folders that you would like to make into a ZIP file. These files may can anywhere on your computer, including external and internal hard drives.
Pressing Windows Key+E will open the Windows File Explorer.
Select the files you want to compress. If you want to zip all the files in a single location, you can use the keyboard shortcut Ctrl+A to select all of them.
If they are not in a single location, press and hold the left mouse button and drag over all the objects you want to select. The items you’ve selected will have a light-blue box around them, as seen here.
Press and hold the Ctrl key while selecting the files you want to zip. This will automatically select every file sitting between the two items that you clicked. Once again, all your selected items will be highlighted with a light-blue box.
Once your files are selected, right-click on one of them to reveal an options menu. Select Send to > Compressed (zipped) folder.
If you’re sending all the files in a particular folder, another option is to just select the entire folder. For example, if the folder is Documents > Email items > Stuff to send, you can go into the Email items folder and right-click Stuff to send to make the ZIP file.
If you want to add more files to the archive after the ZIP file has already been made, just drag the files right on top of the ZIP file and they’ll be added automatically.
Once you zip the files, a new folder appears next to the original collection with a big zipper on it, indicating that it has been zipped. It will automatically use the name of the last file you zipped.
You can leave the name as it is or change it to whatever you like. Right-click the ZIP file and choose Rename.
Now the file is ready to send to someone else, back up on another hard drive, or stash in your favorite cloud storage service. One of the best uses of zipping files is to compress big graphics to send through email, upload to a website, and so on.