TAR Creator
Builds a ustar archive, optionally gzip-compressed on this page.
About this tool
Paths that contain .. are rejected. The work stays in this browser.
Only the ustar name field is written. Very long paths are truncated.
How to use it
- Open this page and provide the input it asks for.
- Set the options that are visible, then use Create TAR.
- Read the result in the panel. Copy it or download it when a file is offered. The input stays in this browser.
Limitations
- Only the ustar name field is written. Very long paths are truncated.
Writing ustar headers, then an optional gzip shell
ustar by itself does not shrink the payload
The checkbox labeled Gzip this tar starts unchecked. With it off, the download is a ustar archive and the status says so. Each chosen file becomes a member. The header is 512 bytes. The name occupies the first 100 bytes of that header and is cut there, so a very long path is truncated. The mode written is 644, the user and group ids are zero, the modification time is zero, and the type flag is a regular file. The magic identifies ustar. The file bytes follow, padded out to a 512-byte boundary. After the last member, two 512-byte zero blocks end the archive. None of that compresses the payload. The size is roughly the files plus the headers.
Turning the wrapper on
Check the box and the finished ustar bytes are passed through gzip as a second step. The gzip header records the tar’s file name. The download type is gzip, and the file name gains .gz, so a single input that would have been notes.tar becomes notes.tar.gz, and several inputs become archive.tar.gz. The status line says the result is a gzip-compressed tar. The level used for that gzip call is the library default, because no level is passed. Unchecking the box leaves you with the bare ustar file, which a tar reader can open without a gzip step.
Names and collisions
The same path rules apply as on the other packers. A .. segment is rejected. Backslashes become slashes. The member name is the file name from the picker, not a directory you browsed. The ustar prefix area is not filled in to save names longer than 100 characters. Those names are simply cut. If two files truncate to the same 100-byte name, you have a collision in the archive. Prefer short names. One input uses that file’s name plus .tar. Several inputs use archive.tar, before any .gz suffix. Empty selections are rejected. This builder does not read an existing tar and add to it. Each run writes a new archive from the files you picked.
Privacy
Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.

