How to Use 7-zip to Compress Files

An archive is a file, which contains other files and their metadata. The advantages of an archive file are saved space and its portability.
This tutorial shows you how to use 7-Zip in order to create an archive and how to uncompress it.

What you’ll need

Before you begin this guide, you’ll need the following:

Step 1 — Using 7-Zip to Compress Files

7-Zip has a user-friendly interface, so it’s very easy to use even for novice users. In order to create an archive with 7-Zip,
you’ll need to follow these simple steps:

  1. Open 7-Zip application.
  2. Access the file(s) that you want to compress. Select them (you can select multiple files by holding SHIFT key) and hit Add.
    Using 7-Zip to Compress Multiple Files
    A window with various settings will appear. Explanations of the main parameters:
    Compression Settings

    • Archive: choose the name of your archive file.
    • Archive format: choose the format of the archive. Available formats are 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM. 7zip (7z) is recommended due to its high compression rate. However, this format is has a low compatibility with other services.
    • Compression level: choose how much you would like to compress the files. Compression time increases with compression level. The presets range from Store (fastest compression) to Ultra (slowest compression, most space saved).
    • Split to volumes, bytes: you can split your archive into parts. This can be useful when transferring huge archives. For example, if you are trying to burn 2 GB of files to a CD, you can tell 7-Zip to split the archive every 650Mb. It will create several smaller archives. Single smaller archive will not exceed the specified size (in our situation 650MB). However, uncompressing the files will require all the smaller archives.
    • Encryption: you can set a password for your archive. Then the files can be extracted with password only.
    • For Compression method leave default LZMA option as it is considered to be the best.
  3. Once all your settings are set, click OK to create the archive. The archive file will appear in the same location as the original file(s).
    Archived created with 7-Zip

Step 2 — Uncompressing files with 7-Zip

To uncompress the files, right-click on the archive and choose 7-Zip -> Extract Here option.

Uncompressing Files

Files will be extracted to the same directory as the original archive.


Now you know how to use 7-Zip to compress and uncompress files. 7-Zip is a software for Windows OS; Linux users can use a command line version of 7-Zip called p7zip. The alternative for Mac users is keka.

About the author

Edvinas B.

Edvinas mentors and trains every new customer support agent at Hostinger. When he's not teaching new guys the secrets of providing an exceptional service, he likes to travel the world and play basketball.

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get Exclusive Content

Join thousands of webmasters who get our free newsletter with tips on how to drive more traffic and revenue to their websites!

Please wait...

Thank you for sign up!

More in Other
How to Use Hostinger