The simplest way to zip a single file

To turn a file into a zip, right-click the file on your computer, look for an option that says "Compress" or "Send to" → "Compressed (zipped) folder", and click it. Windows and Mac both do this without installing anything. A new file with the same name plus .zip at the end appears in the same folder. The original file stays where it was — the zip is a copy.

On Windows 10 and 11, right-click the file, then select "Compress to ZIP file" or "Send to" → "Compressed (zipped) folder". On Mac, right-click and select "Compress". On Linux, the method depends on your file manager, but most let you right-click and choose "Compress" or "Create Archive".

The zip file is usually smaller than the original, though how much smaller depends on what kind of file it is. Text files shrink a lot. Photos and videos shrink very little because they are already compressed. Either way, the zip works the same.

Key Takeaways

  • Right-click any file and select "Compress" or "Send to" → "Compressed (zipped) folder" to create a zip without extra software.
  • The zip file appears in the same folder as the original and has the same name plus .zip at the end.
  • The original file is not deleted or changed — the zip is a separate copy.
  • How much smaller the zip is depends on the file type; text shrinks more than photos or videos.

Windows: Using the built-in right-click menu

On Windows 10 and 11, the fastest way is the right-click menu. Find the file you want to zip, right-click it, and look for "Compress to ZIP file" near the top of the menu. Click it. Windows creates a zip in the same folder with no dialog boxes or extra steps.

If you do not see "Compress to ZIP file", your version of Windows may use "Send to" instead. Right-click the file, hover over "Send to", and click "Compressed (zipped) folder". Either way, a zip appears next to the original file within a few seconds.

The zip file gets a name like "myfile.zip" if the original was "myfile.txt". You can rename it by right-clicking the zip and selecting "Rename", then typing a new name. The .zip part must stay at the end or Windows will not recognize it as a zip.

Mac: Using the Compress option

On Mac, right-click the file and select "Compress [filename]" from the menu. A zip file appears in the same folder within a second or two. The zip has the same name as the original plus .zip — so "document.pdf" becomes "document.zip".

If you want to change the zip's name, click it once to select it, press the spacebar to open Quick Look, then press Escape and right-click the file to rename it. Or straightforward right-click the zip, select "Rename", and type the new name. Keep the .zip at the end.

Mac's built-in compression is fast and needs no setup. The zip opens on Windows, Linux, and other Macs without any trouble.

Linux: Using your file manager or the command line

On Linux, the method depends on which file manager you use. In most graphical file managers (like Nautilus, Dolphin, or Thunar), right-click the file and look for "Compress", "Create Archive", or "Compress Files". Click it, choose "ZIP" as the format if asked, and the zip appears in the same folder.

If you prefer the command line, open a terminal, navigate to the folder holding the file, and type zip filename.zip originalfile.txt (replacing "originalfile.txt" with the actual file name). Press Enter. The zip is created when ready.

The command-line method is faster if you are zipping many files at once. For a single file, the right-click method is simpler if your file manager supports it.

What happens when you unzip the file later

When you or someone else opens the zip file, the computer extracts the original file back out. On Windows, double-click the zip and click "Extract All". On Mac, double-click the zip and it extracts automatically. On Linux, right-click and select "Extract" or use the command unzip filename.zip in a terminal.

The extracted file is identical to the original — nothing is lost or changed during compression. The zip itself stays in the folder unless you delete it. You can keep both the zip and the extracted file, or delete the zip once you have extracted what you need.

When a zip file is smaller and when it is not

Text files, Word documents, and spreadsheets compress well — a zip might be 50 to 80 percent smaller than the original. Photos taken on a phone or camera compress very little because they are already compressed inside the image file. A JPEG photo might be only 5 to 10 percent smaller as a zip. Videos are the same way.

Even when the zip is only slightly smaller, it is still useful for sending files by email or storing them on a shared drive, because the zip is one file instead of many, and it is faster to read. The size difference matters less than the convenience.

Frequently Asked Questions

Can I zip a file that is already a zip?

Yes. You can zip a .zip file just like any other file. The result is a zip inside a zip, which is rarely useful. Most people do not do this because it adds an extra step when someone wants to open the file.

Does zipping a file change the original?

No. The original file stays exactly as it was. The zip is a separate copy. You can delete the original, keep the original, or delete the zip — they are independent.

What if the file is too large to zip?

Zip has no real size limit on modern computers. Very large files (several gigabytes) take longer to compress, but they will zip. If you are sending the zip by email, your email provider may have a size limit — usually 20 to 25 megabytes. In that case, you need a file-sharing service instead.

Can someone on a different computer open my zip file?

Yes. Zip is a standard format that works on Windows, Mac, Linux, and most phones. Anyone can extract your zip file no matter what computer they use.

Why is my zip file almost the same size as the original?

Some file types are already compressed — photos, videos, and audio files compress very little because the data inside them is already squeezed down. Text and documents compress much more. This is normal and not a problem.