How to compress and extract ZIP files in cPanel File Manager

Category: cPanel

Compressing and extracting ZIP files from cPanel File Manager lets you upload a full bundle of your site (for example a CMS, a theme, or a plugin) and unpack it in a single step, or create a ZIP of a folder to download it without FTP. The key is to always extract into the correct folder: if you unpack in the wrong place you can mix files or overwrite your live site.

Before you start

  • Have your cPanel access ready (your hosting panel).
  • Identify the target folder, normally public_html or your domain’s document root.
  • Make a backup before replacing existing files so you can roll back if something goes wrong.

Steps

  1. Log in to cPanel and open File Manager.

    Find File Manager in cPanel

  2. If you don’t see the right folder, open Settings (top right) and confirm you are starting from Web Root (public_html or www); turn on Show Hidden Files (dotfiles) if you need to see items like .htaccess.

    Confirm Web Root in File Manager Settings

  3. Browse to the target folder, for example public_html or your domain root.

  4. To extract: use Upload to add your .zip file (or select one already in the folder), then select it and click Extract in the toolbar.

    Select the ZIP file and use Extract

  5. In the Extract window, confirm the destination path shown before you click Extract Files, so you don’t unpack into the wrong folder.

    Confirm the destination path before extracting the ZIP

  6. To compress: select the file or folder you want to bundle, click Compress, choose Zip Archive, and click Compress Files; you can then select the ZIP file and use Download.

    Choose Zip Archive before compressing

Final verification

  • The extracted files appear inside the correct target folder, not in an unexpected subfolder.
  • The .zip file you created shows in the list with its size and you can download it.
  • Your site loads normally after extracting, with no duplicate files or broken paths.

Common errors

  • Files extract into an extra subfolder → the ZIP already included its own root folder → move the contents up one level or extract again pointing to the correct folder.
  • The extraction replaced your live site files → you extracted over public_html without a backup → restore from your backup and extract into a test folder first.
  • The Extract or Compress button doesn’t appear → you don’t have a single item selected or the format isn’t supported → select the file or folder and use a standard Zip format.

Still need help?

If this guide didn’t solve your issue, our team can help you via ticket.