TAR Creator

Create a .tar or .tar.gz archive from your files and folders — the standard format on Linux and macOS servers — without installing anything.

Drop files or folders here

or click to choose files — they stay on your device

● Your files are processed locally in your browser and are not uploaded to our servers.

How to create a TAR file online

  1. Drop your files, or click Add a whole folder to include a folder with all its subfolders.
  2. Give the archive a name.
  3. Choose the format: .tar.gz (compressed, recommended) or .tar (no compression).
  4. Click Create TAR and download the archive.

The folder structure is kept, so the archive extracts exactly like the original. Everything happens in your browser: your files are not uploaded.

TAR, TAR.GZ or ZIP?

FormatCompressionBest for
.tarNone — files are only groupedFiles that are already compressed (photos, videos), or when speed matters
.tar.gz (.tgz)The whole archive is compressed with GZIPLinux and macOS servers, source code, backups, Docker and deployment tools
.zipEach file compressed separatelySending files to Windows users — create one with the ZIP Creator

Because .tar.gz compresses everything together, it is often smaller than a ZIP of many small text files. Opening a single file inside it, however, means reading the archive from the start.

Create a tar file with the command line

GoalCommand (Linux, macOS, Windows 10/11)
Create a .tar from a foldertar -cvf archive.tar folder/
Create a .tar.gztar -czvf archive.tar.gz folder/
Without the parent folder in the pathstar -czf archive.tar.gz -C folder .
List the contenttar -tzf archive.tar.gz
Extracttar -xzf archive.tar.gz

The letters mean: c create, x extract, t list, z gzip, v verbose (show the files), f file name. Windows 10 and 11 include the tar command in Command Prompt and PowerShell; this online tool is the easiest option when you don't want to use a terminal.

Technical details

FAQ

How do I open a tar.gz file?

With the TAR Extractor, with 7-Zip on Windows, by double-clicking on macOS, or with tar -xzf in a terminal.

Does TAR compress files?

No, a plain .tar only groups files. Choose .tar.gz to compress, or compress an existing file with the GZIP Compressor.

Are file permissions kept?

Files get the standard permissions 644 (read and write for the owner, read for everyone else), because browsers don't have access to the original permissions. Set them again after extracting if needed (for scripts: chmod +x).

Are my files uploaded?

No. The archive is created on your device and downloaded directly.