---
title: "Create TAR.GZ File Online: Free & Private - WeConvert"
description: "Create a TAR.GZ archive from your files free. Your files never leave your device. Modified dates are kept, and the same files always give the same archive."
url: "https://weconvert.app/convert/create-tar-gz"
language: "en"
---

> Prices, limits and privacy: https://weconvert.app/llms.txt

# Create TAR.GZ

Files go into the archive side by side, in the order of the list. One file gives name.tar.gz; several give files.tar.gz.

## Questions about Create TAR.GZ

### How does Create TAR.GZ work?

Create TAR.GZ packs your files into one gzip-compressed tar archive, the format Linux servers, developers and many backup tools expect. Files go in side by side, in the order of the list, and each keeps its modified date.

### TAR.GZ or ZIP: which should I make?

ZIP is the safer choice for people on Windows and Mac, who open it with a double-click. TAR.GZ suits Linux servers, software releases and anything that will be unpacked with the tar command.

### What will the archive be called?

One file gives an archive named after it, such as table.tar.gz; several files give files.tar.gz. Two files with the same name are kept apart with a number, like photo (2).jpg.

### Are folders and empty files kept?

The files sit side by side at the top of the archive, without folders around them. Empty files are fine: they're packed as 0-byte files and come out the same way.

### Will the same files always give the same archive?

Yes. Every entry gets the same owner (0) and permissions (644), and the gzip header stores no name or time, so the same files with the same dates give a byte-identical .tar.gz, handy when you compare checksums.

## Related

[All archives](https://weconvert.app/convert/archives)

- [Create ZIP](https://weconvert.app/convert/zip)
- [Extract ZIP](https://weconvert.app/convert/unzip)
- [Extract TAR file](https://weconvert.app/convert/extract-tar)
- [TAR to ZIP](https://weconvert.app/convert/tar-to-zip)
- [TAR.GZ to ZIP](https://weconvert.app/convert/tgz-to-zip)
