two zippers, one red and one blue, unattached to anything and crossed, zipping into each other

Creating and Opening a Zip or Compressed File

There are times when you need to save or send an entire folder of files. Also, sometimes you need to make a file smaller in file size. Compressing or zipping the file is a way to be able to do both.

In this class you may be asked to submit an assignment that is a folder with HTML, CSS and image files by submitting a compressed file. The instructions for Windows and macOS follow.

Windows Instructions

Creating a Compressed/Zipped File

  1. Locate the file or folder that you want to zip.
  2. Press and hold, or right-click, the file or folder, select (or point to) Send to, and then select Compressed (zipped) folder.

    A new zipped folder with the same name is created in the same location. To rename it, press and hold (or right-click) the folder, select Rename, and then type the new name.

Opening (Extracting) Compressed Files on Windows

If you double click a compressed file in Windows it will open and show you what is inside. But, you can’t save or work with files properly like that. In order to use files in a compressed folder you must extract them.

  1. Right-click on the compressed file
  2. Select Extract All..
  3. All of the compressed files will be recreated in the same location as the compressed file, in the same structure they were when they were compressed.

macOS instructions:

  1. Locate the file or folder that you want to compress.
  2. Right-click the file or folder and then select Compress “folder name” where folder name will be the name of your folder.
image of folder being right-clicked with Compress option highlighted

A new compressed folder with the same name is created in the same location. To rename it, right-click the folder, select Rename, and then type the new name.

image of compressed file being right-clicked with Rename option highlighted

Opening Compressed Files on macOS

macOS is pretty straightforward.

  1. Double click on the compressed file
  2. All of the compressed files will be recreated in the same location as the compressed file, in the same structure they were when they were compressed.