Loona Automation logoLoona Developer Tools
Home › Developer Tools › TAR File Creator

TAR File Creator - Make a .tar Archive from Your Files

In short: the TAR File Creator bundles any set of files into a single standard .tar archive using a spec-correct ustar writer in your browser - add files, optionally group them in a folder, and download.

TAR is still the lingua franca of Linux, servers and backups - but Windows users who need to produce a tarball usually have to install something first. This page writes genuine TAR archives in your browser: proper ustar headers, checksums and timestamps, built on your device with nothing uploaded.

Drop files here or click to choose files from your device

Remember: TAR does not compress. The .tar will be about the size of all the files added together (rounded up to 512-byte blocks). Need it smaller? Run the result through the GZIP Compressor afterwards, or use the ZIP File Creator instead.

Private by design: everything in this tool happens 100% in your browser with JavaScript. Your files are never uploaded to a server, never stored and never seen by us - close the tab and everything is gone. One honest limit: the conversion happens in your device's memory, so very large archives (hundreds of megabytes) can be slow or fail on a low-memory phone.

How to use the TAR File Creator

  1. Drop your files onto the box above, or click it and pick files from your device. You can add files in several rounds.
  2. Check the list - remove anything added by mistake, and watch the total size.
  3. Optionally type a folder name so every file sits inside one folder in the archive, and give the TAR a name.
  4. Click Create TAR & Download. The .tar opens with tar on Linux/macOS, and with 7-Zip or WinRAR on Windows.

How it works

A TAR archive is a stream of records: for each file, a 512-byte ustar header block (file name, size in octal, modification time, a checksum of the header itself, the 'ustar' magic, and a prefix field that lets paths run longer than 100 characters - with GNU longname entries for paths beyond even that), followed by the file's contents padded to a whole number of 512-byte blocks. Two zero blocks close the archive. This page implements that format directly - no library, no server - and the writer was verified by having Python's tarfile module read its output back byte-for-byte. TAR stores files uncompressed, so the archive is the sum of its parts; compression is a separate step (that is what .tar.gz adds).

Worked example

You add three files: deploy.sh (1 KB), config.yml (3 KB) and logo.png (48 KB), with the folder name set to 'release'. The tool produces release.tar - or your chosen name - holding a release folder with all three files, each keeping its real modification time. At 52 KB of content the TAR comes out at about 54 KB: the files themselves, three headers and padding, with no compression - exactly what tar would produce on Linux.

Frequently Asked Questions

Is this TAR file creator free?

Yes - free, no sign-up, no limits and no watermarks.

Are my files uploaded to a server?

No. The TAR is written by JavaScript running in your browser, on your device. Your files never leave it.

Why is the TAR the same size as my files - or a little bigger?

TAR does not compress anything; it only bundles. Each file also adds a 512-byte header and is padded to a 512-byte boundary, so the archive is slightly larger than the raw total. For a compressed tarball, create the TAR here and then run it through the GZIP Compressor - that is literally how .tar.gz is made.

Will Linux and GNU tar accept archives made here?

Yes. The writer follows the ustar specification - correct octal fields and header checksum, the ustar magic, prefix splitting for long paths and GNU longname entries for very long ones - and its output was verified by reading it back with Python's tarfile module during testing.

Can I add files to an existing TAR or make a .tar.gz directly?

Not in this tool - it creates a fresh archive each time. To turn an existing ZIP into a .tar.gz in one step, use the ZIP to TAR.GZ Converter; to compress this TAR into a .tar.gz, use the GZIP Compressor afterwards and rename the result to .tar.gz.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.