Create TAR.GZ

Bundle files and whole folders into a .tar.gz (or plain .tar) archive right in your browser. Folder structure is kept, long and non-English file names are supported, and the output opens with tar on Linux, macOS and Windows — your files never leave your device.

Drag and drop files or folders, or click to choose files

Folders keep their structure inside the archive

The archive is built and compressed in your browser. Files are never uploaded.

Usage examples

Packing a project folder for a Linux server

Drop a website or source folder, create site.tar.gz, upload it with scp, and unpack it on the server with tar -xzf site.tar.gz — the folder tree comes back exactly as it was.

Sending many small files as one download

Hundreds of logs or CSV exports compress far better as a single gzip stream than one by one, so a .tar.gz is often noticeably smaller than a ZIP of the same text files.

Preparing an upload that requires .tar.gz

Some hosting panels, package registries and data-submission portals only accept .tar.gz. Build one here on a Windows or Chromebook machine without installing command-line tools.

Making an uncompressed .tar for already-compressed media

Photos, videos and ZIP files barely shrink under gzip. Choose .tar to bundle them quickly into one file without spending time on compression.

Archiving files with non-English names

File names such as 보고서.pdf or 写真.jpg are stored as UTF-8, and paths longer than the classic 100-character limit are written with a standard pax header so they extract intact.

Quick reference

ustar header block (512 bytes)

FieldOffset (bytes)Length (bytes)Contents
name0100File path (last part if a prefix is used)
mode1008Permission bits in octal (e.g. 0000644)
uid1088Owner user ID in octal
gid1168Owner group ID in octal
size12412File size in bytes, octal
mtime13612Modification time, Unix seconds in octal
chksum1488Header checksum in octal
typeflag1561Entry type: 0 file, 5 directory, x pax header
linkname157100Link target (for links)
magic2576"ustar" followed by NUL
version2632"00"
uname26532Owner user name
gname29732Owner group name
devmajor3298Device major number (device files)
devminor3378Device minor number (device files)
prefix345155Leading directories of a long path

Frequently asked questions

Are my files uploaded anywhere?

No. The tar archive is assembled in your browser and compressed with the browser's built-in CompressionStream API. Your files never leave your device; only the archive name and format you chose are remembered here.

How do I extract a .tar.gz file?

On Linux and macOS run tar -xzf archive.tar.gz in a terminal (macOS can also open it by double-clicking). Windows 10 and 11 include tar too, so the same command works in Command Prompt or PowerShell, and tools like 7-Zip can open it as well.

What's the difference between .tar.gz and .zip?

A .tar.gz first joins all files into one tar stream and then gzips the whole stream, so similar files can share compression and the result is often smaller. A ZIP compresses each file separately, which lets you extract one file without reading the rest. Unix tools and servers usually expect .tar.gz.

Which tar format does this tool write?

It writes the POSIX ustar format with 512-byte headers. Paths up to 100 bytes go in the name field, longer ones are split into a 155-byte prefix plus name, and anything still too long gets a pax extended header with the full path. Folders are added as directory entries before their files.

Are file permissions and timestamps preserved?

Each file keeps its last-modified time. Browsers don't expose Unix permissions or owners, so files are stored as 644 (rw-r--r--) and folders as 755 with owner ID 0; mark scripts executable again with chmod +x after extracting if needed.

Can I choose the compression level?

No. The browser's gzip implementation uses its default level and doesn't offer a setting. The ratio is typically close to running gzip with default options; text files shrink a lot, while JPEG, MP4 or ZIP files hardly shrink at all.

Is there a size limit?

A single ustar entry can hold up to 8 GiB (the size field is 11 octal digits). In practice the limit is your browser's available memory, because the finished archive is held in memory until you download it. Empty folders are not included, since only folders that contain files are recorded.