ZIP, TAR, GZ and 7Z: what's the difference?
Archive extensions vary, but they do just two jobs: bundling files and shrinking them.
At a glance
- ZIP — bundles and shrinks. Almost every device opens it; the safest choice for sharing.
- TAR — bundles without shrinking. Used on Linux to keep file permissions.
- GZ — shrinks a single file. Commonly combined with TAR as TAR.GZ (TGZ).
- 7Z and RAR — shrink further, but often need a separate program to open.