Skip to content

TAR to GZ converter

Convert a TAR into a GZ right here on the page. A .gz holds one file made smaller. The practical difference is that the result opens anywhere, which TAR files do not. Your file never leaves your computer.

Need the other direction? Convert GZ to TAR

How to convert TAR to GZ

  1. 1 Drop your TAR .tar file onto the page, or click to browse for it.
  2. 2 Check the options. Nothing is thrown away on the way to GZ, so there is no quality dial to set.
  3. 3 Convert. The work happens on your own machine, so how long it takes depends on your computer and the file.
  4. 4 Download the GZ, or add more files and do the whole set in one go.

Why convert TAR to GZ

  • A TAR will not open in a browser, so anything going onto a web page, into a document or into a message has to become a GZ first.
  • Very fast to compress and decompress, with modest memory use.
  • Decoded natively by every browser as part of HTTP transfer encoding.
  • Database dumps and other large single-file exports.
  • TAR: extracting one file from a compressed tar requires decompressing up to it.

TAR compared with GZ

How the two formats differ on the things that decide whether a conversion is worth making.

TAR compared with GZ
PropertyTARGZ
File extension.tar.gz
CompressionUncompressedLossless
Multiple pagesYesNo
Colour depth512-byte headers, no compression, POSIX ustar and GNU variantsDEFLATE (LZ77 plus Huffman), CRC32 integrity trailer
Typical file sizeLargestLarger
Browser supportNo browser supportEvery browser
Introduced19791992
Developed byAT&T Bell Labs, later POSIXJean-loup Gailly and Mark Adler

Quality and what changes

Both sides are lossless, so every pixel survives the trip intact and converting back returns the same image. What changes is the size and what the file can carry: GZ compresses the same data with a different algorithm, so the size can move in either direction.

  • A multi-page TAR produces one GZ per page.
  • One GZ limitation to keep in mind: newer compressors make clearly smaller files.

Questions about TAR to GZ

What happens to a multi-page TAR?

GZ holds one page, so each page becomes a separate file and you get the set as a ZIP. Nothing is discarded, it just cannot stay in a single document.

Is my TAR file uploaded anywhere?

No. The whole thing runs inside the browser tab you already have open. Your TAR is read straight from your own disk, converted on your machine and handed back as a GZ. Nothing is sent anywhere, nothing is stored and there is no account.

Is there a file size limit?

There is no server-side limit because no server sees the file. The real ceiling is your device memory, since the input and the output both have to fit in the tab. A few hundred megabytes is usually fine on a desktop machine and considerably less on a phone.

Can I convert several TAR files at once?

Yes. Add as many as you like and they are processed one after another, then offered as separate GZ downloads or as a single ZIP. Speed depends on your own processor rather than on a queue.

Does the converter work offline?

Yes, after the page has loaded once. The engine is cached by the browser, so you can disconnect, reload and keep converting. That falls out of doing the work locally rather than being a separate mode you switch on.

Related conversions

Format references