JAR to TAR.GZ

Nothing you choose here leaves your browser, and nothing is downloaded to make it work — not a library, not a compression module, nothing. Your browser already knows how to deflate and gzip; this page writes the tar.gz around it.

…or drop one anywhere on this page.

A Java archive repacked as a tar.gz.

The usual reason is that something on a Unix machine wants a tar.gz and will not take a ZIP. The files are the same; only the container changes.

How this works, and why nothing is fetched

A JAR is a ZIP, so there is nothing to decompress that your browser cannot already do: it needs deflate for web pages and this uses the same thing through DecompressionStream. Writing the archive round it is a byte layout rather than an algorithm.

What it will not do

It will not open a RAR, and nothing ever writes one: RARLAB's licence forbids using their code to re-create the RAR algorithm, which is proprietary. That is a legal restriction and not a difficulty. It will not open a 7z, bzip2 or xz either — those need compressors your browser does not have, so supporting them would mean shipping one, which is the thing this page avoids. It says which of these it is looking at rather than just refusing.

It does not open password-protected archives, and it says so per file rather than failing silently. It reads plain ZIPs rather than ZIP64, so an archive over 4 GB or with more than 65,535 files is refused with that reason given.

Where to go next