> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/websites/file-manager/archives.md).

# Extract and Create Archives

Extract .zip and .tar archives on your website, or pack files and folders into a .zip or .tar.gz, with File Manager in hPanel.

Archive actions run on the server right away and don't need a deploy.

## Extract an archive

{% stepper %}
{% step %}

### Upload the archive

[Upload](https://docs.hostinger.com/websites/file-manager/upload-files.md) the archive to the folder where its contents should go — usually `public_html`.
{% endstep %}

{% step %}

### Extract it

Right-click the archive and choose **Extract here**.

<figure><img src="https://2590163678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJZo6eXGMjwp7EOibdxJ6%2Fuploads%2Fgit-blob-bdfacfa93164b391e87a0dc6fd047debe414f281%2Fextract-here.png?alt=media" alt="Right-click menu on a .zip file with Extract here highlighted"><figcaption></figcaption></figure>

The contents are extracted into the same folder as the archive.
{% endstep %}

{% step %}

### Delete the archive

Once the files are in place, delete the archive so it isn't publicly downloadable — see [Delete](https://docs.hostinger.com/websites/file-manager/manage-files.md#delete).
{% endstep %}
{% endstepper %}

**Extract here** works with `.zip`, `.tar`, `.tar.gz` (`.tgz`), `.tar.bz2` (`.tbz2`), `.tar.xz` (`.txz`), and `.tar.zst` (`.tzst`) files.

> **Tip:** If your files end up one folder too deep — for example, `public_html/my-site/index.html` — the archive contained a top-level folder. Move its contents up into `public_html`, or zip the files themselves rather than the folder that holds them.

## Create an archive

1. Right-click a file or folder and choose **Archive…**.
2. Enter a name and pick **.zip** or **.tar.gz**.
3. Click **Create**.

<figure><img src="https://2590163678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJZo6eXGMjwp7EOibdxJ6%2Fuploads%2Fgit-blob-8b2b37a5af4a8fe21ae5d56f8f48c4e7d57fb6e4%2Farchive.png?alt=media" alt="Archive dialog for the css folder with .zip selected"><figcaption></figcaption></figure>

The archive is saved in the same folder. To download a folder as a ZIP straight away, right-click it and choose **Download as ZIP**.

***

*Last updated: November 3, 2026*
