How to compress and extract zip and tar.gz files online
Moving a website is much faster as one archive than as thousands of files. The File Manager can unpack an uploaded archive into the current folder and pack files and folders into a new archive.
Extract an archive
- Log in to the control panel (
https://<server>:2083) and open File Manager (section Files). - Go to the folder that holds the archive. Its contents are extracted into this same folder.
- Click Extract in the archive's row.
- Confirm the message. Files with the same names that already exist are replaced.
You see Extracted. If the archive contained a folder, open it to see the files.
Supported archives: .zip, .tar, .tar.gz, .tgz, .tar.bz2, .tar.xz and .gz.
Compress files and folders
- In the File Manager, tick the files and folders to pack.
- Click Compress.
- Enter the archive name. End it with
.zipfor a ZIP file, or with.tar.gzfor a tar.gz file. - Confirm. You see Created <name>. and the archive appears in the same folder.
Click the download icon in the archive's row to save it to your computer.
Good to know
- Extracting replaces existing files with the same names without asking again. Extract into an empty folder if you are not sure: create it with New Folder, move the archive into it, then extract.
- An archive that contains absolute paths or
..is refused (The archive contains unsafe paths). - Archives count toward your disk space. Delete them when you no longer need them.
- If the account is full, extracting or compressing fails with a disk quota message. See what uses your disk space.
Common questions
Why does my website show a folder inside public_html after extracting?
The archive contained a folder. Open it, select everything, click Move and enter public_html as the destination.
Can I extract a .rar or .7z file?
No. Repack it as .zip or .tar.gz on your computer first.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- How to upload files to your website with the File Manager
Upload website files from your browser with the File Manager, replace existing files, and know where your site's files go (public_html).
- How to edit a file online in the File Manager
Open a text file such as .htaccess, wp-config.php or index.html in the File Manager's editor, change it and save it, with the limits that apply.
- How to find what uses your disk space (Disk Usage)
Find the folders and files that fill your hosting account with Disk Usage, drill into folders, see the biggest files and free space safely.