The ZIP archive file format is more accessible than RAR, but RAR is generally better at data compression than the default support for ZIP is. ZIP is common because most operating systems have built-in support for it; many other data compression programs support ZIP as well. RAR files are common, too, but creating them requires WinRAR, which is commercial software. Both ZIP and RAR have the potential to be very secure.

Comparison chart

RAR versus ZIP comparison chart
Edit this comparison chartRARZIP
  • current rating is 4.24/5
  • 1
  • 2
  • 3
  • 4
  • 5
(59 ratings)
  • current rating is 4.21/5
  • 1
  • 2
  • 3
  • 4
  • 5
(56 ratings)
Filename Extension .rar, .rev, .r00, .r01 .zip, .zipx (newer compression algorithms)
Internet Media Type application/x-rar-compressed application/zip
Introduction RAR is a proprietary archive file format that supports lossless data compression. It was developed by a Russian software engineer, Eugene Roshal, and the RAR software is licensed by win.rar GmbH. .ZIP is an archive file format that supports lossless data compression. A .ZIP file may contain one or more files or folders that may have been compressed. The .ZIP file format permits a number of compression algorithms.
Developed by Eugene Roshal Phil Katz, PKWARE
Initial Release 1993 1989
Uniform Type Identifier com.rarlab.rar-archive
Open format? Partially—free decompression; commercial compression. RAR is not an open format because while decompression source code is available, it must not be used to reverse engineer the RAR compression algorithm. Partially—file format in public domain, but various features are patented
Format Type Archive Format, Lossless Data Compression Archive Format, Lossless Data Compression

Compression Speed and Efficiency

Different programs utilize different compression algorithms and have different compression settings to choose from. Some programs or settings prioritize speed—how quickly compression can be completed—while others sacrifice speed to focus on achieving a smaller file size.

Compression efficiency is also affected by file types. Text files can be compressed considerably, for example, but multimedia files, like MP3s or AVIs, may already be in a compressed state, meaning further compression may decrease folder or file size only slightly.

Utilizing different and more efficient algorithms sometimes calls for a change in file extension. For example, the program 7-Zip can use LZMA and LZMA2 compression algorithms, which result in a ".7z" file extension. These algorithms are much better at compressing files than the default ZIP method, which is fast but uses older and less efficient DEFLATE compression. However, the file extensions required for newer compression methods, which are not supported in any operating system by default, mean you may sacrifice accessibility when using them to share files. Likewise, RAR is better at compression than ZIP, but it, too, requires other software prior to use, even for simple data extraction/decompression.

In deciding which compression method to use, you should figure out which features you need most: speed, efficiency, accessibility, security, etc.

Compression Example

Igor Pavlov, the Russian developer of 7-Zip, has stated that the standard ZIP format is inferior to RAR and ZIP files created in 7-Zip. Though a lot does come down to the file types being compressed, RAR and 7-Zip's ZIP archives compress data as much as 30 to 40% better than standard ZIP.

Pavlov proved this by compressing an installation of Google Earth 3.0.0616. Before compression, Google Earth was 23.5 MB in size. Standard ZIP compressed this by 62%, while RAR achieved 71% compression and 7-Zip reached 76% compression.


A program is required to secure ZIP and RAR files with a password. RAR files require WinRAR for compression in the first place, and WinRAR has password encryption settings you can use. Meanwhile, ZIP's default support in operating systems does not come with password protection settings in recent years; programs like 7-Zip or WinZip are required.

How secure the password protection on a ZIP or RAR file is depends partly on the program used to protect it. WinRAR uses an AES-128-bit encryption, but 7-Zip uses the more secure AES-256. This means that a password-protected ZIP file created in 7-Zip would take longer to crack than a RAR file created in WinRAR.

A lot of security comes down to password quality, though, too. Simple, one-word passwords that might be found in an English dictionary are very insecure and prone to brute-force attacks, regardless of your ZIP or RAR's encryption algorithms.

A ZIP or RAR with AES-128 encryption or better that has a good password would probably take years for supercomputers to crack. At present, there is no known attack that works well in such a scenario.


As the most popular archive file format, ZIP is not only built into most operating systems, but also recognized or improved upon by many other programs, like 7-Zip or IZArc, which are both freeware, and WinZip, which is shareware.

The following video explains how to create a ZIP file using both Windows' built-in support and the program 7-Zip:

Eugene Roshal, a Russian software engineer, is the developer of the RAR archive format and the owner of the WinRAR software. He has licensed the use of RAR decompression to many other programs outside of his WinRAR program (e.g., 7-Zip and WinZip) with the agreement that his work not be reverse engineered, but only WinRAR can compress data into a RAR file. As shareware, WinRAR has a free 40-day trial and costs $29.00 thereafter.

This next video talks about WinRAR and how to use it to compress and extract data:

Freeware and Shareware

The following is a list of popular compression programs that recognize ZIP and RAR in some capacity.


Share this comparison:

If you read this far, you should follow us:

"RAR vs ZIP." Diffen LLC, n.d. Web. 7 Jul 2020. < >