Zipping turns a pile of files - or a whole folder with its subfolders - into one .zip file, compressed where compression helps. You do it to send a set of documents as a single attachment, upload a folder to a form that takes one file, or keep a project together as one tidy archive. Every operating system can make a zip without extra software, and the Zip Files tool does it in a browser tab with nothing installed and nothing uploaded. This guide covers each route, how much smaller a zip will actually be, and the details that trip people up.
Zipping on a computer
- Windows 11: select the files or folder, right-click and choose Compress to ZIP file. On Windows 10 it is right-click, Send to, Compressed (zipped) folder. The zip appears beside the originals, named after the item you right-clicked.
- macOS: select the items, right-click and choose Compress. One item gives you name.zip; several give you Archive.zip, which you can rename.
- Linux: most file managers have a Compress option. From a terminal, zip -r project.zip project packs the folder project and everything under it; without -r you get only the files at the top level.
Zipping on a phone or tablet
- iPhone and iPad: in the Files app, tap Select, choose the files, then tap the three-dot menu and Compress. A single folder can be long-pressed and compressed directly.
- Android: many file managers, Samsung's My Files among them, offer Compress after you select files. If yours does not, the browser route below works on a phone too.
Zipping in the browser
Open Zip Files Online, then drag files or a whole folder onto the page, or use Add files or Add a folder. Each file is listed with its path, so you can see the folder structure the zip will have and remove anything you did not mean to include. Give the zip a name - it defaults to the folder's name when you add one folder - and press Create zip. The finished file downloads straight away.
Everything happens on your own machine. The browser reads each file from disk a megabyte at a time, compresses it with the Deflate compressor built into the browser, and assembles the zip locally. That makes it useful on a computer where you cannot install software, and means a folder of contracts or ID scans never touches a server.
Two choices are offered. Compress uses Deflate, the method every unzip tool reads. Store only packs files without compressing them, which is fastest and worth choosing when the files are all photos or videos anyway. Files with the same name in the same folder are kept as name (2).ext rather than one silently replacing the other, and Mac and Windows system files such as .DS_Store and Thumbs.db are left out unless you untick the option.
How much smaller will the zip be?
That depends entirely on what is inside. As a worked example, take a report folder holding a 678,301-byte CSV of 20,000 sales rows and a 3,000,000-byte JPG cover photo, 3,678,301 bytes in all. Zipping it with Deflate gives:
- The CSV shrinks to 91,052 bytes, 86.6% smaller. Dates, region names and product names repeat on every row, and Deflate replaces each repeat with a short pointer back to an earlier copy.
- The photo goes in at 3,000,000 bytes, unchanged. A JPG is already compressed; Deflate finds nothing left to remove and would even add a few bytes, so the tool stores it as it is.
- The zip's own bookkeeping adds 274 bytes: a header before each file, a directory entry for each at the end, and a 22-byte end record.
The zip comes to 3,091,326 bytes - 16% smaller than the folder, and all of that saving comes from the CSV. That pattern holds generally. Text, CSV, JSON, code, logs and uncompressed images or audio (BMP, TIFF, WAV) often shrink by 60 to 90%. JPG, PNG, MP4, MP3, most PDFs and Office files barely change, because they are compressed already; .docx and .xlsx files are themselves zips. If your goal is to make photos or a PDF small enough to email, zipping will not do it - compress the files themselves first, with a tool like Compress Image to Size or Compress PDF to Size, and then zip them if you want one attachment.
Tips before you send a zip
- Zip the folder, not its contents, when the structure matters. Zipping a folder puts everything under a top-level folder of that name, so whoever extracts it gets one tidy folder instead of fifty loose files in their Downloads.
- Check the size against the limit. Gmail attachments top out at 25 MB, and most job and exam portals cap uploads far lower. A zip over the limit has to be split into several, or shared as a cloud link.
- Keep file names plain if the recipient may use old software. Modern tools read accented and non-Latin names correctly - the browser tool writes them as UTF-8 and marks them as such - but some very old extractors show them garbled.
- Remember that a zip is not private. Zip's original password protection is weak enough to break in minutes, and the browser tool does not add a password at all. For confidential files, use 7-Zip's AES-256 encryption or a password-protected PDF, and send the password by a different channel.
- Big archives: a standard zip holds up to 4 GB and 65,535 files. Past that it needs the Zip64 extensions; 7-Zip and the command-line zip tool write them automatically.
Unzipping on the other end
The zip opens anywhere: a double-click on Windows or Mac, a tap in the Files app on a phone. It uses only Deflate and Stored, the two methods every extractor supports, and each file keeps its original modified date. To check what is inside before sending it, drop it into Unzip Files, which lists every file and verifies each one's checksum as it comes out - or start a new archive in the Zip Files tool.
Frequently asked questions
- How do I zip a folder?
- On Windows 11, right-click the folder and choose Compress to ZIP file; on Windows 10, Send to, then Compressed (zipped) folder. On a Mac, right-click and choose Compress. On Linux, run zip -r name.zip folder. In a browser, drag the folder onto an online zip tool, which keeps its subfolders in the archive.
- Why is my zip file the same size as the original files?
- Because the files were already compressed. Photos, videos, music, most PDFs and Office documents carry their own compression, and Deflate cannot find enough repetition to remove. Zipping them still bundles them into one file, but to make them smaller you need to compress the photos or PDFs themselves.
- Is it safe to zip files online?
- It depends on whether the site uploads them. Many online zip tools send your files to a server to compress them. A browser-based tool that zips files locally, like Zip Files Online, never uploads anything - the files are read and compressed on your own device, and the zip is saved straight to your downloads.