Create TAR Archive
Create a ustar-format TAR archive from one or more files. Optionally gzip it to a .tar.gz for smaller downloads.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Drop files here, or browse
Files stay on your device.
Ctrl+V to paste an image
Options
Drop files above to begin
Your files are processed on this device and never uploaded.
How it works
What comes out of the packer
Drop one or more files and this tool writes a POSIX ustar TAR stream: a 512-byte header per file, the file bytes, zero padding to a block boundary, and two empty blocks at the end. You get a .tar download served as application/x-tar, with stats for file count and input and output bytes.
Adding gzip on top
The Gzip switch sends the finished TAR through fflate and rewrites the download name: archive.tar becomes archive.tar.gz, and any other name gets its extension replaced. Compression pays off for text and logs and barely helps with files that are already compressed, such as JPEGs.
A concrete reason to build a tarball
Reach for it when a Linux server, a build script or a colleague expects "tar xf" input, or when a directory tree should travel as one file instead of a folder of loose documents. The Archive name option sets the downloaded filename and, with gzip, the extension.
Limits worth knowing
Entry names are clipped to 99 bytes, so deep paths are truncated, and only regular files are stored — empty directories get no entry. Paths that are absolute, carry a drive letter, or contain empty, dot or traversal segments are refused, so no entry can escape the archive root.
Built in your browser
Every byte is assembled on your device; no file is uploaded and no request is made. You can archive private documents on a plane, and it keeps working with the network off.
Questions
What is the difference between .tar and .tar.gz?
A .tar file is the archive itself: headers plus the raw file bytes with no compression. Tick Gzip and the whole archive is compressed with gzip, giving a .tar.gz that is normally much smaller for text but barely smaller for files that are already compressed, such as JPEGs.
Why is a very long path truncated?
The ustar format stores entry names in a 100-byte field, so a name is clipped to 99 bytes plus a terminator. Deeply nested paths can therefore lose their tail; flatten the structure before archiving, or use a pax or zip tool when long paths must be preserved exactly.
Can the archive contain a path that escapes its root?
No. Absolute paths, drive-letter prefixes and names containing empty, dot or traversal segments are refused before anything is written, so no entry can point outside the archive when it is later extracted.
Are my files uploaded anywhere?
No. The archive is built byte by byte in this tab and the file is handed straight back to you for download. Nothing is transmitted, so it works with a completely private file set and with no network connection.
Related tools
See categoryExtract TAR Archive
Extract regular files from .tar, .tar.gz and .tgz archives.
Create ZIP Archive
Create a ZIP archive from one or more files.
ASAR Archive Inspector
Read an Electron ASAR archive on-device: header size, the file tree encoded in the pickle header, sizes and offsets.
Compressed File Inspector
Identify zstd, xz, bzip2, gzip, lz4 and brotli files and read their headers, sizes and checksums.