How to compress and uncompress files and folders from the File Manager

This article explains how to compress and uncompress files and folders from the cPanel File Manager, without installing additional programs on your computer.

Common formats: cPanel mainly allows compressing and extracting .zip files. For other formats (.rar, .7z), uncompress first on your PC and upload the contents.

Accessing the File Manager

  1. Log in to cPanel from the client portal.
  2. Go to Files → File Manager.
  3. Navigate to the folder where you want to work (e.g., public_html).

Compressing files or folders

  1. Select one or more files/folders (Ctrl + click for multiple selection).
  2. Click on Compress in the toolbar.
  3. Choose the Zip Archive format.
  4. Specify the .zip file name and the folder where it will be saved.
  5. Confirm the operation.

You can also right-click on the selection → Compress.

Useful for: quickly backing up a folder, migrating a small site, or reducing files before downloading them.

Uncompressing a .zip file

  1. Locate the .zip file in the File Manager.
  2. Right-click on the .zip → Extract.
  3. Specify the destination folder (e.g., public_html or a subfolder).
  4. Click on Extract File(s).

Extraer archivo comprimido en cPanel

Common scenario: uploading an entire site

The File Manager does not allow uploading entire folders, but it does allow .zip files:

  1. Compress the site on your PC (.zip).
  2. Upload it using Upload.
  3. Extract it in public_html.
  4. Verify that index.html or index.php exists in the web root.

Subir archivo zip en Administrador de archivos

Frequent issues

  • Extraction failed: the .zip may be corrupt or exceed plan limits; try uploading it again or extract via FTP.
  • I can't see the extracted files: check the destination path chosen during extraction.
  • The site doesn't load after uncompressing: an extra subfolder may have been left (e.g., public_html/mysite/index.html); move the content to the correct root.
  • Disk full: an uncompressed .zip takes up more space; check your quota before extracting large files.

If compression or extraction fails repeatedly, open a ticket from the client portal or consult via the site's online chat.

  • como comprimir descomprimir archivos
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to connect and upload files using FTP-FileZilla

This article explains how to upload files via FTP to your hosting plan using the free FileZilla...

I cannot publish files within my service

This article helps you troubleshoot when you cannot upload or publish files on hosting with a...

Anonymous FTP Precautions

This article describes the security and usage precautions of anonymous FTP in a cPanel hosting...

FTP folder utilities

This article explains the meaning of each folder in your hosting account when connecting via FTP...

Creating and managing FTP accounts

This article explains how to create and manage additional FTP accounts in cPanel to grant...