TapToConvert All conversions

Home / Archive Converter / TAR Converter / TAR to GZ

TAR to GZ Converter

Convert a TAR file to GZ right here in your browser. Nothing is uploaded: the conversion runs on your own device, so it is private, has no file size limit set by a server and works offline once the page has loaded.

Drop files hereChoose TAR files Nothing is uploaded. Any size your device can handle.

Add a file from a URL

The file is fetched by your browser straight from that website, not through our servers. It works when the site allows other websites to download its files.

Settings

Add files to begin.

    What happens when you convert TAR to GZ

    • The TAR is compressed with gzip in your browser exactly as it is, so every file and folder inside it keeps its name, date and permissions. Nothing is uploaded.
    • A GZ file holds one file, so the TAR goes inside it whole, and the result is saved as .tar.gz, the usual name for a gzip file that holds a TAR archive.

    How to convert TAR to GZ online

    1. Press "Choose TAR files" and select one or more files, or drag them onto the box. You can add files of any size your device can hold in memory.
    2. There are no settings to choose: the converter keeps everything the target format can hold.
    3. Press "Convert to GZ". Nothing large needs to download: your browser compresses the file itself, in a moment for most files.
    4. Save each GZ with its download button. Close the tab and every trace of the files is gone from memory.

    Why convert TAR to GZ?

    TAR files usually come from software source code and Linux and Mac backups. People convert them to GZ because gzip is the standard compression on Linux and Mac servers, and every command line and archive program unpacks it.

    In short, TAR is good at what it was made for, and GZ is the more practical choice when the file has to open, upload or print somewhere else. TAR opens natively on macOS and Linux, and with tar or 7-Zip on Windows, while GZ opens natively on macOS, Linux and Windows 11 since its 2023 update, and with 7-Zip on older Windows.

    How to convert TAR to GZ on Windows, Mac, iPhone and Android

    On Windows

    Open this page in Chrome, Edge or Firefox, drag your TAR files in from File Explorer, and press Convert. Each GZ is saved to your Downloads folder.

    On a Mac

    Safari, Chrome and Firefox all work. Drag the TAR files from Finder onto the drop zone and the GZ files land in Downloads.

    On iPhone and iPad

    Open the page in Safari and tap Choose TAR files. You can pick from Photos or from the Files app. The converted GZ appears in Files, in the Downloads folder.

    On Android

    Open the page in Chrome, tap Choose TAR files and pick them from Files or your gallery. The GZ is saved to the Download folder, where any file manager can find it.

    Best settings for TAR to GZ

    There is nothing to set: every file in the TAR is copied into the GZ as it is.

    Large archives are unpacked into your browser's memory, so very big ones, several gigabytes, are better handled by a desktop program such as 7-Zip. Archives split into several parts (.part1.rar, .part2.rar) need all parts, which this tool does not join.

    TAR vs GZ: the differences

    TARGZ
    Full nameTape archiveGzip-compressed file
    Typearchivearchive
    Created byUnix developers at Bell LabsJean-loup Gailly and Mark Adler, for the GNU project
    First released19791992
    CompressionLosslessLossless
    What it holdsfiles and folders joined end to end, without compressionone file compressed with gzip, often a TAR archive of many files
    In a browseropens natively on macOS and Linux, and with tar or 7-Zip on Windowsopens natively on macOS, Linux and Windows 11 since its 2023 update, and with 7-Zip on older Windows
    Common usessoftware source code and Linux and Mac backupscompressed logs, database dumps and downloads, and Linux software as .tar.gz
    MIME typeapplication/x-tarapplication/gzip

    About TAR and GZ files

    What is a TAR file?

    A TAR file bundles files without compressing them; it keeps Unix permissions and folder structure. It is usually compressed again with gzip, giving a .tar.gz or .tgz file.

    What is a GZ file?

    Gzip compresses a single file, not a folder. That is why folders are packed into a TAR first and then gzipped, giving .tar.gz, and why a plain .gz holds exactly one file, usually named like the .gz without its extension.

    TAR to GZ not working? Common problems

    • The archive will not open. It may be password protected, damaged, or one part of a multi-part archive.
    • The browser tab stops on a big archive. Everything is unpacked in memory; very large archives are better handled by 7-Zip or The Unarchiver.
    • Files have odd names. Archives made on some older systems store names in a local character set; the files themselves are intact.

    Convert TAR to GZ from the command line

    gzip, built into Mac and Linux, compresses the TAR as it is:

    gzip -c input.tar > output.tar.gz

    The converter on this page does the same job in your browser, without installing anything.

    TAR to GZ converter FAQ

    Will I lose quality converting TAR to GZ?

    No. Archives are lossless: every file comes out byte for byte identical.

    Why is the GZ a different size from the TAR?

    Smaller than the TAR, often by half or more for text and documents; files that are already compressed, such as photos and videos, hardly shrink.

    Are my TAR files uploaded anywhere?

    No. The conversion runs inside this browser tab using your browser's own gzip compression, so your files stay on your device. You can disconnect from the internet after the page and converter engine have loaded and it still works.

    Can I convert several TAR files to GZ at once?

    Yes. Select or drop as many files as you like; they are converted one after another and each gets its own download button.

    How do I open a GZ file?

    GZ opens natively on macOS, Linux and Windows 11 since its 2023 update, and with 7-Zip on older Windows. GZ is common for compressed logs, database dumps and downloads, and Linux software as .tar.gz.

    Is this TAR to GZ converter free?

    Yes. There is no sign-up, no watermark and no limit on how many files you convert. The site is paid for by advertising, and because conversions run on your device there is no server cost per file.

    Can I convert TAR to GZ on my phone?

    Yes. The converter works in Safari on iPhone and iPad and in Chrome on Android. Converted files are saved to the Downloads folder.

    Convert TAR to other formats

    Convert other formats to GZ

    Looking for something else? Try the archive converter or browse every conversion.

    Try MP4 to MP3, HEIC, merge PDF or compress video.