Skip to content
BENIBIX Learn

ZIP File

Development📄 Files & FormatsFiles

Also known as ZIP Archive, .zip File, Zipped Folder, Compressed Folder

One file that packs many files and makes them smaller. Unzip it to get them all back.

Think of it like

Think of it like a suitcase. You pack many things into one bag and squeeze it shut.

Example

Emma has 40 report files to email. She zips them into reports.zip and attaches just one file.

Why it matters

One small file is easier to send, upload or keep than hundreds of loose ones.

Definition

A ZIP file packs many files and folders into one file. It often squeezes them too, which is called compression. Nothing is lost, and unzipping gives back the exact files. Text shrinks a lot. Photos and videos barely shrink, because they are already squeezed. Windows and macOS can open ZIP files with no extra app.

Example code

console
$ zip notes.zip notes.txt
  adding: notes.txt (deflated 94%)
This text file shrank by 94 percent when it went into the ZIP.
Text shrinks to a tenth of its size. A photo is already squeezed, so it barely changes.

Common mistake

Zipping photos to make them much smaller. They are already squeezed, so the ZIP is about the same size.

Key takeaways

  1. 1
    Many into one. A whole folder becomes one file.
  2. 2
    Nothing lost. Unzip it and every byte comes back.
  3. 3
    Text shrinks most. Pictures and video barely shrink.

Learn it properly