krun.ch
Guide

ZIP vs RAR vs 7z: which format to use

ZIP opens everywhere, 7z squeezes hardest, RAR adds recovery records. Here is how to choose between them for any job.

Three archive boxes of different sizes side by side, comparing formats

The short answer

If you just want something that opens everywhere, use .zip. If you want the smallest possible file and everyone involved can install a tool, use .7z. .rar sits between them with a few professional features, but it cannot be created with free, open tools the way the other two can. The rest of this guide explains where that leaves each format.

Side by side

Trait .zip .7z .rar
Opens without extra software Almost always Rarely Rarely
Compression strength Moderate Highest High
Free to create Yes Yes No (paid to create)
Split into parts Limited Yes Yes, mature
Recovery records No No Yes
Strong encryption AES-256 (modern tools) AES-256 AES-256
How ZIP, RAR and 7z compareA qualitative comparison of three archive formats across compatibility, compression strength, licensing, splitting and self-repair.How ZIP, RAR and 7z compareMore filled marks mean stronger on that trait. Strength varies with the files inside..zip.rar.7zOpens without extra softwareCompression strengthFree to createMulti-part splittingSelf-repair recordsKRUN.CH - FILE COMPRESSION REFERENCE
ZIP, RAR and 7z compared across the traits that matter most when choosing a format.

ZIP: the universal default

The .zip format is built into Windows, macOS, Linux desktops and every major phone. Double-clicking one just works, with no install and no account. That reach is its whole point. The trade-off is compression: ZIP uses an older method that does not squeeze as hard as its newer rivals, so the file is a little larger. For sharing with people whose setup you cannot predict, that is usually a price worth paying.

7z: the size champion

The .7z format, created by the free 7-Zip project, typically produces the smallest archives of the three, especially on large folders of similar files. It also handles huge archives and splitting cleanly. The catch is that the recipient generally needs a compatible app, because .7z is not built into most operating systems. Use it when you control both ends, or when shrinking a big backup matters more than convenience.

Strength varies with the contents, not just the format. On a folder of plain-text or source files the gap between .zip and .7z can be large. On a folder of photos or video, all three formats land within a rounding error of each other, because that data was already compressed.

RAR: features for power users

The .rar format compresses well and offers two things the others lack out of the box: mature multi-part splitting and optional recovery records, which can rebuild a damaged archive if part of it is corrupted. Those features made it popular for distributing large sets over unreliable connections. The limitation is licensing – creating RAR archives requires paid software, while extracting them is free – so it is a poorer choice when you need everyone to be able to repackage files too.

Which one should you choose?

  • Emailing a few documents.zip. It opens on the recipient’s device with zero friction.
  • Backing up a large project folder.7z for the smallest result, as long as your restore tool supports it.
  • Sending across a flaky connection in parts.rar if you already own a tool that creates it; otherwise split .7z.
  • Publishing a download for the public.zip, so nobody is turned away by a format they cannot open.

New to extracting any of these? The guide to opening archives covers every platform, and how compression works explains why the size differences appear in the first place.

Frequently asked questions

Is 7z always smaller than ZIP?

Usually, but not always. On text and code the difference can be significant; on already-compressed media such as photos or video, all three formats produce nearly identical sizes.

Can I open a RAR file without paying?

Yes. Extracting RAR archives is free in many tools. Only creating new RAR archives requires paid software.

Why does ZIP open everywhere but 7z does not?

ZIP support is built into Windows, macOS and most phones by default. The 7z format is excellent but is not bundled with those systems, so the recipient needs a compatible app.

Are these formats secure?

Compression is not security on its own. All three can add AES-256 encryption with a password when you create the archive, which is what actually protects the contents.

Which format is best for long-term backups?

For maximum space saving, .7z. If you also want the archive to survive partial corruption, .rar recovery records add a margin of safety.