7-Zip
Version 23.01 Released 20th June 2023
I have used this free and Open Source file archiver for years, and still use it daily to backup my files to DropBox and USB flash drives. I also use it to archive my website so that my site’s visitors can download the entire site and browse it when offline.
Both 32-bit and 64-bit versions are available from the official download page where you can get the installer without any nonsense with malware or PUPs.
Bugs can be reported on the 7-Zip Discussion forum.
Changes since version 23.00
- The page "Language" in 7-Zip's menu Tools/Options now shows information about selected translation, including the number of translated lines.
- Some bugs were fixed.
Changes since version 22.01
- 7-Zip now can use new ARM64 filter for compression to 7z and xz archives. ARM64 filter can increase compression ratio for data containing executable files compiled for ARM64 (AArch64) architecture.
Also 7-Zip now parses executable files (that have exe and dll filename extensions) before compressing, and it selects appropriate filter for each parsed file: - BCJ or BCJ2 filter for x86 executable files,
- ARM64 filter for ARM64 executable files.
Previous versions by default used x86 filter BCJ or BCJ2 for all exe/dll files. - Default section size for BCJ2 filter was changed from 64 MiB to 240 MiB. It can increase compression ratio for executable files larger than 64 MiB.
- UDF: support was improved.
- cpio: support for hard links.
- Some changes and optimizations in WIM creation code.
- When new 7-Zip creates multivolume archive, 7-Zip keeps in open state only volumes that still can be changed. Previous versions kept all volumes in open state until the end of the archive creation.
- 7-Zip for Linux and macOS now can reduce the number of simultaneously open files, when 7-Zip opens, extracts or creates multivolume archive. It allows to avoid the failures for cases with big number of volumes, bacause there is a limitation for number of open files allowed for a single program in Linux and macOS.
- There are optimizations in code for 7-Zip's context menu in Explorer: the speed of preparing of the menu showing was improved for cases when big number of files were selected by external program for context menu that contains 7-Zip menu commands.
- There are changes in code for the drag-and-drop operations to and from 7-Zip File Manager.
- And the drag-and-drop operation with right button of mouse now is supported for some cases.
- These bugs were fixed:
- ZIP archives: if multithreaded zip compression was performed with more than one file to stdout stream (-so switch), 7-zip didn't write "data descriptor" for some files.
- ext4 archives: 7-Zip couldn't correctly extract symbolic link to directory from ext4 archives.
- HFS and APFS archives: 7-Zip incorrectly decoded uncompressed blocks (64 KiB) in compressed forks.
- Some another bugs were fixed.
Changes since version 22.00
- UDF support was improved to UDF version 2.60.
- HFS and APFS support was improved.
Changes since version 21.07
- 7-Zip now can extract APFS (Apple File System) images that can be used in DMG files.
- 7-Zip now can create TAR archives in POSIX (pax) tar format with the switches
- -ttar -mm=pax or -ttar -mm=posix
- 7-Zip now can store additional file timestamps with high precision (1 ns in Linux) in tar/pax archives with the following switches:
- -ttar -mm=pax -mtp=3 -mtc -mta
- New switches for Linux version for TAR archives:
- -snoi : store owner/group ids in archive or set owner/group ids from archive to extracted files.
- -snon : store owner/group names in archive
- New -snz switch to propagate Zone.Identifier stream to extracted files (Windows).
- New option "Propagate Zone.Id stream" in Tools/Options/7-Zip menu.
- New "Options" window in "Add to archive" allows to select what metadata must be included to archive. Also it allows to select new option
- "Do not change source files last access time".
- Some bugs were fixed.
Changes since version 19.00
- The window "Add to Archive" now allows to set a limit on memory usage (RAM) that will be used for compressing.
- New switch -mmemuse={N}g / -mmemuse=p{N} to set a limit on memory usage (RAM) for compressing and decompressing.
- Some bugs were fixed.
Changes since version 18.06
- Encryption strength for 7z archives was increased: the size of random initialisation vector was increased from 64-bit to 128-bit, and the pseudo-random number generator was improved.
- Some bugs were fixed.
Changes since version 18.05
- The speed for LZMA/LZMA2 compressing was increased by 3-10%,
- There are minor changes in compression ratio.
- Some bugs were fixed.
- The bug in 7-Zip 18.02-18.05 was fixed: there was memory leak in xz decoder.
- 7-Zip 18.02-18.05 used only one CPU thread for bz2 archive creation.
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
- Split archives for storing large files on FAT drives, or smaller chunks for uploading to cloud storage, sending by email, etc.
- 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 / 2016 / 2012 / 2008 / 2003 / 2000 / NT.
Compression
Even in these days of enormous hard drives, flash drives with capacities measured in Gigabytes, and widely available high-speed broadband, file size is still a significant issue for uploading large files to web sites, and for those who pay for bandwidth or have slow connections, files sizes for downloading are also very significant.
7-Zip will compress most file types to its *.7z format better than standard Zip. Just how much better depends a great deal on the files being compressed. On the 7-Zip Home page, the program’s author, Igor Pavlov states:
“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 other Zip compatible programs.”
The file types that I need to compress are:
- PagePlus and WebPlus files. 7z format is typically about 93% of 7-Zip’s Zip format.
- Mixed file types including HTML and PDF. 7z format is typically about 85% of 7-Zip’s Zip format.
- OpenType font files. 7z format is typically about 52% of 7-Zip’s Zip format.
- Mostly HTML with some small images. 7z format is typically about 33% of 7-Zip’s Zip format. For plain text and HTML using the PPMd compression method yields better results than the default LZMA2 method, which is generally best for other files types.
- Image files. Compressing image files such as JPG rarely saves space. It is only a convenient way to group a large number of images in a single folder. However, there is one notable exception — where many of the images are duplicates, the 7z format may be significantly smaller than ZIP. If you need to backup large numbers of very similar JPG files such as CCTV images, you might find that 7z compression has significant benefits. I have not been able to test this.
Shell Menu
When 7-Zip is installed, a submenu is added to the Windows Explorer shell menu, Right-clicking on a folder or on selected files will offer options for compressing them to an archive. Right-clicking on an archive will offer options for extracting the contents. This is the way that I usually work to compress folders or files to new archives.
It’s also a convenient way to inspect Serif files such as *.ppp or *.wpp files, which are just zip archives with a different extension.
There’s no need to change the file extension — just select the file, right-click, and from the 7-zip submenu of the context menu, select “Open Archive.”
This will open the file in the 7-Zip file manager, displaying its contents of folders, XML files, and images. Right-click again on an XML file to edit it on Notepad or your favourite text editor. Double-click a Preview.png to edit it in your favourite image editor. Save the edits, close the 7-Zip file manager and update the archive to save the changes to the Serif Application file.
Don’t mess up though, or you might not be able to open the file in its application.
The same method can be used to examine and extract the executable files that are used to install Serif programs. Extract the contents to any convenient folder and run Setup.exe from there to speed up installation and repair since the archive has already been extracted. Just running the *.exe file would first extract the contents to a temporary folder, then run setup.exe, then delete the temporary folder. Installing from a DVD it is even slower than running the *.exe file from the hard drive.
Drag and Drop
Double-clicking on an archive will open it in the File Manager. This is a convenient way to view the contents of an archive, to delete files, to view them in a text editor or image viewer, or open them in their associated program. Archives downloaded from the Web can be opened in the file manager before deciding where to extract the contents.
Files can be dragged from Windows Explorer and dropped into the file manager to add them to an existing archive, or to update the archive with more recent files.
Files can be dragged out of the archive and dropped into any folder in Windows Explorer to extract them from the archive.
Archives can be protected with a password too, but be aware that archiving the same file again directly from the right-click menu will remove the password protection.
The column headings can be rearranged or hidden from view.
The Tools menu of the file manager offers options for configuring the file types to associate with it, and a checklist of items to include on the Windows Explorer shell menu.
An Editor such as Notepad can be assigned to edit files such as HTML instead of opening them in their associated application.
Any of 87 languages can be selected for the interface including Thai, Sinhala, Tamil, Vietnamese or Welsh, as well as the more usual choices.
Up to 10 folders can be added to your favourites with quick access keys Alt 0-9.
Conclusions
The 64-bit installer is just 1.37 Mbytes, and the 32-bit installer is just 1.12 Mbytes. Download and install it now to start saving time and bandwidth. The size of the download may be saved at once with the first set of files compressed using 7-Zip instead of the standard Zip format.
Many forums, including Serif CommunityPlus support the 7z format for file attachments. Use 7-Zip to compress large files and keep them below forum upload limits or use it to upload any file types that are not supported.
Serif application files are already compressed and won’t compress much more, but other file types like *.eps may compress to 5% or even smaller with 7-Zip. This large file compressed to a little over 4% using LZMA2 compression.
Page last updated on 09 July 2023